Re: g2root on LINUX

From: Nikolay I. Root (nroot@inp.nsk.su)
Date: Wed Jul 01 1998 - 12:49:41 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET