Re: linux emulation finding wrong libraries?

[email protected] (Christos Zoulas)
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
In article <[email protected]>,
Ja'far Railton <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.