Date: Mon, 9 Aug 1999 00:26:16 -0700 (PDT) From: "Joseph I. Davida" <jd@sargon.net> To: bugs@freebsd.org Subject: Linux COmpat Libs Message-ID: <199908090726.AAA01059@sargon.net>
next in thread | raw e-mail | index | archive | help
Because the freebsd version of netscape 4.61 is in a.out I cant run it. So, I was running Netscape 4.61 for Linux libc5 on FreeBSD3.2 with linux compatibility compiled in and enabled in /etc/rc.conf: linux_enable=YES. I clicked on a hotlink which took me to some microsoft site, and netscape crashed. The killer URL is: http://www.microsoft.com/word/enhancements/avery.asp?prev=312111 I tried it without the trailing ?prev=312111 and it still crashes. Ditto if I just use the url http://www.microsoft.com On my system, I had to create a symbolic link (/lib) to /compat/linux/lib, because some other library tries to load the absolute pathname /lib/libc.so.5, which would fail without the symbolic link, and netscape would crash. But now it is crashing for an altogether different reason. In order to get the correct libraries for the linux version of netscape, I run it from within the following script: #!/bin/sh XNLSPATH=/usr/X11R6/lib/X11/nls XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults LD_LIBRARY_PATH=\ /usr/lib:\ /usr/X11R6/lib:\ /usr/local/lib XCMSDB=/dev/null #-------------------------------------------------- COMPAT=/usr/compat/linux MOZILLA_HOME=/usr/local/netscape-linux LD_LIBRARY_PATH=\ /lib:\ $COMPAT/lib:\ $COMPAT/usr/lib:\ $COMPAT/usr/X11R6/lib:\ $COMPAT/usr/openwin/lib:\ $MOZILLA_HOME:\ $MOZILLA_HOME/plugins:\ $LD_LIBRARY_PATH #-------------------------------------------------- XKEYSYMDB=$MOZILLA_HOME/XKeysymDB CLASSPATH=$MOZILLA_HOME:$MOZILLA_HOME/java:$MOZILLA_HOME/java/classes:/usr/local /share/java/java export XKEYSYMDB XNLSPATH XAPPLRESDIR MOZILLA_HOME LD_LIBRARY_PATH \ CLASSPATH XCMSDB $MOZILLA_HOME/netscape $* -geometry 1150x985+0+0 & Here is the gdb trace in case you find it useful: % gdb -e /usr/local/netscape-linux/netscape -c netscape.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". Core was generated by `netscape'. Program terminated with signal 10, Bus error. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libXt.so.6... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libSM.so.6... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libICE.so.6... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libXmu.so.6... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libXpm.so.4... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libXext.so.6... (no debugging symbols found)...done. Reading symbols from /usr/compat/linux/usr/X11R6/lib/libX11.so.6... (no debugging symbols found)...done. Reading symbols from /lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /lib/libc.so.5...done. Reading symbols from /usr/compat/linux/usr/lib/libg++.so.27...done. Reading symbols from /usr/compat/linux/usr/lib/libstdc++.so.27...done. Reading symbols from /lib/libm.so.5...done. Reading symbols from /lib/ld-linux.so.1...done. Reading symbols from /usr/local/netscape-linux/dynfonts/libTrueDoc.so...done. Reading symbols from /usr/local/netscape-linux/libjsd.so...done. #0 0x28bf43c5 in kill () from /lib/libc.so.5 (gdb) bt #0 0x28bf43c5 in kill () from /lib/libc.so.5 #1 0x88bc338 in ?? () #2 0xbfbfdfd8 in ?? () #3 0x83748ac in ?? () #4 0x838b60b in ?? () #5 0x838481e in ?? () #6 0x827b80f in ?? () #7 0x28adae14 in XtAppProcessEvent () from /usr/compat/linux/usr/X11R6/lib/libXt.so.6 #8 0x826b9b8 in ?? () #9 0x826df89 in ?? () #10 0x8231dbb in ?? () To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908090726.AAA01059>