Subject: RE: FreeBSD binary emulation failing (cannot execute 'ldd-freebsd') (xs4)
To: 'Rogier Krieger' <rogier@virgiel.nl>
From: Ambarish Malpani <ambarish@caymas.com>
List: netbsd-users
Date: 07/08/2003 12:07:42
Hi Rogier,
    Couple of comments:

1. Put your freebsd libraries under /emul/freebsd (will keep life
	cleaner)

2. You might need to get: /usr/libexec/ld-elf.so.1 from the freebsd machine
	in your /emul/freebsd/usr/libexec directory.

Hope this helps,
Ambarish

> -----Original Message-----
> From: netbsd-help-owner@netbsd.org 
> [mailto:netbsd-help-owner@netbsd.org] On Behalf Of Rogier Krieger
> Sent: Monday, July 07, 2003 5:30 PM
> To: NetBSD-help list; NetBSD-users list
> Subject: FreeBSD binary emulation failing (cannot execute 
> 'ldd-freebsd') (xs4)
> 
> 
> 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.
> 
> 
> 
>