Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot fond -lscg when emerging cdrtools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Jan 21, 2003 3:02 am    Post subject: cannot fond -lscg when emerging cdrtools Reply with quote

emerge cdrtools fails with

Code:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [OBJ/x86-linux-cc/scgcheck] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrtools-2.0/work/cdrtools-2.0/scgcheck'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrtools-2.0 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)

gsfgf@gentoo src $


According to a searchthis can be caused by /usr/src/linux pointing to the worng source tree. That wasn't the problem. Someone also mentioneed trouble w/ scsi, but i don't even have scsi support built in since cdrtools now supports ATAPI burners.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jan 23, 2003 6:11 pm    Post subject: Reply with quote

i had the same errr with 2.1_alpha1
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jan 23, 2003 8:05 pm    Post subject: Reply with quote

i added scsi supporft to the kernel, loaded necesary modules and ge the sme error. I also get this error w/ cdrtools 1.11
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Jan 26, 2003 3:51 am    Post subject: Reply with quote

help!
I think i need libscg. Where can i get that?
Back to top
View user's profile Send private message
Ralusp
n00b
n00b


Joined: 11 Dec 2002
Posts: 11

PostPosted: Sun Jan 26, 2003 3:35 pm    Post subject: Reply with quote

libscg actually comes with cdrtools. You are getting the error because cdrtools tried to build it, but failed. For some reason it continues building other pieces until finally something tries to use libscg.

When I had this problem, I managed to fix it by changing my /usr/src/linux symlink to point to a 2.4 kernel instead of the 2.5 kernel that I boot from.

Hope this helps.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Sun Jan 26, 2003 6:12 pm    Post subject: Reply with quote

I changed /usr/src/linux to point to a 2.4.20 kernel and i worked. It didn't with the 1.5.19 not the 2.5.59 kernel. Odd.
Back to top
View user's profile Send private message
Mandark
n00b
n00b


Joined: 20 Jan 2003
Posts: 8
Location: Groningen, The Netherlands

PostPosted: Mon Mar 10, 2003 11:52 am    Post subject: Alpha release *does* compile with 2.5 kernel. Reply with quote

I just emerged version 2.01_alpha4 of cdrtools. It seems to have no problems compiling, while 2.0 still does. So I guess they fixed it.
Back to top
View user's profile Send private message
Stalione
Guru
Guru


Joined: 21 Apr 2002
Posts: 335

PostPosted: Wed Mar 26, 2003 5:25 pm    Post subject: Reply with quote

I had exact same issue...tried to emerge 2.0, failed, 1.11.?? failed, tried 2.0.??-alphas...failed =( . Pointed my /usr/src/linux to linux-2.4.20-r2 (previously it was pointing to linux-2.4.19-r9) and it worked!
Back to top
View user's profile Send private message
Stalione
Guru
Guru


Joined: 21 Apr 2002
Posts: 335

PostPosted: Mon Mar 31, 2003 6:08 pm    Post subject: Reply with quote

I have reported this to bugzilla (Bug 18547)
Back to top
View user's profile Send private message
Martin Holzer
Retired Dev
Retired Dev


Joined: 08 Jan 2003
Posts: 16
Location: Vienna/Austria

PostPosted: Mon Mar 31, 2003 8:07 pm    Post subject: Reply with quote

for 2.5.x kernel see bug #12285
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum