You are not logged in.

#1 2006-06-16 12:07:19

esox_ch
Member
Registered: 2006-04-30
Posts: 45

Problem after a system update

Hello,

Last week I've updated my whole system and now I've got a strange problem launching an application which worked well before :

$mercury
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/opt/java/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

mercury hasn't been updated so it cannot be the problem, and when I do a locate {lib} where lib is the "missing" lib name, I always find it ... what's the problem ?

Thanlks a lot

Offline

#2 2006-06-16 12:24:21

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Problem after a system update

Try to reinstall Mercury. Maybe that works.


Arch - It's something refreshing

Offline

#3 2006-06-16 12:48:25

esox_ch
Member
Registered: 2006-04-30
Posts: 45

Re: Problem after a system update

I've already tryed :s

Offline

#4 2006-06-16 16:41:48

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem after a system update

You need to rebuild mecury.

Offline

#5 2006-06-16 20:57:40

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Problem after a system update

Snowman wrote:

You need to rebuild mecury.

You need to be a developer wink

Offline

#6 2006-06-17 07:12:05

esox_ch
Member
Registered: 2006-04-30
Posts: 45

Re: Problem after a system update

Hi,
I solved the problem, In mercury there is a line where it says "LD_ASSUME_KERNEL=2.2.5" , I changed it to 2.6.17 and it works now big_smile

Offline

#7 2006-06-17 10:56:07

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Problem after a system update

Just leaving out LD_ASSUME_KERNEL is fine too. This variable was used to select the linuxthreads libraries in glibc, but these are no longer included and we no longer support linuxthreads, only NPTL. NPTL requires a 2.6 kernel, which should be at least 2.6.6 or so. Our glibc build uses 2.6.12 kernelheaders, so our glibc requires a 2.6.12 kernel or later.

Offline

Board footer

Powered by FluxBB