Not that I know much about lapackpp, just my considerations ..
cd lapackpp-2.5.3/ ( Example )
./configure --enable-static
.. is what it takes.
( If you want a debug version, better make it later / seperately
Can't imagine "debug" is required by your application.)
'make' will then create lapackpp.a in lapackpp-2.5.3/src/.libs/
And I get no errors with that.
Fortran 77, ATLAS, f77blas, cblas, gfortran, lapack are all checked
in automatically by " ./configure ".
But why use it ? liblapackpp.so.14.2.0 etc. is just as portable.
You can place it anywhere and start your application with a script :
#!/bin/sh
export LD_LIBRARY_PATH=./lib
exec ./<executable>
.. when you e.g. have the "lib/" folder in the same directory.
.....
.....
The best known example is Firefox with some 15 shared libraries
in the folder firefox/ . All included with the script "firefox" etc.
.....
Last edited by knudfl; 01-29-2010 at 08:59 AM.
|