Subject: Re: SunOS emulation
To: None <port-sparc@NetBSD.org>
From: Laurens Vets <laurens@daemon.be>
List: port-sparc
Date: 05/17/2005 20:57:20
>>>> I've put "/emul/svr4" in ld.so.conf, ran "ldconfig" and now I get to 
>>>> the following:
>>>
>>> No, do not touch /etc/ld.so.conf!
>>> Are you running the /emul/svr4/*/ldd? The native NetBSD one will not be
>>> run under emulation, and so it will get things wrong.
>>
>>
>> So what is the correct way of 'adding' the right libs to the system?
> 
> Re-read my reply to you (on the list) on the subject.
> 
> You have to put the SunOS libraries in /emul/sunos/usr/lib,
> and the Solaris libraries in /emul/svr4/usr/lib.

Yes, all libraries are there, I didn't know the system would find them 
there 'automatically' :)  I read somewhere on a forum that you had to 
add "/emul/svr4" to ld.so.conf and run "ldconfig", but apparently that's 
not the case.

I'm trying to run the Netscape 4.8 Solaris 8 binary, but when I start 
it, I get "/usr/local/netscape/netscape: 1: Syntax error: "(" 
unexpected"...  Any ideas?

Laurens