libtool
[Top][All Lists]
Advanced

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

Re: Libtool link order problem


From: Albert Chin
Subject: Re: Libtool link order problem
Date: Wed, 28 Jan 2004 13:22:51 -0600
User-agent: Mutt/1.4i

On Wed, Jan 28, 2004 at 10:59:32PM +0900, Peter O'Gorman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Zachary Pincus wrote:
> | Which libtool translates into the following link command:
> | g++ -dynamiclib -single_module  -o OUTPUT.dylib  [input .o files]
> | /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libXp.dylib
> | /usr/X11R6/lib/libXext.dylib /usr/X11R6/lib/libICE.dylib
> | /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libXt.dylib
> | /usr/X11R6/lib/libXmu.dylib -L/usr/X11R6/lib -L/sw/lib
> | /sw/lib/libXm.dylib /sw/lib/libMrm.dylib /sw/lib/libUil.dylib -lz -lm
> | -install_name  /usr/local/lib/libhighgui-0.9.5.dylib
> | -compatibility_version 6 -current_version 6.0
> |
> 
> I don't see what can be done about this. When I look at fink's libXm.la I
> see most of those libs in dependency_libs, which implies that they need to
> come on the link line before libXm.dylib. They do.

Shouldn't the libraries in dependency_libs come after the library? Or
am I missing something?

-- 
albert chin (address@hidden)




reply via email to

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