From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Jun 13 18:33:16 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id SAA49495;
	Tue, 13 Jun 2000 18:33:16 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from seiryu.es.hkg.ac.jp (seiryu.es.hkg.ac.jp [202.25.195.129])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id SAA49489
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 13 Jun 2000 18:33:13 +0900 (JST)
	(envelope-from harrier@seiryu.es.hkg.ac.jp)
Received: from localhost (localhost [127.0.0.1])
	by seiryu.es.hkg.ac.jp (8.9.3+3.1W/3.7W) with ESMTP id SAA23838;
	Tue, 13 Jun 2000 18:33:14 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
Cc: harrier@seiryu.es.hkg.ac.jp
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000613183314J.harrier@seiryu.s.hiroshima-dit.ac.jp>
Date: Tue, 13 Jun 2000 18:33:14 +0900
From: Hiroyuki Une <harrier@seiryu.es.hkg.ac.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 67
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-users-jp 52582
Subject: [FreeBSD-users-jp 52582] Can't find libraries for Linux emulation
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: harrier@seiryu.es.hkg.ac.jp

$B1-:,!w9-Eg9q:]3X1!Bg3X$G$9!#(B
3.4-stable $B$N(B ports $B$r;H$C$F(BAcrobat Reader 4.05 $B$r%$%s%9%H!<%k$7$?$N$G$9$,!"(B
$B<!$N%a%C%;!<%8$rEG$$$F;_$^$C$F$7$^$$$^$9!#(B

------ $B$3$3$+$i(B
% acroread4
Warning: locale not supported by C library, locale unchanged
$B1i;;Nc30(B(core$B$r=PNO$7$^$7$?(B)
------ $B$3$3$^$G(B

$B0JA0$K$bF1$88=>]$,5/$3$C$?$N$G$9$,!"(B
6/9 $B$K%=!<%9%D%j!<$r(B 3.4-stable $B$K>e$2$k$N$H(B
$B0l=o$K(B ports $B$b99?7$7!"(Blinux_base-6.1 $B$4$H(B
$B%$%s%9%H!<%k$7$J$*$7$?$N$G$9$,!"7k2L$OF1$8$G$7$?!#(B
linux $B%(%_%e%l!<%7%g%s%b!<%I$OF0:n$7$F$$$^$9!#(B

$BIT;W5D$K;W$C$F(B gdb $B$r;H$C$F3NG'$7$F$_$?$i!"(B

------ $B$3$3$+$i(B
% gdb /usr/local/Acrobat4/Reader/intellinux/bin/acroread acroread.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `acroread'.
Program terminated with signal 8, Floating point exception.
/lib/libm.so.6: No such file or directory.
#0  0x28c85723 in ?? ()
(gdb) 
------ $B$3$3$^$G(B

/lib/libm.so.6 $B$r8+$D$1$i$l$:$K1i;;Nc30$r5/$3$7$F$$$k$h$&$G$9$,!"(B
/compat/linux/sbin/ldconfig -p $B$N7k2L$O(B

------ $B$3$3$+$i(B
% /compat/linux/sbin/ldconfig -p
        libz.so.1 (ELF) => /usr/i486-linux-libc5/lib/libz.so.1
        libz.so.1 (libc6) => /usr/lib/libz.so.1

		$B!J>JN,!K(B

        libm.so.6 (libc6) => /lib/libm.so.6
        libm.so.5 (libc5) => /usr/i486-linux-libc5/lib/libm.so.5

		$B!J>JN,!K(B

        ld-linux.so.2 (ELF) => /lib/ld-linux.so.2
        ld-linux.so.1 (ELF) => /lib/ld-linux.so.1

% ls -l /compat/linux/lib/libm.so.6
lrwxr-xr-x  1 root  wheel  13 Jun 12 14:01 /compat/linux/lib/libm.so.6@ -> libm-2.1.2.so
------ $B$3$3$^$G(B

$B$G$9$N$G!"$J$K$,$J$K$d$i$o$+$j$^$;$s!#(B

$B$^$5$+!"(Bln -s /compat/linux/lib /lib $B$7$J$$$H(B
$BF0$+$J$$$H$$$&$o$1$G$O$J$$$G$7$g$&$+$i!"(B
$B2?$+;d$,8+Mn$H$7$F$$$kE@$,$"$k$N$@$H;W$$$^$9!#(B
$B$I$&$+!"8f65<x2<$5$$!#(B

---
$B1-:,909T(B: $B9-Eg9q:]3X1!Bg3X(B $B9)3XIt(B $BEE;R9)3X2J(B ($B5l>N(B $B9-EgEE5!Bg3X(B)
une@seiryu.es.hkg.ac.jp or harrier@seiryu.es.hkg.ac.jp
