Subject: RE: Should SVR4 dynamically-linked executables work?
To: mrg <mrg@splode.eterna.com.au>
From: John Maier <JohnAM@datastorm.com>
List: current-users
Date: 01/23/1996 14:16:00
Okay, maybe you can tell me what I'm doing wrong...

1) I've made a new kernel with options (rebooted and am using it)
options         COMPAT_SVR4     # binary compatibility with SVR4
options         COMPAT_IBCS2    # binary compatibility with SCO and ISC
options         COMPAT_LINUX    # binary compatibility with Linux

2) I created directories:
/emul/svr4/lib
/emul/svr4/kvm
/emul/svr4/openwin/lib

3) copied and made symbolic links to all the libraries. (just like the   
source tree) I am using the Solaris 2.4.

4) still getting the Exec. wrong architecture.

You have it working, what are you doing different?

jam

 ----------
From:  mrg[SMTP:mrg@splode.eterna.com.au]
Sent:  Tuesday, January 23, 1996 1:40 PM
To:  John Maier
Cc:  'current-users'
Subject:  Re: Should SVR4 dynamically-linked executables work?


     

   So to get Solaris binaries functioning on NetBSD, do I need to copy   
the
   libraries into /emul/ibmcs2/.
     

   Then do I need to do a ldconfig /emul/ibmcs2/usr/lib ?
     

   I am getting an, Exec format error. Wrong Architecture, with
   dynamically-linked files but statically-linked files like csh and cal   
are
   

   working fine.

you want /emul/svr4 and COMPAT_SVR4 in your kernel config.

funny, i answered this on port-sparc today  :-)

.mrg.