bug-libtool
[Top][All Lists]
Advanced

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

libtool-1.4.3: build failures on Sun Solaris 2.7 and 2.8


From: Nelson H. F. Beebe
Subject: libtool-1.4.3: build failures on Sun Solaris 2.7 and 2.8
Date: Wed, 13 Nov 2002 16:34:08 -0700 (MST)

I got identical build failures for libtool-1.4.3 on Sun Solaris 2.7
and 2.8 with gcc-2.95.3:

        gcc -shared ltdl.lo -L/usr/local/lib -ldl -lc -Wl,-rpath -Wl,-soname
                -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.0
        /usr/local/sparc-sun-solaris2.7/bin/ld: cannot open libltdl.so.3: No
        such file or directory
        collect2: ld returned 1 exit status

This seems to be a simple problem of an incorrect -Wl,-rpath option.

In /usr/local/lib on both systems, I have these libraries:

        libltdl.a               libltdl.so              libltdl.so.0.1.1
        libltdl.so.3            libltdl.so.3.1.0        libltdl.la
        libltdl.so.0            libltdl.so.0.1.2        libltdl.so.3.0.0

I then tried a build on both Solaris 2.7 and 2.8 with the Sun native
compilers:

        env CC=cc CXX=CC ./configure && make all check

The build succeeded, and the validation tests almost made it:

        FAIL: hardcode.test

        ====================
        1 of 83 tests failed
        ====================

I've now done a "make install" on both systems, since I want to see
whether this new version of libtool fixes build problems with some
other packages.

-------------------------------------------------------------------------------
- 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  -
-------------------------------------------------------------------------------




reply via email to

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