Re: g2root on LINUX

Nikolay I. Root (nroot@inp.nsk.su)
Wed, 1 Jul 1998 17:49:41 +0700 (NSD)


On Tue, 30 Jun 1998, Norbert Danneberg wrote:

> HI Rooters,
>
> g2root seams to require the shared library libf2c.so.0 which I cant find
> on my Linux system. Is there a way to convert libf2c.a into a shared
> library? When I try somthing like:
> ld -shared libf2c.a -o libf2c.so.0
> I get a shared library file which causes g2root to produce a core.
>
> Thanks,
>
> Norbert
>
Hi Norbert,
When I'm faced with the same problem (for 'cmz'),
i create libf2c.so with :

ar -x libf2c.a
g77 -shared -Wl,-soname,libf2c.so.0 *.o -o libf2c.so.0.20

PS: You can add switch '-v' to see the difference with 'ld' way ...
PSS: 'cmz' works with my libf2c.so ...

Regards,
Nikolay Root
BINP, Novosibirsk
email : nroot@inp.nsk.su