Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72394 - amarok-1.1.1 doesn't compile with i686-pc-linux-gnu/bin/ld: cannot find -lartsc
Summary: amarok-1.1.1 doesn't compile with i686-pc-linux-gnu/bin/ld: cannot find -lartsc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 14:20 UTC by Martin Akselsen
Modified: 2005-02-12 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Akselsen 2004-11-24 14:20:39 UTC
emerge amarok results in:

/bin/sh ../../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o amarok_libvisual -lvisual -lm -ldl   -lSDL libvisual.o
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[5]: *** [amarok_libvisual] Error 1
make[5]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis/libvisual'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1'
make: *** [all] Error 2

evil work around:
ln -s /usr/kde/3.3/lib/libartsc.so /usr/lib/libartsc.so


Reproducible: Always
Steps to Reproduce:
1. export ACCEPT_KEYWORDS="~x86"
2. emerge amarok
3. 

Actual Results:  
build error as above.

Expected Results:  
installed amarak.

Carmen root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.2-r9, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.inode.at http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/marty/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib accessibility alsa apache2 apm arts avi berkdb bitmap-fonts
bonobo cdr crypt cscope cups dvd dvdr encode esd f77 fam flac flash foomaticdb
fortran gd-external gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick
imap imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozcalendar
mozilla mpeg mysql nas ncurses network nls oggvorbis opengl oss pam pdflib perl
png postgres python qt quicktime readline samba sdl slang speex spell sse ssl
svga tcltk tcpd tetex tiff truetype x86 xine xml xml2 xmms xv zlib"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-11-24 14:46:21 UTC
Do you have the line: 
"/usr/kde/3.3/lib"

in your /etc/ld.so.conf ?

if no, can you post the contents of /etc/env.d/47kdepaths-3.3.1 ? 

Thanks.
Comment 2 Martin Akselsen 2004-11-24 15:49:24 UTC
Hi,

here are the contents of /etc/ld.so.conf:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
/usr/lib/opengl/xfree/lib
/usr/lib/MozillaFirefox
/usr/lib/mozilla
/usr/X11R6/lib
/opt/sun-j2sdk-1.4.1/jre/lib//
/opt/sun-j2sdk-1.4.1/jre/lib//server/
/usr/qt/3/lib
/usr/kde/3.3/lib
/usr/lib/speech-tools/lib
/usr/games/lib
/usr/lib/fltk-1.1

"/usr/kde/3.3/lib" is their, so it should work.

Martin
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2005-01-05 13:43:08 UTC
Did you change the use-flag "arts"?

Do you have a file /usr/kde/3.3/lib/libartsc.so?

Can you retry to re-emerge arts before emerging amarok and report if this fixes this bug?
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-12 09:39:37 UTC
No reply from reporter.