Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2009 12:25:21 +0200
From:      Ewald Jenisch <a@jenisch.at>
To:        Vincent Hoffman <vince@unsane.co.uk>
Cc:        Tim Judd <tajudd@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Symantec Netbackup under 7.1 - Undefined symbol
Message-ID:  <20090406102521.GA1452@aurora.oekb.co.at>
In-Reply-To: <49D67C86.80101@unsane.co.uk>
References:  <20090403122829.GA2201@aurora.oekb.co.at> <49D624D1.1040101@unsane.co.uk> <ade45ae90904031008x2cbd2ac7v87401495150a7d80@mail.gmail.com> <20090403193934.GA3711@aurora.oekb.co.at> <49D67C86.80101@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090406102521.GA1452>