Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 1999 21:24:53 -0800 (PST)
From:      Woody Carey <wcarey@wcarey.com>
To:        freebsd-questions@freebsd.org
Subject:   trying to run ELF linux binary: undefined symbol error 
Message-ID:  <Pine.BSF.4.10.9911102115420.2986-100000@mail.wcarey.com>

next in thread | raw e-mail | index | archive | help

Hi all,

this is on FreeBSD 3.2-R.  
I am trying to run a linux binary that runs normally on RH 6.0 systems.

./partmgr
./partmgr: error in loading shared libraries
: undefined symbol: __bzero

I have done this:

brandelf -t Linux partmgr
foo# linux

to load the linux lkm.

and made the linux_lib port.

ldd partmgr reports:

ldd partmgr
partmgr:
        libc.so.6 => /lib/libc.so.6 (0x2840d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28400000)

ls /compat/linux/lib says:

 ls /compat/linux/lib/
ld-linux.so.1           libdl.so                libnss_compat.so.1
ld-linux.so.1.7.14      libdl.so.1              libnss_db.so.1
ld-linux.so.2           libdl.so.1.7.14         libnss_dns.so.1
ld.so                   libdl.so.2              libnss_files.so.1
ld.so.1.7.14            libfbm.so               libnss_nis.so.1
libBrokenLocale.so.1    libfbm.so.1             libpthread.so.0
libc.so.5               libfbm.so.1.0.0         libresolv.so.2
libc.so.5.3.12          libm.so.5               libtermcap.so.2
libc.so.5.4.23          libm.so.5.0.6           libtermcap.so.2.0.8
libc.so.6               libm.so.5.0.8           libutil.so.1
libcrypt.so.1           libm.so.6
libdb.so.2              libnsl.so.1

Can anyone point me to some info pages on the web explaining running
linux binaries on FreeBSD in detail, besides what is in the handbook?

Or clue me in as to how to get this working? 

Any info I can give to help figure this out?

Thanks,

Woody



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911102115420.2986-100000>