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

Re: library's hiding?



Check that the libs actually exist, i.e., my potato (patched to
current release) has the following:

peregrine:/etc/init.d# ldconfig -nv /usr/X11R6/lib
ldconfig: version 1.9.11
/usr/X11R6/lib:
	libXaw3d.so.6 => libXaw3d.so.6.1
	libforms.so.0.88 => libforms.so.0.88
	libforms.so.0.89 => libforms.so.0.89
	libMrm.so.1 => libMrm.so.1.0.2
	libXtst.so.6 => libXtst.so.6.1
	libXt.so.6 => libXt.so.6.0
	libXp.so.6 => libXp.so.6.2
	libXmu.so.6 => libXmu.so.6.0
	libXi.so.6 => libXi.so.6.0
	libXext.so.6 => libXext.so.6.3
	libXaw.so.6 => libXaw.so.6.1
	libXIE.so.6 => libXIE.so.6.0
	libX11.so.6 => libX11.so.6.1
	libSM.so.6 => libSM.so.6.0
	libPEX5.so.6 => libPEX5.so.6.0
	libICE.so.6 => libICE.so.6.3
	libxview.so.3 => libxview.so.3.2.4
	libolgx.so.3 => libolgx.so.3.2.4
	libXm.so.1 => libXm.so.1.0.2
	libwraster.so.1 => libwraster.so.1.2.0
	libXpm.so.4 => libXpm.so.4.11

peregrine:/etc/init.d# ls -l /usr/X11R6/lib/libXt.so.6.0
-rw-r--r--    1 root     root       293100 Feb 11 15:41 /usr/X11R6/lib/libXt.so.6.0
peregrine:/etc/init.d# ls -l /usr/X11R6/lib/libXext.so.6.3
-rw-r--r--    1 root     root        44456 Feb 11 15:41 /usr/X11R6/lib/libXext.so.6.3
peregrine:/etc/init.d# ls -l /usr/X11R6/lib/libX11.so.6.1
-rw-r--r--    1 root     root       679148 Feb 11 15:41 /usr/X11R6/lib/libX11.so.6.1

Also, make sure the links have full (executable) permissions, i.e., 
lrwxrwxrwx    1 root     root           13 Feb 16 21:42 libX11.so.6 -> libX11.so.6.1


Sebastiaan writes:
>Hi,
>
>it gives no errors. It shows all the libs and to which they are linked to.
>
>Perhaps there is a problem because the program is 'old' (<1998) and uses
>the old
>binary format (cannot remember which).
>
>Thanks,
>Sebastiaan
>
>On Sat, 17 Feb 2001, Carl Greco wrote:
>
>> Run the following command and check for errors:
>>     ldconfig -nv /usr/X11R6/lib
>> 
>> Sebastiaan writes:
>> >Hi,
>> >
>> >I try to run a program, but it seems that it cannot find the librarys
>> >needed. With ldd, I see that the following librarys can not be found:
>> >libXt.so.6
>> >libXext.so.6
>> >libX11.so.6
>> >
>> >They are all present in /usr/X11R6/lib directory.
>> >
>> >My /etc/ld.so.conf contains, among others, this directory too.
>> >
>> >When I do 'echo $LD_LIBRARY_PATH', the string is empty. When I add the
>> >correct paths to it, the program still can not find them.
>> >
>> >How do I solve this properly (in stead of copying them to /lib)?
>> >
>> >Thanks in advance,
>> >Sebastiaan
>> >
>> >
>> >
>> >-- 
>> >To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
>> >with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> 
>> -- 
>>     Carl Greco
>>     cgreco@novia.net
>> 
>> 

-- 
    Carl Greco
    cgreco@novia.net



Reply to: