Subject: FreeBSD binary emulation failing (cannot execute 'ldd-freebsd') (xs4)
To: NetBSD-help list <netbsd-help@netbsd.org>
From: Rogier Krieger <rogier@virgiel.nl>
List: netbsd-help
Date: 07/08/2003 02:29:32
Hi everyone,

trying to setup the FlexLM licence server (for a Pro/Engineer installation), I
come accross problems with the FreeBSD binary emulation.

Having downloaded FreeBSD (3.4+) binary files, running them on a
local FreeBSD (4.5 as well as 4.7) system works fine.

When copying either of the systems' ldd executables, running them on
my NetBSD(/i386 1.6.1) box, I get the following error:

root@k2:/usr/pkg/emul/freebsd/usr/lib# ldd-freebsd
-bash: /usr/local/bin/ldd-freebsd: cannot execute binary file

Running the regular NetBSD ldd on the ldd-freebsd file, yields:

root@karres:/usr/pkg/emul/freebsd/usr/lib# ldd `which ldd-freebsd`
/usr/local/bin/ldd-freebsd:
         -lc.4 => not found

When I try to add the FreeBSD lc.4 (libc.so.4) to the /usr/lib directory,
the `not found' disappears, but execution of ldd-freebsd still fails.


Is there anyone who has pointers to solve this problem? I'm
getting a bit clueless.

Any insight appreciated. Cheers,


Rogier Krieger


--
If you don't know where you're going, any road will get you there.