From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Akop Pogosian Newsgroups: gmane.emacs.help Subject: Re: emacs 21.3 wants "libXaw3d.so.5"; got Xaw3d-1.5.tar.gz; NOW WHAT? Date: Mon, 19 May 2003 08:09:32 +0000 (UTC) Organization: University of California, Berkeley Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053331903 10189 80.91.224.249 (19 May 2003 08:11:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 May 2003 08:11:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 19 10:11:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HfkB-0002dn-00 for ; Mon, 19 May 2003 10:11:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HfjR-0000i3-0B for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 04:10:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.unix.solaris Original-Lines: 40 Original-NNTP-Posting-Host: famine.ocf.berkeley.edu Original-X-Trace: agate.berkeley.edu 1053331772 62873 128.32.191.92 (19 May 2003 08:09:32 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Mon, 19 May 2003 08:09:32 +0000 (UTC) User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (SunOS/5.8 (sun4u)) Original-Xref: shelby.stanford.edu gnu.emacs.help:113371 comp.unix.solaris:442343 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9865 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9865 In comp.unix.solaris David Combs wrote: > [] emacs: 21.3: 21.3 wants "libXaw3d.so.5"; got Xaw3d-1.5.tar.gz; NOW WHAT? > (four questions) > Here's the original message I got while "making" emacs-21.2: > ld.so.1: ./temacs: fatal: libXaw3d.so.5: open failed: No such file or directory If you're compiling emacs from source (that means you should have compiled temacs, whatever it is, from source too), supposedly your linker should have managed to find the location of the libXaw3d library. Otherwise, you wouldn't have gotten temacs executable file in the first place. This means that this shared library file already exists somewhere on your system but the run time-linker can not find it. The proper way to fix this is to make sure that when you compile emacs that -R flag is passed to the linker when linking the emacs binaries. I haven't compiled emacs recently, so I don't remember what needs to be done to make this happen. Typically, setting the LDFLAGS='-R/something/something/lib" environment variable works, sometimes you need to pass this ld flag as an option to the configure script, and finally, you can edit the generated Makefile(s) after running configure. As for installing Xaw3d-1.5.tar.gz, extract the tar archive and then look at the files with names that might suggest that they contain installation instructions (e.g. README, INSTALL, etc) and see what they say. There is no standard way to compile things from source. Tinkering with source packages is useful for learning how to build unix software but in lots of cases I'd also settle for precompiled packages (specially if a copy of emacs and a few other standard package is all that you need). Solaris 8 and 9 companion CDs contain a copy of emacs and you can also download emacs packages from sites like www.sunfreeware.org or www.blastwave.org. -akop