[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ldconfig help...



-- Start of PGP signed section.
> 
> can anyone please give me a hand with this one....
> ldconfig tells me that it can find a bunch fo X libs bit dpkg says that
> I have installed them..
> 
> [bitgate]root ~/downloads $> ldconfig
> ldconfig: warning: can't open /usr/X11R6/lib/libICE.so (No such file or
> directory), skipping

[and so on, and so on]

Probably: Don't worry. It doesn't say it cannot find the X libs, it basically
says your /usr/X11R6/lib/libXaw.so  symlink points to a non-existing
file.

Now, the usr/X11R6/lib/libXaw.so  (and all other .so) symlinks are only
there from the development packages (gcc's linker uses them at link-time,
to create the executable), and not in the "shared library pacakges".


> [bitgate]root ~/downloads $> dpkg -S libXaw.so
> xlib6: /usr/lib/libc5-compat/libXaw.so.6.1
> xcompat: /usr/X11R5/lib/libXaw.so.3.1.0
> xlib6-dev: /usr/X11R6/lib/libXaw.so
> xcompat: /usr/X11R6/lib/i486-linuxaout/libXaw.so.6.0
> xlib6: /usr/lib/libc5-compat/libXaw.so.6

Ah, you've installed th xlib6 from unstable. That would explain it.
your libXaw.so.6.1 library moved to /usr/lib/libc5-compat, but the
.so symlink probably never belonged to any package (don't know, but
I think ld.so used to create them at some point), or it belongs to
the old xlib6-dev package. In eighter case, that .so symlink now
indeeds points to a stale location.

To fix it, you'd have to install xlib6g from unstable (if you didn't
already do so). 

Apparently you didn't encounter any problems when installing xlib6 from
unstable. 
  WARNING: there are bugs in fvwm2, and emacs (from bo) that will cause
  them to segfault upon installing xlib6 from unstable (or was it
  xlib6g?). But the libraries came from unstable, so what do you expect.


To summerise: Unless you want to compile X packages, your current
setup is OK. If you do want to compile X paackages, and absolutely
don't want to brake your system, go back to the xlib6 pacakges from
bo. Otherwise, go for it, and install xlib6g!



-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: