Re: Problem with libg2c

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

 




-----Original Message-----
From: Athichart Tangpong <tangpong@xxxxxxxxxxx>
To: gcc-help@xxxxxxxxxxx
Date: Wed, 12 Jul 2006 01:12:16 -0400
Subject: Problem with libg2c

Dear Sir,

I have a problem with libg2c on a newly-installed Fedora Core 5 system. 
When I compile programs that require libg2c, I have got this error.

/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1

However, when I check, I have found that it exists on the file system.

/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.so
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libg2c.a
/usr/lib/libg2c.so.0.0.0
/usr/lib/libg2c.so.0

Does anyone know how to fix this problem? Thank you in advance for your 
help.
_____________________________________________________
You could try a symlink from those libraries into some place on the library search path of the compiler you are using
(for g++, try g++ -print-search-dirs), copy it to your current directory, or specify the full path of the library you want.
Tim Prince


[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