Hi Dupre,
On Mon, 2008-02-04 at 11:06 +0000, Dr P Dupre wrote:
> Hello,
>
> In fact the problem is with libf2c.so. This library is still bugged
> although libf2c.a is OK. It is like for a very long time !
Erhm, why are you linking against libf2c? I assume you're using G77 or GFortran. In either case, you should use the appropriate library for that compiler: libg2c for G77 and libgfortran (possibly also libgfortranbegin) for GFortran.
If you use Autotools for your build system, then "configure" will figure these things out automatically for you. A quick search on ROOTTalk will give you pointers to examples.
If you rolled your own build system - which I certainly would not recommend - then you need to make proper checks yourself - see for example the ROOT build system.
Note, that you should not link against an archive (aka static library - normally ending in ".a") when building libraries (aka shared library - normally containing ".so" and ending in a version number), since the archive does not contain position independent code (PIC). If you're building an executable via archives, then you need to be a bit careful with the link order (most derived first).
Yours,
-- ___ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 447 ____| Email: cholm_at_nbi.dk Web: www.nbi.dk/~cholm | |Received on Mon Feb 04 2008 - 12:31:41 CET
This archive was generated by hypermail 2.2.0 : Tue Feb 05 2008 - 11:50:01 CET