Hello Thierry,

* Thierry Pierret wrote on Wed, Nov 19, 2008 at 12:19:04PM CET:
> 
> g++ ... -shared ... -o lib_out_sdl.so ... -lccext2 -l... ... `pkg-config
> --libs sdl`
> 
> that I transformed into :
> 
> $(SHELL) libtool --mode=link --tag=CXX g++ ...
> 
> The normal output of the pkg-config command is :
> 
> -Wl,-rpath,/home/navidev/Dev/ltib/rootfs/usr/lib
> -L/home/navidev/Dev/ltib/rootfs/usr/lib -lSDL -lpthread
> 
> Using libtool, I can notice that -lSDL has been replaced with
> /usr/lib/libSDL.so, which is the wrong library. And only this library option
> has been replaced. All the other -l options have not been subtituted.

In order to be able to say what's going on, we need the output of
  ./libtool --tag=CXX --config

as well as the output of the --mode=link command, with --debug added
as first argument to ./libtool.  Please gzip or bzip2 large outputs.
Thanks.

However, please also note that the current Libtool version is 2.2.6,
so that if you encounter bugs fixed since, we won't take much action.
And we will be more interested in reading logs of 2.2.6.

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to