2 problems with shared libraries
Olivier Nicole
on at cs.ait.ac.th
Thu May 24 05:26:51 UTC 2007
Hi,
I have the two following problems:
1)
$ ldconfig -r | grep libqt-mt.so.3
102:-lqt-mt.3 => /usr/X11R6/lib/libqt-mt.so.3
$ ldd colorseg
colorseg:
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x28279000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x282e2000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x28300000)
libdpstk.so.1 => /usr/X11R6/lib/libdpstk.so.1 (0x28323000)
libdps.so.1 => /usr/X11R6/lib/libdps.so.1 (0x2832b000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28374000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x283c7000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x283d7000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x283e0000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x283f8000)
libz.so.1 => /usr/lib/libz.so.1 (0x284f4000)
libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x28507000)
libqt-mt.so.3 => not found
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x2855b000)
libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x28614000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2863a000)
libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x28644000)
libdl.so.2 => /lib/libdl.so.2 (0x28763000)
/lib/ld-linux.so.2 (0x2825a000)
Why libqt-mt.so.3 is not found while it is listed by ldconfig?
Colorseg is a Linux executable that I got without source.
2nd question: while playing around with ldconfig, I think I erased the
list of directories that are used to find the shared lib. Is there a
way to reconstruct this list of directories? Or I should grab my
backup and restore /var/run/ld-elf.so.hints?
best regards,
Olivier
More information about the freebsd-questions
mailing list