Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-21-2003, 07:21 AM   #1
Senior Member
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg

Hi there. I'm triening to compile cdrtools. But during the compilation I get the above error : "/usr/bin/ld: cannot find -lscg" . I searched google of this exact error but it came up with no matches what so ever. I also searched but again I got nothing.
I'm running kernel 2.6.0 .

Please help
Old 12-21-2003, 08:15 AM   #2
Senior Member
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Original Poster
Rep: Reputation: 45
And once again I solve the problem my self.
This was what went wrong: when you compile cdrtools, a library called "libscg" also get's compiled. This library needs the kernel 2.4.x headers to compile. But when I installed 2.6, I made the symlink "/usr/src/linux" point to "/usr/src/linux-2.6.0". The library won't compile with the headers of the 2.6.0 kernel, so the compilation of the library faild.
The subsecuent linking of the other programs thus also faild.
Thank god I still had the old kernel sources lying around


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 -lusb error?? Hyperion007 Linux - Newbie 5 07-25-2016 07:28 PM
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 03:28 AM
Compiling Evas (E17) - /usr/bin/ld: cannot find -lvga victorhooi Linux - Software 1 10-20-2005 04:33 PM
kernel 2.6.7 and cdrtools -- "ld: cannot find -lscg" Ebel Linux - Software 2 07-27-2004 02:16 PM
xcdroast installation problems despite use of --with-cdrtools-prefix=/usr/bin ??? Raptor Ramjet Slackware 4 01-27-2004 06:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration