On Sun, 22 Jun 2008 14:38:15 -0300 Gonzalo Nemmi wrote:
Has anyone been able to get linux-quake4 working on FBSD7.0-REL?
Useful info:
[EMAIL PROTECTED] ~]% uname -rsim
FreeBSD 7.0-RELEASE i386 GENERIC
[EMAIL PROTECTED] ~]% sysctl -a | grep linux
hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.6.16
compat.linux.osname: Linux
[EMAIL PROTECTED] ~]% pkg_info -xE linux
linux-doom3-1.1.1286,0
linux-expat-1.95.8
linux-flashplugin-9.0r124
linux-fontconfig-2.2.3_7
linux-openssl-0.9.7f
linux-quake4-1.4.2,1
linux-sdl-1.2.10,1
linux-xorg-libs-6.8.2_5
linux_base-fc-4_13
[EMAIL PROTECTED] ~]%
The problem:
[EMAIL PROTECTED] ~]% linux-quake4
/usr/local/lib/quake4/quake4.x86: error while loading shared
libraries: /usr/local/lib/libX11.so.6: ELF file OS ABI invalid
^^ [1]
[EMAIL PROTECTED] ~]% linux-quake4smp
/usr/local/lib/quake4/quake4smp.x86: error while loading shared libraries:
libSDL-1.2.id.so.0: cannot open shared object file: No such file or directory
[EMAIL PROTECTED] ~]% ldd /usr/local/lib/quake4/quake4smp.x86
/usr/local/lib/quake4/quake4smp.x86:
libpthread.so.0 = /lib/libpthread.so.0 (0x284da000)
libdl.so.2 = /lib/libdl.so.2 (0x284ec000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x284f)
^^ [2]
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x285c3000)
libSDL-1.2.id.so.0 = not found
libz.so.1 = /usr/lib/libz.so.1 (0x285d2000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x285e5000)
libm.so.6 = /lib/libm.so.6 (0x286c2000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x286e8000)
libc.so.6 = /lib/libc.so.6 (0x286f2000)
/lib/ld-linux.so.2 (0x284bc000)
[EMAIL PROTECTED] ~]%
ldd seems to indicate the port is hosed: libSDL-1.2.id.so.0 = not found
For the record: linux-doom3-1.1.1286,0 runs like silk in here .. so .. it
doesn't seem to be an emulation problem. Yet still: linux-quake4
/usr/local/lib/quake4/quake4.x86: error while loading shared
libraries: /usr/local/lib/libX11.so.6: ELF file OS ABI invalid, dazzels
me ...
Any hints, pointers, info, will be greatly appreciated. I want to make sure
Im
not doing something wrong before e-mailing the maintainer.
Your program stops at [1] which is a native FreeBSD library while ldd
finds [2] which is a linux one. I've seen that only when there is
something non-default is defined (ex. LD_LIBRARY_PATH) which redefines
a default FreeBSD behaviour and results in finding a library at
/usr/local/lib before /compat/linux. Please, check up your environment
and/or script.
Can't comment no libSDL-1.2.id.so.0 though.
If the maintainer (Ed Schouten according to the Makefile) is on the list,
please feel free to contact me to work and test this =)
Thanks :)
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]