LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-17-2004, 06:33 AM   #1
vmattila
LQ Newbie
 
Registered: Nov 2004
Location: Ikaalinen,Finland
Posts: 5

Rep: Reputation: 0
Question rpm: relocation error: /lib/libselinux.so.1


Hello readers,

I'm getting this error always when I try to install or update an RPM package.

rpm: relocation error: /lib/libselinux.so.1: symbol
__snprintf_chk, version GLIBC_2.3.4 not defined in file libc.so.6
with link time reference

The same error appears in many other places too. I've tried to update libselinux, glibc and other libraries, but without success - the same error appears in that cases too.

Any ideas?

Ville
 
Old 12-17-2004, 07:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
what glibc version are you running? try running "strings /lib/libc.so.6 | grep GLIB" to see what symbols ARE defined.
 
Old 12-17-2004, 01:32 PM   #3
vmattila
LQ Newbie
 
Registered: Nov 2004
Location: Ikaalinen,Finland
Posts: 5

Original Poster
Rep: Reputation: 0
Hello,

Thanks for your reply. I have following symbols defined:
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_PRIVATE

GLIBC_2.3.4 is listed up there and that makes the case rather interesting...

Following glibc versions are installed:
glibc-devel-2.3.3-27
glibc-common-2.3.3-27
glibc-headers-2.3.3-27
glibc-2.3.3-27
glibc-kernheaders-2.4-8.44

Ville
 
Old 12-17-2004, 02:03 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
have you rebooted during this? running ldconfig might help you out. also ensure there are no other copies of libc.so.6 on your system, no idea where they might be though... another thing to tick of though
 
Old 12-26-2004, 09:02 AM   #5
joey52
Member
 
Registered: Dec 2004
Posts: 59

Rep: Reputation: 15
[root@sv7 root]# wget http://ftp.freshrpms.net/pub/freshrp...c2.fr.i386.rpm
--08:57:38-- http://ftp.freshrpms.net/pub/freshrp...c2.fr.i386.rpm
=> `apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm'
Resolving ftp.freshrpms.net... done.
Connecting to ftp.freshrpms.net[193.1.219.82]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 832,917 [application/x-redhat-package-manager]

100%[====================================>] 832,917 238.04K/s ETA 00:00

08:57:42 (238.04 KB/s) - `apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm' saved [832917/832917]

[root@sv7 root]# rpm -i apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm
warning: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpm-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmdb-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmio-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
libselinux.so.1 is needed by apt-0.5.15cnc6-1.1.fc2.fr
[root@sv7 root]# apt-get install proftpd
-bash: apt-get: command not found
[root@sv7 root]# 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_PRIVATE



Where can I download this GLIBC from?
 
  


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
wine: relocation error: /usr/local/lib/libntdll.so hawk1982 Linux - Newbie 2 08-17-2004 09:08 AM
id3 lib relocation error captainwinky Linux - Newbie 0 05-12-2004 11:00 PM
KDE 3.2 and relocation error: /usr/lib/libkdeui.so.4 pradsy90 Linux - Security 2 03-11-2004 01:12 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
dcgui-qt: relocation error: /usr/lib/libqt-mt.so.3: undefined symbol: glXGetConfig akqw Linux - Software 0 10-05-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:09 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