[ATrpms-users] FC4 and g77 and f2c
Andre.Fettouhi at exp2.physik.uni-giessen.de
Andre.Fettouhi at exp2.physik.uni-giessen.de
Sun Jun 19 12:55:17 CEST 2005
I am trying to compile a c/c++ program that has a few fortran files. These are
compiled with the -lg2c option. The program compiled without a problem on FC2
and FC3 but on FC4 I get the error message
[root at pczo Go4FitExample]# make
g++ -O /usr/local/Go4/Go4FitExample/Example3.o
/usr/local/Go4/Go4FitExample/Example3Func.o -L/usr/local/root/lib -lCore -lCint
-lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics
-pthread -lm -ldl -rdynamic -lMinuit -L/usr/local/Go4/Go4Library -lGo4Fit -lg2c
-o /usr/local/Go4/Go4FitExample/Example3
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: *** [/usr/local/Go4/Go4FitExample/Example3] Error 1
For some reason it can't find libg2c but I have installed all fortran libraries
also the compat-gcc etc. to make sure I can compile g77. Strangely I can't use
locate lib2gc to find them, but on FC2/FC3 I could.
Regards
André Fettouhi
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the atrpms-users
mailing list