"relocation error" when installing app


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users "relocation error" when installing app
# 1  
Old 09-09-2009
"relocation error" when installing app

I'm trying to install Urchin5 log analyzer and I get the following message:

Quote:
Retrieving the Urchin 5 license ...
/bin/sh: relocation error: /lib-es4/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
ERROR: Unable to obtain permanent Urchin 5 license.
Sadly, I'm not all that good at lib tracing and troubleshooting, but I did attempt a few things. First, since this is a VPS, I can compare to the baseline fileset, and other servers on which this works. I used MD5 as a quick preliminary check and got identical values for /lib-es4/tls/libc.so.6 and /lib/ld-linux.so.2. I also did:

Code:
 #nm /lib/ld-linux.so.2 | grep _dl_out_of_memory
00017467 r _dl_out_of_memory
# nm /lib-es4/ld-linux.so.2 | grep _dl_out_of_memory
000132c0 R _dl_out_of_memory
000132c0 r _dl_out_of_memory_internal

I also checked for rogue copies of the libraries mentioned and the existence/MD5 sigs of dependencies:
Code:
# ldd /lib-es4/tls/libc.so.6
        /usr/lib/libcwait.so (0xb7f21000)
        /lib/ld-linux.so.2 (0xb7f26000)
# md5 /usr/lib/libcwait.so /skel/usr/lib/libcwait.so
ed5423011767e398d687788b665357b1  /usr/lib/libcwait.so
ed5423011767e398d687788b665357b1  /skel/usr/lib/libcwait.so
# ldd /lib/ld-linux.so.2
        statically linked

So, afaik, everything that should be in place is, but clearly the installation fails and is offended by something related to the libraries. How in the world is a problem like this troubleshot? Is this problem familiar to anyone? Many thanks in advance.
# 2  
Old 09-09-2009
Can you try running:
Code:
# ldd -r /lib-es4/tls/libc.so.6

I'm suspicious about the " GLIBC_PRIVATE not defined" message.

What OS are you running please?

On my system (Ubuntu) /lib/ld-linux.so.2 is actually a link pointing to /lib/ld-2.9.so, perhaps your system's /lib/ld-?.?.so file is not as late a version and is lacking a GLIBC_PRIVATE definition?
# 3  
Old 09-10-2009
This is RHEL 4, deployed as a VPS environment. I mention that only because it pretty much guarantees a snail's pace of updates...

Mine is also a link...

Code:
# ll /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 9 Sep 16  2008 /lib/ld-linux.so.2 -> ld-2.5.so

The strange thing is that exactly the same installation succeeds on an identical VPS on the same physical system, so apparently I've managed to pooch something in my environment...

Last edited by treesloth; 09-10-2009 at 03:45 PM..
# 4  
Old 09-10-2009
Quote:
Originally Posted by treesloth
The strange thing is that exactly the same installation succeeds on an identical VPS on the same physical system, so apparently I've managed to pooch something in my environment...
It would be worth doing an ll and a sum of the
/lib/ld-2.5.so
library file on both systems and seeing if they are the same or not?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. HP-UX

Need to identify the process/app which is triggering the error "vmunix: file: table is full"

Hi, I'm seeing the error vmunix: file: table is full in syslog.log. Although changing the value of the kernel parameter nfile would make this error go away, how would I identify which process/application in the server is triggering this error? The server is a HP-UX B.11.11. Thanks in advance! (1 Reply)
Discussion started by: enchogas
1 Replies

6. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

7. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Login or Register to Ask a Question