Symantec Netbackup under 7.1 - Undefined symbol

Ewald Jenisch a at jenisch.at
Mon Apr 6 03:55:04 PDT 2009


On Fri, Apr 03, 2009 at 10:15:50PM +0100, Vincent Hoffman wrote:
> >   
> Fair point, I had a bit more of a think, I'd now guess that it looks
> like a 32/64 bit problem, its a 32bit binary on a 64 bit system and its
> /libexec/ld-elf.so.1 complaining not /libexec/ld-elf32.so.1 whch is odd.
> do you have the lib32 compat stuff installed, does
> /libexec/ld-elf32.so.1 exist on your system? if not you can add it via
> sysinstall -> configure -> Distributions -> lib32.

Hi,

Here's what the binaries in question point to:

# ldd ./bplist 
./bplist:
        libkvm.so.2 => /usr/local/lib32/compat/libkvm.so.2 (0x280d1000)
        libstdc++.so.4 => /usr/local/lib32/compat/libstdc++.so.4 (0x280d7000)
        libm.so.3 => /usr/local/lib32/compat/libm.so.3 (0x281b4000)
        libc.so.5 => /usr/lib32/libc.so.5 (0x281cf000)
#

All of these libraires exist:
# ls -l /libexec/ld-elf32.so.1
-r-xr-xr-x  1 root  wheel  170944 Apr  2 20:16 /libexec/ld-elf32.so.1
# ls -l /usr/local/lib32/compat/libkvm.so.2
-r--r--r--  1 root  wheel  24957 Mar 30 13:19 /usr/local/lib32/compat/libkvm.so.2
# ls -l /usr/local/lib32/compat/libstdc++.so.4
-r--r--r--  1 root  wheel  1102049 Mar 30 13:19 /usr/local/lib32/compat/libstdc++.so.4
# ls -l /usr/local/lib32/compat/libm.so.3
-r--r--r--  1 root  wheel  126743 Mar 30 13:19 /usr/local/lib32/compat/libm.so.3
# ls -l /usr/lib32/libc.so.5
-r--r--r--  1 root  wheel  1047956 Mar 24 14:32 /usr/lib32/libc.so.5
#

So it's even more strange to me that "/libexec/ld-elf.so.1" complains
about the undefined symbol "__h_error"

Is there any way to track this down furhter?

BTW, note I've got /usr/ports/misc/compat5x installed which "pkg_info"
displays as " compat5x-amd64-5.4.0.8_9"


-ewald


More information about the freebsd-questions mailing list