Subject: Re: linux emulation finding wrong libraries?
To: None <netbsd-help@netbsd.org>
From: Ja'far Railton <jrailton@kfupm.edu.sa>
List: netbsd-help
Date: 12/05/2006 09:00:13
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)?]

TIA
--