/lib/ld-linux.so.2: cannot execute binary file: fix propsal

Marcin Cieslak saper at SYSTEM.PL
Sun Sep 10 06:29:16 PDT 2006


# in linux chroot: "/usr/bin/ldd: line 165: /lib/ld-linux.so.2: cannot 
execute binary file"

Quickfix:

sudo brandelf -t Linux /compat/linux/lib/ld-2.3.6.so

Correct fix:

Adjust @{FIND} commands in emulator port Makefiles also to include
  ${PREFIX}/${PREFIX_SUBDIR}lib

In general, I guess ELF shared libraries should be Linux branded as well?

-- 
               << Marcin Cieslak // saper at system.pl >>


More information about the freebsd-emulation mailing list