|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Claudio Jeker (cjeker
diehard.n-r-g.com)
Date: Tue Aug 07 2007 - 16:56:16 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Aug 07, 2007 at 09:15:03PM +0300, Michael Dexter wrote:
>
> Hello,
>
> I and many are having reproducible issues with the freebsd_lib port (4.11)/compat_freebsd with regards to shared library handling and I would like to know if anyone has it working.
>
> You can read more about this on misc
openbsd but in short:
>
> # `which ldd-freebsd`
> /usr/libexec/ld-elf.so.1: /usr/lib/libc.so.4: mmap of entire address space failed: Invalid argument
>
> # ls -l /emul/freebsd/usr/lib/libc.so*
> -r--r--r-- 1 root wheel 582928 Aug 7 04:44 /emul/freebsd/usr/lib/libc.so
> -r--r--r-- 1 root wheel 582928 Aug 7 04:44 /emul/freebsd/usr/lib/libc.so.4
>
> This should fix it but does not:
>
> # LD_LIBRARY_PATH=/usr/local/emul/freebsd/usr/lib `which ldd-freebsd`
> /usr/libexec/ld-elf.so.1: /usr/local/emul/freebsd/usr/lib/libc.so.4: mmap of entire address space failed: Invalid argument
>
> The compat environment (sysctl, ldconfig...) appears to be properly configured and static binaries run.
>
> I suspect this is more a compat_freebsd kernel but I wanted to run it by the maintainer first.
>
Your missing the most important info. What OpenBSD version are you
running. -current has a fix that solves an mmap issue in the FreeBSD
emulation layer. So my guess is you do not use -current and in that case
you should install -current and retry.
--
:wq Claudio
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]