Quote:
Originally Posted by ProcalX
I run FreeBSD 6 on a Intel QuadCore dedicated server, logged in as root I am trying to install a piece of game server software using: ./cod4_lnxded
However I recieve this error:
PHP Code:
ELF interpreter /lib/ld-linux.so.2 not found Abort trap
From doing a few google searches this suggests that I am missing some libraries and that I need to install a linux emulator port?
How do I do this please?
Thank You
|
Try this:
Code:
# kldload linux
# kldstat
(Should output something like this):
Id Refs Address Size Name
1 2 0xc0100000 16bdb8 kernel
7 1 0xc24db000 d000 linux.ko
If that works fine, you can then install the libraries via ports like such:
Code:
# cd /usr/ports/emulators/linux_base-fc4
# make install distclean
If you don't have ports installed, then you can add the libs manually (A much bigger headache, imho).
If you've got all of that going and it's still not working, then try this:
That'll produce output similar to this:
Code:
libXt.so.3 (DLL Jump 3.1) => /usr/X11/lib/libXt.so.3.1.0
libX11.so.3 (DLL Jump 3.1) => /usr/X11/lib/libX11.so.3.1.0
libc.so.4 (DLL Jump 4.5pl26) => /lib/libc.so.4.6.29
You'll need to hunt down those files and ensure they're in /compat/linux and that you've got symlinks in place to point from what the binary you're trying to run is looking for (the first column) to the last column (that I highlighted). In the end for this example, you'd have something like this:
Code:
/compat/linux/usr/X11/lib/libXt.so.3.1.0
/compat/linux/usr/X11/lib/libXt.so.3 -> libXt.so.3.1.0
/compat/linux/usr/X11/lib/libX11.so.3.1.0
/compat/linux/usr/X11/lib/libX11.so.3 -> libX11.so.3.1.0
/compat/linux/lib/libc.so.4.6.29
/compat/linux/lib/libc.so.4 -> libc.so.4.6.29
Let me know if that info helps.
Edit - I found all of this info here:
http://www.freebsd.org/doc/en_US.ISO...c-install.html
There's quite a bit more info there that may be of assistance.