libtool-patches
[Top][All Lists]
Advanced

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

Re: libtool/ltmain linking wrong (/usr/lib) libstdc++


From: Liviu Nicoara
Subject: Re: libtool/ltmain linking wrong (/usr/lib) libstdc++
Date: Sun, 29 Apr 2007 17:45:43 -0400
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Ralf Wildenhues wrote:
> [ let's continue this discussion on libtool-patches, please ]

Hi Ralf,

I applied the patch on HEAD and I obtained this [AFAICT correct] output:

/bin/sh ../libtool --tag=CXX --mode=link icpc -g -O2 -L../source -lford -o test test.o libtool: link: icpc -g -O2 -o .libs/test test.o -L/tmp/ford/source /tmp/ford/source/.libs/libford.so /opt/compilers/gcc-4.1.2/lib/libstdc++.so -L/opt/compilers/gcc-4.1.2/lib -L/opt/compilers/gcc-4.1.2/lib/gcc/i486-slackware-linux/4.1.2 -Wl,-rpath,/tmp/install/lib -Wl,-rpath,/opt/compilers/gcc-4.1.2/lib

Also:

$ ldd tests/.libs/test
        linux-gate.so.1 =>  (0xffffe000)
        libford-0.0.1.so => not found
libstdc++.so.6 => /opt/compilers/gcc-4.1.2/lib/libstdc++.so.6 (0xb7e21000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7dfe000)
libgcc_s.so.1 => /opt/compilers/gcc-4.1.2/lib/libgcc_s.so.1 (0xb7df3000) libcxaguard.so.5 => /opt/compilers/intel-9.1.042/lib/libcxaguard.so.5 (0xb7df1000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7cd4000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7cd0000)
        /lib/ld-linux.so.2 (0xb7f16000)

(there are no conflicts)

I am attaching the output of linking the project's library, the project's test program and the output of --config with CXX tag.

Thanks,
Liviu


Attachment: libtool.config.gz
Description: application/gzip

Attachment: libtool.link.library.gz
Description: application/gzip

Attachment: libtool.link.prog.gz
Description: application/gzip


reply via email to

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