Re: Linking fortran code - lg2c library

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

 



On 10/22/07, Johann Rost wrote:
> Thanks for your answer. How can I create the "true"
> library file "/usr/lib/libg2c.so"   ?
I assume you have a root permission for 'root' on your machine.
Do a following sequence of commands:

--> su -
Now insert root's password
--> cd  /usr/lib/
--> ln -s /usr/lib/libg2c.so.0.0 libg2c.so
This creates a soft link to a library.
--> exit

Then try to compile your code. If does not help - you will have to do
a small intervention into makefiles, be prepared :)

By the way, does somebody in this list know what may cause gcc to find
shared libraries supplied with "-l" option during linking ?

Thanks, 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