Subject: Re: linux emulation finding wrong libraries?
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 12/05/2006 17:38:18
In article <45750AED.5090403@kfupm.edu.sa>,
Ja'far Railton <jrailton@kfupm.edu.sa> wrote:
>FWIW, permissions look okay:
>>> $ ls -l /emul/linux/lib|grep pthread
>>> -rwxr-xr-x 1 root wheel 90390 Nov 20 11:11 libpthread-0.10.so
>>> lrwxr-xr-x 1 root wheel 18 Nov 20 11:11 libpthread.so.0 ->
>>> libpthread-0.10.so
>>>
>>> $ ls -ld /emul/linux/lib
>>> drwxr-xr-x 4 root wheel 2048 Nov 20 11:11 /emul/linux/lib
>>>
>>
>> Make symlinks to /emul/linux/usr/lib, so that they are found first.
>> If you ktrace the binary you'll see what happens...
>>
>> christos
>>
>>
>Sorry - this concerns me too - symlinks to /emul/linux/usr/lib but from
>where?
>
>[Are we linking one directory called 'lib' (/emul/linux/usr/lib) to
>another one called 'lib' (/usr/lib or /usr/pkg/lib)?]
I meant link the missing libraries from:
/emul/linux/lib -> /emul/linux/usr/lib
i.e.
ln -s /emul/linux/lib/libpthread* /emul/linux/usr/lib/
christos