LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-21-2003, 07:21 AM   #1
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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 linuxquestions.org but again I got nothing.
I'm running kernel 2.6.0 .

Please help
 
Old 12-21-2003, 08:15 AM   #2
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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
 
  


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
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
/usr/bin/ld: cannot find -lusb error?? Hyperion007 Linux - Newbie 1 08-21-2003 04:16 AM


All times are GMT -5. The time now is 06:03 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