When I run Mathematica 5.2 on FreeBSD RELENG_7 I get the following message: /usr/local/mma52/SystemFiles/Kernel/Binaries/Linux/MathKernel: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI invalid It worked fine on RELENG_6. Furthermore Mathematica 5.0 seems to work fine on RELENG_7. I have the usual set of linux emulation libraries installed (what is pulled in by building the acroread7 port.) Any ideas? I'm really not sure how to go about diagnosing this apart from running ldd, which doesn't seem to tell me much more. Thanks, Stephen
Stephen Montgomery-Smith wrote:> When I run Mathematica 5.2 on FreeBSD RELENG_7 I get the following message: > > /usr/local/mma52/SystemFiles/Kernel/Binaries/Linux/MathKernel: error > while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI > invalidI got a similar message, when i tried to run skype_devel. The solution was to run sysctl compat.linux.osrelease=2.4.20 and put "compat.linux.osrelease=2.4.20" into my /etc/sysctl.conf. This may help you, too. Regards, Lothar
On Saturday 10 November 2007 16:16:40 Stephen Montgomery-Smith wrote:> When I run Mathematica 5.2 on FreeBSD RELENG_7 I get the following > message: > > /usr/local/mma52/SystemFiles/Kernel/Binaries/Linux/MathKernel: error > while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI > invalidIf you have linux_base-fc4, creating the following link should fix it: ln -s ../../lib/librt-2.3.6.so /compat/linux/usr/lib/librt.so.1 This is something that should have been added to the linux_base-fc4 package long time ago, but I guess it got lost. CC'ed to maintainer. The same error appears when you run /compat/linux/bin/ls.
On Sat, Nov 10, 2007 at 04:38:56PM +0100, Lothar Braun wrote:> Stephen Montgomery-Smith wrote: > > When I run Mathematica 5.2 on FreeBSD RELENG_7 I get the following message: > > > > /usr/local/mma52/SystemFiles/Kernel/Binaries/Linux/MathKernel: error > > while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI > > invalid > > I got a similar message, when i tried to run skype_devel. The solution > was to run > > sysctl compat.linux.osrelease=2.4.20 > > and put "compat.linux.osrelease=2.4.20" into my /etc/sysctl.conf. This > may help you, too. > > Regards, > LotharWorks brilliantly !!!!