View previous topic :: View next topic |
Author |
Message |
waf n00b
Joined: 08 Feb 2003 Posts: 26 Location: Ottawa, Ontario, Canada
|
Posted: Mon Feb 10, 2003 4:08 am Post subject: USE flag problems: arts will not die |
|
|
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 |
|
|
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Mon Feb 10, 2003 8:41 am Post subject: aRts = the Devil's work |
|
|
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 |
|
|
waf n00b
Joined: 08 Feb 2003 Posts: 26 Location: Ottawa, Ontario, Canada
|
Posted: Mon Feb 10, 2003 2:24 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
|
Back to top |
|
|
waf n00b
Joined: 08 Feb 2003 Posts: 26 Location: Ottawa, Ontario, Canada
|
Posted: Mon Feb 10, 2003 8:45 pm Post subject: |
|
|
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 |
|
|
waf n00b
Joined: 08 Feb 2003 Posts: 26 Location: Ottawa, Ontario, Canada
|
Posted: Mon Feb 10, 2003 10:08 pm Post subject: Answering (and fixing) my own problem... |
|
|
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 |
|
|
green sun Guru
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Tue Feb 11, 2003 3:05 am Post subject: |
|
|
yes! this had been bugging me all evening. Should have thought to search these forums *first*, not last
the linking solved emerge problems with libmpeg2 I was having...
thanks! |
|
Back to top |
|
|
|