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 [EMAIL PROTECTED] 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.

Appreciated,

Michael Dexter

Reply via email to