LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-08-2004, 01:10 PM   #1
aa2bi
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
/usr/bin/ld: cannot find -lc


Hi there.

I'm trying to install RQLv2.1 in Mandrake 9.0.

./configure runs OK, and 'make' stops in this:

gcc -g -O2 -Bstatic -r -L/usr//bin/../lib -L///usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2 -L./lib -L../lib -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib/postgresql graph_constructor.c /bin/graph_constructor.o -o graph_constructor

/usr/bin/ld: cannot find -lc

As you can see, the problem is the last line. Is there anything I can do?

Thanks for your time,
Tony
 
Old 06-08-2004, 04:50 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
You are missing some needed development package that provides libc.a From the Mandrake control center, look for a package to install that begins with "glibc-devel...." Try installing it and then try re-compiling RQLv2.1. Hope that works.
 
Old 06-09-2004, 06:32 AM   #3
aa2bi
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hi there m_yates.

OK, I fixed it. I don't know why, but as you said, glibc packages were not installed. So, I did, and it worked fine.

Thanks for your help!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/ld: cannot find -lXft ? minhnv Ubuntu 2 10-26-2005 03:16 AM
/usr/bin/ld: cannot find -lgdl-1 Lobais Linux - Software 2 10-14-2005 08:25 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
/usr/bin/ld: cannot find -lxrc aseedb Linux - Newbie 0 09-25-2003 05:57 PM


All times are GMT -5. The time now is 03:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration