Guest daYz Posted January 20, 2003 Report Share Posted January 20, 2003 Hi, I trying to compile a program, but the installation gives me the next error: gcc -fPIC -g -O2 -Wall -I. -static -o saveme saveme.c /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status make: *** [saveme] Error 1 urpmf tells me that /usr/bin/ld is from binutils, but I have that installed. The Makefile contains the line LIBS = -lc. I have packages installed that contain libs. ./configure went fine I believe. Does someone know how to solve this? Thanks Quote Link to comment Share on other sites More sharing options...
bvc Posted January 29, 2003 Report Share Posted January 29, 2003 Did you try ./configure with --prefix=/usr? ./configure --prefix=/usr See ./configure --help for other options Quote Link to comment Share on other sites More sharing options...
Guest daYz Posted January 29, 2003 Report Share Posted January 29, 2003 Hi, Sorry for the late response bvc. The problem is solved now. The program needed glibc.a. I installed an glibc package wich solved it. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest HaloScan Posted January 29, 2003 Report Share Posted January 29, 2003 Thanks for the ./configure --help thing bvc. I had been having trouble compiling Gaim CVS since the configure script died on the GTK 2 check everytime but the ./configure --help showed a way around that. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.