Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 15:20:10 -0800 (PST)
From:      Woody Carey <wcarey@wcarey.com>
To:        Barry Irwin <bvi@rucus.ru.ac.za>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can someone point me to some linux emulation troubleshooting docs?
Message-ID:  <Pine.BSF.4.10.9911121509070.28670-100000@mail.wcarey.com>
In-Reply-To: <19991112221703.J57266@rucus.ru.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Nov 1999, Barry Irwin wrote:

Barry,
Thanks for the feedback.
Do you know if /usr/ports/emulators/linux_lib on 3.2-R is equivalent
to /usr/ports/emulators/linux_base on a 2.2.x system?  I did a make and
make install already in /usr/ports/emulators/linux_lib.

I ask because I don't have a linux_base in ports/emulators on my 3.2R box.

The error message I am seeing is:

mail [~/spm/bin/linux]% ./partmgr &
[1] 28701
mail [~/spm/bin/linux]%
./partmgr: error in loading shared libraries
: undefined symbol: __bzero
[1]    Exit 127                      ./partmgr
mail [~/spm/bin/linux]%  

ls /compat/linux/lib shows:

mail [~/spm/bin/linux]% 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     
mail [~/spm/bin/linux]%  

Any ideas?  the binary is already branded, and 'linux' lkm is loaded.

> On Fri 1999-11-12 (09:37), Woody Carey wrote:
> > 

> > As you may have seen in a previous message, I am having trouble running
> > a linux binary on a 3.2-r system.  [Not surprising :-) ]
> > 
> > Is there a "Troubleshooting/hacking linux emulation how-to" somewhere I
> > can take a look at and try to solve my problem? 
> 
> cd /usr/ports/emulators
> su-2.03# ls -lad l*
> drwxr-xr-x  4 root  wheel  512 Oct 22 19:16 linux_base
> drwxr-xr-x  5 root  wheel  512 Oct 22 19:16 linux_glide
> drwxr-xr-x  5 root  wheel  512 Oct 22 19:16 linux_lib
> drwxr-xr-x  5 root  wheel  512 Nov  5 22:07 linux_mesa
> 
> cd linux_base
> make; make install
> 
> that should get the linux emulation stuff installed and happy. Look in
> /etc/rc.conf for enabling the linux emulation at boot time.
> 
> Barry




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.9911121509070.28670-100000>