libungif.so.4: cannot open shared object file

Elan Ruusamäe glen at pld-linux.org
Tue Jan 6 07:34:43 CET 2009


is there something to do with this?
it has had happened at least twice (likely due libungif/giflib switching).
as it causes really odd faults and hard to trace

and ldconfig run won't fix this, as the libungif is not the soname.

ruby.spec: -- 
# ruby emacs mode - borrowed from FC-4
%if %{with emacs}
install -d $RPM_BUILD_ROOT%{_emacs_lispdir}/{%{name}-mode,site-start.d}

ruby build -- 
+ cp -Rf ruby-uguide guide
+ cp -Rf rubyfaq faq
+ install -d /ruby-mode /site-start.d
install: cannot change permissions of `/ruby-mode': No such file or directory
install: cannot change permissions of `/site-start.d': No such file or directory
error: Bad exit status from /home/glen/tmp/rpm-tmp.83177 (%install)

$ emacs `rpm -E %___emacs_lispdir_helper`
emacs: error while loading shared libraries: libungif.so.4: cannot open shared object file: No such file or directory

$ l /usr/lib/libungif.so.4
ls: cannot access /usr/lib/libungif.so.4: No such file or directory

$ rpm -V ungif giflib
package ungif is not installed
missing     /usr/lib/libungif.so.4

$ rpm -ql giflib|grep /lib
/usr/lib/libgif.so.4.1.4
/usr/lib/libungif.so.4

$ l /usr/lib/libungif.*
lrwxrwxrwx 1 root root  9 2008-09-23 14:04 /usr/lib/libungif.la -> libgif.la
lrwxrwxrwx 1 root root 15 2008-09-23 14:04 /usr/lib/libungif.so -> libgif.so.4.1.4*

$ objdump -p /usr/lib/libungif.so | grep SONAME
  SONAME               libgif.so.4

-- 
glen


More information about the pld-devel-en mailing list