Date: Wed, 10 May 2000 00:01:37 -0400 (EDT) From: Trevor Johnson <trevor@jpj.net> To: Ryan <rd64pro@pacbell.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: yeah, i hate netscape... Message-ID: <Pine.BSI.4.21.0005092252001.15137-100000@blues.jpj.net> In-Reply-To: <00051018565101.01201@ryan.pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Howdy all. Hi, Ryan. > When I try to start Netscape, I get the following message: > "ld.so failed: Can't find shared library 'libXt.so.6.0'" > > As it turns out (and you all probably know this), it's in: > /usr/ports/x11/XFree86-aoutlibs/work/lib/ In a port, the work directory is just a staging area where stuff is compiled (usually--the Netscape and XFree86-aoutlibs ports are both exceptions, since they are pre-compiled). Once you've compiled and installed the port, it's best to remove the work directory, to save disk space. Typically, ported programs are installed under /usr/local/ or /usr/X11R6/. They're not meant to be run from the work directories. > So, I made it a point to add it to my PATH variable just to humor myself, > reloaded my .profile, and checked to make sure the new entry was there. It is, > yet, I still have the same problem. The PATH environment variable is where your shell looks for programs when you tell it to run a command but don't give the full path. For example, if you type "more" and your PATH is set to "/bin/:/usr/bin/", the shell will look in /bin/ and not find the more program, then look in /usr/bin/ where it will find and run it. If you type "./more" then the shell will try to run the more program in the current directory. Anyway, searches for libraries don't use your PATH. They use information from some files which are listed in the ldconfig(8) man page, and can use the LD_LIBRARY_PATH environment variable which works analogously to PATH (and is also described in ldconfig(8)). You shouldn't have to worry about this, because the XFree86-aoutlibs port should run ldconfig with the proper options, when you install it. You didn't say whether you'd installed it (you could check in /var/db/packages to tell) and I've seen a report (ports/18000 in GNATS) of problems with an old version of it. Therefore I'd advise you to start from scratch: first download the most recent version of the port from ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/x11/XFree86-aoutlibs.tar.gz (to /tmp/, let's say). Then do: # cd /usr/ports/x1/XFree86-aoutlibs # make deinstall # cd .. # rm -rf XFree86-aoutlibs # tar xzvf /tmp/XFree86-aoutlibs.tar.gz # cd XFree86-aoutlibs # make install # rm -rf work to clear away the old port and install the new one. If you run "script" before doing this, you'll be able to capture a log of everything you did, and the responses of the computer. Such information can be valuable should you run into trouble and want to ask someone for help. Reviewing what happened can be useful when you're trying to help yourself, as well. > I've installed a version of Mosaic but I cannot view graphics with it. They're > all jumbled up as if the color depth were too low or something (it's at 16bpp). I wouldn't recommend Mosaic, because development on it stopped about three years ago, so it doesn't support tables, frames, or style sheets. > Sometimes "links" just doesn't cut it for me and I want more visual. Can anyone > offer some advice? I appreciate it! Thank you. # cd /usr/ports/www # make readmes That will generate hyperlinked documentation from /usr/ports/www/*/pkg/COMMENT and /usr/ports/www/*/pkg/DESCR which you can browse through: % links /usr/ports/www/README.html Of course, you could look at the COMMENT and DESCR files themselves to get the same information. The person who sent in ports/1800 said that the BSDI versions of Netscape don't require the a.out libraries. If you continue to have trouble with the XFree86-aoutlibs port, you could try Netscape for BSDI. There aren't ports yet (I might make some) but you can download the programs from ftp://ftp.netscape.com/pub/communicator/english/4.73/unix/unsupported/bsdi21/ and install them according to the instructions that come with them. There's also a port of Mozilla and, as you know, several Linux Netscape ports. The latter will allow you to use plugins that were compiled for Linux--the Flash plugin for example. > <begin applause> :-) -- Trevor Johnson http://jpj.net/~trevor/gpgkey.txt 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.BSI.4.21.0005092252001.15137-100000>