LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-13-2010, 08:14 AM   #1
gmad22
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Question ERROR: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time


Hi Guys,

I've found a lot of topics with this issue, but they either didnt provide a solution or didnt have one.

When i try to install Tivoli Management Framewoek on lenny, i get the following:

Code:
error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
This is fixed by editing the installer and changing the LD_ASSUME_KERNEL, to the version i have (2.6.26). But then i get another error:

Code:
symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
which im not able solve. I've tried changing LD_ASSUME_KERNEL to other values, but it doesnt work. I dont know what else i can do.

This some more info:

Code:
labo:/home/labo/tiv# uname -a
Linux labo 2.6.26-2-686 #1 SMP Thu Nov 25 01:53:57 UTC 2010 i686 GNU/Linux
Code:
labo:/home/labo# strings /lib/libc.so.6 | grep GLIB
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_PRIVATE

Code:
labo:/home/labo/tiv# /lib/libc.so.6 
GNU C Library stable release version 2.7, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux >>2.6.26-2-amd64<< system on 2010-10-21.
Available extensions:
	crypt add-on version 2.1 by Michael Glad and others
	GNU Libidn by Simon Josefsson
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Code:
labo:/home/labo/tiv#  readelf -s /lib/libc.so.6 | grep errno@@
   304: 00000008     4 TLS     GLOBAL DEFAULT   21 errno@@GLIBC_PRIVATE
   928: 000ec2a0   125 FUNC    GLOBAL DEFAULT   11 clnt_sperrno@@GLIBC_2.0
   946: 000ec440    61 FUNC    GLOBAL DEFAULT   11 clnt_perrno@@GLIBC_2.0
  1513: 00000020     4 TLS     GLOBAL DEFAULT   21 h_errno@@GLIBC_PRIVATE

Thanks a lot!!

Cheers,
 
Old 05-24-2012, 09:54 AM   #2
kkoorndyk
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Did you ever figure this one out?

I'm running into the same problem trying to install an older tool on a newer ubuntu installation.

My libc.so.6 also lists GLIBC_2.0, so I'm wondering whether the last part of the error gives some indication of the problem: "with link time reference".
 
Old 05-24-2012, 04:00 PM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
I can suggest following: first, install application in question on it's native distribution
This distribution can be in VM. on spare box, etc

Then use statifier (http://statifier.sf.net) or Ermine (http://magicErmine.com)
to convert your application into self-contained, portable executable.

After that copy this executable to your target box - it should works.

Statifier is GPL-licensed, but it has problem on systems with memory randomization.
Ermine handle memory randomization well, but it's commercial.

Valery.
 
  


Reply



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
ERROR :version GLIBC_2.0 not defined in file libc.so.6 with link time reference gemini42 Slackware 10 12-13-2010 10:24 AM
GLIBC_2.0 not defined in file libc.so.6 ! sunnyleung Linux - Enterprise 1 08-24-2009 06:26 PM
ymbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference papodu Linux - Software 0 07-05-2008 05:35 PM
"symbol __pthread_initialize, version GLIBC_2.0 not defined in file libpthread.so.0" citrus Linux - Software 6 01-05-2007 11:24 PM
Problem with Insight II - version GLIBC_2.2 not defined in file libc.so.6... belga Linux - Software 3 08-18-2004 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration