Re: Linking fortran code - lg2c library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
  Two suggestions for your question:

1) I see a problem in a fact that a there is no soft link named
"/usr/lib/libg2c.so" to a "true" library file
(I think it is "/usr/local/gcc3/lib/libg2c.so.0.0.0" in a case you described).
Please create it.

2)  Try to supply the full name of that library instead of using "-l"
option, i.e. write "/usr/lib/libg2c.so" instead of "-lg2c". I am not
sure the option "-l" works for shared libraries, at least not by default.

2a) You have more than one libg2c on a system. Do you know which
 of them you want to use ?

Regards,
  Dima.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux