Subject: Re: SunOS emulation
To: None <port-sparc@NetBSD.org>
From: Laurens Vets <laurens@daemon.be>
List: port-sparc
Date: 05/18/2005 07:53:39
Greg Earle wrote:
> On May 17, 2005, at 11:57 AM, Laurens Vets wrote:
> 
>>>>>> 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?
> 
> 
> NetBSD is thinking that the "netscape" binary is a shell script.
> 
> Again, ktrace(1) is Your Friend.
> 
>     - Greg

Ok, it complains about some files that are still missing in /emul/svr4. 
  I'll try fetch them somewhere :)  Thanks for all the help so far!