[Bonmin] how to build a completely static version version of
bonmin
Pierre Bonami
pbonami at andrew.cmu.edu
Sun Jul 30 23:38:46 EDT 2006
Dear Abhishek,
On my machine I tried the following command:
LDFLAGS="-Bstatic" ../configure enable_static=yes enable_shared=no
build_old_libs=yes build_libtool_libs=no
and it seemed to work (I could move and execute bonmin on a machine wich
don't have gfortan).
I hope it will work for you also.
Cheers,
Pierre
Kumar Abhishek wrote:
> Hi,
> I am trying to build a static version of bonmin..
> The command that I use is
>
> ../configure -C enable_static=yes enable_shared=no build_old_libs=yes
> build_libtool_libs=no
>
> followed by make..
>
> however, looking at the output of make, it looks like libgfortran.so
> is being linked to the solver instead of libgfortran.a:
>
> this is part of the last line of make:
> -L/usr/lib/../lib /usr/lib/libgfortranbegin.a /usr/lib/libgfortran.so
> -lm -lgcc_s
>
> how can I build a completely static version that has no soft links to
> any library build in.. I want to do this because I want to run bonmin
> on a different machine where the library libgfortran is not available
> at exactly the same place (/usr/lib)
>
> any help regarding this will be highly appreciated...
> thanks..
> Cheers,
> Abhishek.
> _______________________________________________
> Bonmin mailing list
> Bonmin at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/bonmin
>
More information about the Bonmin
mailing list