Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE flag problems: arts will not die
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
waf
n00b
n00b


Joined: 08 Feb 2003
Posts: 26
Location: Ottawa, Ontario, Canada

PostPosted: Mon Feb 10, 2003 4:08 am    Post subject: USE flag problems: arts will not die Reply with quote

This ld: cannot find -lartsc error is comming up in more than one compile... I've recently tried ot emerge DirectFB... and I get the same error.

Quote:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[3]: *** [libdirectfb.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.16-r1/work/DirectFB-0.9.16/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.16-r1/work/DirectFB-0.9.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.16-r1/work/DirectFB-0.9.16'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/DirectFB-0.9.16-r1 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! (no error message)

In my /etc/make.conf:
Quote:
USE="... -kde ... -arts"

And I still get the same errors. Is it a problem with ld? Any ideas how I can fix this?


Last edited by waf on Mon Feb 10, 2003 2:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
rew
n00b
n00b


Joined: 28 Aug 2002
Posts: 47
Location: Oregon

PostPosted: Mon Feb 10, 2003 8:41 am    Post subject: aRts = the Devil's work Reply with quote

Personally I hate aRts and cross the street when ever I see it, but you may enjoy hell. I am not sure this will fix your problem, but try removing the aRts line from your USE line. DirectFB (which is f'ing cool) does not use it. Retry after that. If it still doesn't work... uhhh, wait for rac to respond. :-)
_________________
linux-2.4.20 i686 SMP
Tyan Tiger MP
Dual Athlon MP 1600+
512MB EEC (1/4)
PNY Verto 64MB - GeForce4 MX 420
'Cheep-ass NIC, CDRW & DVD'
Back to top
View user's profile Send private message
waf
n00b
n00b


Joined: 08 Feb 2003
Posts: 26
Location: Ottawa, Ontario, Canada

PostPosted: Mon Feb 10, 2003 2:24 pm    Post subject: Reply with quote

Same problem. Even though I've removed kde AND arts from my useflags. Is there anything else that could be overriding /etc/make.conf? Is there some thing that I need to update?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Feb 10, 2003 8:04 pm    Post subject: Reply with quote

Is avifile-0.7.15.20020816: -lartsc not found relevant?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
waf
n00b
n00b


Joined: 08 Feb 2003
Posts: 26
Location: Ottawa, Ontario, Canada

PostPosted: Mon Feb 10, 2003 8:45 pm    Post subject: Reply with quote

Sadly no...

Code:
root@mao root # ls /usr/lib/libart*
/usr/lib/libartConf.sh         /usr/lib/libart_lgpl_2.a
/usr/lib/libart_lgpl.a         /usr/lib/libart_lgpl_2.la
/usr/lib/libart_lgpl.la        /usr/lib/libart_lgpl_2.so
/usr/lib/libart_lgpl.so        /usr/lib/libart_lgpl_2.so.2
/usr/lib/libart_lgpl.so.2      /usr/lib/libart_lgpl_2.so.2.3.10
/usr/lib/libart_lgpl.so.2.2.0


Now I know something's wrong... but I don't know what...
Back to top
View user's profile Send private message
waf
n00b
n00b


Joined: 08 Feb 2003
Posts: 26
Location: Ottawa, Ontario, Canada

PostPosted: Mon Feb 10, 2003 10:08 pm    Post subject: Answering (and fixing) my own problem... Reply with quote

And some other people's problems aswell.
(Solution: Seach locally)
If you've got KDE 3.1 installed on your system, arts emerges the library libartsc.so to /usr/kde/3.1/lib/libartsc.so ... if it fails because it cannot find lartsc.

You should link this library to /usr/lib and /usr/kde/3/lib:
Code:
ln -s /usr/kde/3.1/lib/libartsc.so /usr/lib/
ln -s /usr/kde/3.1/lib/libartsc.so /usr/kde/3/lib/


Now I'm feeling quite foolish... sorry to bug you guys.
Back to top
View user's profile Send private message
green sun
Guru
Guru


Joined: 04 Nov 2002
Posts: 325
Location: Wista, MA

PostPosted: Tue Feb 11, 2003 3:05 am    Post subject: Reply with quote

yes! this had been bugging me all evening. Should have thought to search these forums *first*, not last :D

the linking solved emerge problems with libmpeg2 I was having...

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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