Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-08-2004, 01:10 PM   #1
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,
Old 06-08-2004, 04:50 PM   #2
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,248

Rep: Reputation: 79
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
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!!


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 PM.

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