Subject: RE: Should SVR4 dynamically-linked executables work?
To: mrg <>
From: John Maier <>
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:

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?


From:  mrg[]
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   
   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   

   working fine.

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

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