unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* ["Nelson H. F. Beebe" <beebe@math.utah.edu>] Re: guile-1.5.6: some build comments: libguile.so.14 not found
@ 2002-04-01 18:35 Neil Jerram
  0 siblings, 0 replies; only message in thread
From: Neil Jerram @ 2002-04-01 18:35 UTC (permalink / raw)



[-- Attachment #0: Type: message/rfc822, Size: 5143 bytes --]

From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: Neil Jerram <neil@ossau.uklinux.net>
Cc: beebe@math.utah.edu
Subject: Re: guile-1.5.6: some build comments: libguile.so.14 not found
Date: Mon, 1 Apr 2002 09:29:09 -0700 (MST)
Message-ID: <CMM.0.92.0.1017678549.beebe@suncore.math.utah.edu>

>> ...
>>     Nelson> and-output-texi > guile.texi || { rm guile.texi; false; }
>>     Nelson>     Could not load program guile
>>     Nelson>     Member libguile.so.14 not found or file not an archive
>>     Nelson>     Member libguile.so.14 not found or file not an archive
>>     Nelson>     Could not load library libguile.a[libguile.so.14]
>>     Nelson>     Error was: No such file or directory
>>
>> Scary libtool issue.  If you ignore this problem (by using `make -k'),
>> does the installed guile work correctly?
>>
>> In other words, is this a case of `libtool doesn't work at all' on
>> AIX, or is it only a pre-installation problem?
>> ...

In my experience, three GNUware packages are responsible for far too
many breaks of builds of other packages: -liconv, -lintl, and libtool.

I went back to the IBM AIX 4.2 system, and tried "make -k": this
produced the same error:

	Testing /local/build/guile-1.5.6/pre-inst-guile ...
	with GUILE_LOAD_PATH=/local/build/guile-1.5.6/test-suite
	Could not load program guile
	Member libguile.so.14 not found or file not an archive
	Member libguile.so.14 not found or file not an archive
	Could not load library libguile.a[libguile.so.14]
	Error was: No such file or directory
	FAIL: check-guile
	===================
	1 of 1 tests failed
	===================

I then tried setting LD_LIBRARY_PATH:

	env LD_LIBRARY_PATH=`pwd`/libltdl/.libs:`pwd`/libguile/.libs make -k check
	...
	Could not load program guile
	Member libguile.so.14 not found or file not an archive
	Member libguile.so.14 not found or file not an archive
	Could not load library libguile.a[libguile.so.14]
	Error was: No such file or directory

Then I remembered: AIX does not use .so files at all: it uses only .a
files, and the run-time linker can link from them as if they were
shared libraries.  So, why is guile even building .so files on AIX?

Unfortunately, neither AIX 4.2 nor AIX 4.3 (nor Compaq/DEC OSF/1 4.0
(but OSF/1 5.0 does have ldd)) has an ldd command to find out what
libraries an executable requires.

Here is the version of libtool on the AIX 4.2 system:

	% libtool --version
	ltmain.sh (GNU libtool) 1.4.2a (1.922.2.79 2001/11/28 21:50:31)

That is the latest version available from
ftp://ftp.gnu.org/pub/libtool.  There is a newer version, 1.4d, at
ftp://alpha.gnu.org/gnu/libtool/, but libtool has given me so much
grief that I'm reluctant to try an alpha release.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: beebe@math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe@acm.org  beebe@computer.org -
- 155 S 1400 E RM 233                       beebe@ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-01 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01 18:35 ["Nelson H. F. Beebe" <beebe@math.utah.edu>] Re: guile-1.5.6: some build comments: libguile.so.14 not found Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).