bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

["Nelson H. F. Beebe" <address@hidden>] Re: guile-1.5.6: some build comm


From: Neil Jerram
Subject: ["Nelson H. F. Beebe" <address@hidden>] Re: guile-1.5.6: some build comments: libguile.so.14 not found
Date: 01 Apr 2002 19:35:28 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

--- Begin Message --- Subject: Re: guile-1.5.6: some build comments: libguile.so.14 not found Date: Mon, 1 Apr 2002 09:29:09 -0700 (MST)
>> ...
>>     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: address@hidden  -
- Department of Mathematics, 110 LCB        address@hidden  address@hidden -
- 155 S 1400 E RM 233                       address@hidden                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------





--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]