LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-15-2004, 11:01 PM   #1
belga
LQ Newbie
 
Registered: Jul 2004
Location: Montreal, Canada
Distribution: Kubuntu Breezy
Posts: 16

Rep: Reputation: 0
Problem with Insight II - version GLIBC_2.2 not defined in file libc.so.6...


Hi, I'm having a problem installing a molecular modelling program (Insight II from Accelrys) and I thought someone here could come up with a solution.

The program (version 2000.3L) is said to run in RHEL WS 2.1; we had a problem with that particular version with our system (drivers), so we decided to try different Red Hat-based distros: RHEL WS 3, Fedora Core 1 & 2. All reported the same error:

Code:
$ fdiscover
fdiscover: relocation error: /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/
biosymso/libpgthread.so: symbol __libc_sigaction, version GLIBC_2.2 
not defined in file libc.so.6 with link time reference
As I read somewhere before, I'm setting the environment variable
Code:
setenv LD_ASSUME_KERNEL 2.4.1
on the .cshrc file (there is a configuration script coming with the program prepared to run in a tcsh shell, so we use tcsh when starting the program), but the error is still produced...

The program is provided as binary files, I have no source code for it and the software producers told me that they cannot support it still because it's still kind of a beta...

Please tell me what other info I can provide!

System: IBM Thinkcentre P4-2.4GHz, 512MB RAM, on-board video Intel 845G.

Last edited by belga; 08-15-2004 at 11:03 PM.
 
Old 08-16-2004, 10:52 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
The problem here is that your C libraries do not contain the __libc_sigaction method for version 2.2 of Glibc.

The most likely cause for this is that you don't have version 2.2 of glibc installed; many distributions contiain a package called glibc-compat that you can install to handle issues like these.

Another test you can do is to run
Code:
ldd /path/to/executablefile
in a terminal, replacing /path/to/executablefile with the actual filename and directory. This will list all of the unmet library dependencies for that file.

Hope that's of some help,

Robert J. Lee
 
Old 08-16-2004, 05:35 PM   #3
belga
LQ Newbie
 
Registered: Jul 2004
Location: Montreal, Canada
Distribution: Kubuntu Breezy
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply!

OK, I installed the file compat-glibc-6.2-2.1.3.2.src.rpm that I found off the web (although it was listed as a file for Red Hat 7.3 and 7.2, but it was the best I could find...), when I try to run fdiscover I still have the same error:

Code:
$ fdiscover
fdiscover: relocation error: /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/
biosymso/libpgthread.so: symbol __libc_sigaction, version GLIBC_2.2 not defined in
file libc.so.6 with link time reference
However, when I run ldd:

Code:
$ ldd /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/biosym_exe/fdiscover
        libpub_lic.so => /usr/local/accelrys/License_Pack/Linux_2_Intel_32/libs/libpub_lic.so (0x40001000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40161000)
        libpgthread.so => /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/biosymso/libpgthread.so (0x40183000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40199000)
        libpgc.so => /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/biosymso/libpgc.so (0x402d4000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x402e9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00b29000)
        libgcc_s.so.1 => /usr/local/accelrys/I2000.3L/Linux_2_Intel_32/biosymso/libgcc_s.so.1 (0x4032c000)
This is certainly different from before installing the compat-glibc library, before I got a bunch of errors of "symbol xxx, version GLIBC_2.x not defined in file yyy with link time reference". So I think we're on the right track...

By the way, the glibc version installed is 2.3.2-101...

Thanks for the help again!
 
Old 08-18-2004, 02:01 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Forgot to say: You need to run
Code:
ldconfig
as root after installing new library files before they will be found. Generally RPMs will do this for you, though.

You seem to have installed glibc libraries version 2.1 and 2.3, but what you actually need is version 2.2.

I suggest you try and find a glibc-compat or compat-glibc with a version ending in -2.2.something, and install that as well (rpm --install not rpm --upgrade). You might want to try here: http://www.rpmfind.net/linux/rpm2htm...&system=&arch=

Being for a different distribution shouldn't be too much of a problem here, as glibc doesn't have many dependencies. Best to get the processor family right though (e.g. PPC code won't run an atari!)

By the way, glibc and glibc-compat are actually the same thing. The only difference is that the compat library doesn't include the symbolic links to libc.so without the version number, so the regular libraries get used by default unless you need them.

Last edited by rjlee; 08-18-2004 at 02:05 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GLIBC_2.3.4 not defined in file libc.so.6 when running gnuplot azariaya Linux - Software 7 01-05-2005 05:57 PM
rpm needs libc.so.6 (glibc_2.3.4) sirius57 Linux - Software 8 11-28-2004 05:32 PM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 05:12 PM
xauth: /lib/i686/libc.so.6: version 'GLIBC_2.3.2' not found yigald Linux - Newbie 0 02-21-2004 12:52 AM
Which RPM contains libc.so.6(GLIBC_2.3) etae Linux - Software 1 09-09-2003 06:09 AM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration