[BuildTools-tickets] Re: [BuildTools] #42: lapack.a vs lapack.so

BuildTools coin-trac at coin-or.org
Tue Apr 17 18:48:17 EDT 2007


#42: lapack.a vs lapack.so
--------------------+-------------------------------------------------------
Reporter:  fmargot  |        Owner:  andreasw           
    Type:  defect   |       Status:  assigned           
Priority:  minor    |    Component:  configuration tests
 Version:  0.5      |   Resolution:                     
Keywords:           |  
--------------------+-------------------------------------------------------
Changes (by andreasw):

  * status:  new => assigned

Comment:

 Sorry, it seems that noone replied to this ticket...

 The flags you specify don't influence what libraries libtool is looking
 for, only which types of libraries are generated (in your specific
 project).

 You can try the following:

 Specify the complete path to the library file (such as {{{--with-
 lapack=/usr/lib/liblapack.a}}}).  This might do it, but sometimes libtool
 changes the linker flags (very annoying).

 Otherwise, I think there is also a flag, something like {{{-static}}} for
 libtool or the compiler, which prompts it to generate an executable that
 does not depend on shared libraries.  You could put that into ADD_CXXFLAGS
 or so...?

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/42#comment:1>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list