Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15465 - Compilation failes due to missing /usr/kde/3/lib after kde3.1 update and kde 3.0.5 removal. ld complains about missing -lartsc
Summary: Compilation failes due to missing /usr/kde/3/lib after kde3.1 update and kde ...
Status: RESOLVED DUPLICATE of bug 10869
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 20:00 UTC by clemenswaechter
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 clemenswaechter 2003-02-10 20:00:17 UTC
I used kde 3.0.5 for a while and then updated to 3.1 when it appeared. To save space I removed 
the kde 3.0.5 which deleted /usr/kde/3/lib (used emerge depclean for it, iirc). Today I did a emerge sync 
and started emerge -u world. But it complained about the missing -lartsc. I narrowed the problem 
down to this: -lartsc is searched in /usr/kde/3/lib but not in /usr/kde/3.1/lib.  
To workaround I exported CFLAGS=-L/usr/kde/3.1/lib which solved the problem for libmpeg2.  
That doesn't work for avifile though. As another workaround I symlinked the libdir. This worked for 
avifile. 

Reproducible: Always
Steps to Reproduce:
1. emerge kde 3.0.5 and then kde 3.1. kde 3.0.5 should be the the default before installing kde 3.1 I 
think. 
2. unmerge kde3.0.5 deleting /usr/kde/3/lib (emerge depclean should do this among other things) 
3. try to emerge libmpeg2 or avifile 
Actual Results:  
Didn't have the chance to try it due to the lack of a test system but it should reproduce the error.  
Results see above 


Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19 i686 AMD Duron(tm) Processor 
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib 
png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex 
bonobo svga tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome 
gtk qt kde motif opengl cdr" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-mcpu=athlon -O3 -pipe" 
CXXFLAGS="-mcpu=athlon -O3 -pipe" 
ACCEPT_KEYWORDS="x86"                            
MAKEOPTS="-j2"   
AUTOCLEAN="yes"                                                                
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Patrik Kullman 2003-02-11 04:54:59 UTC
Have you tried env-update'ing?
Check your /etc/ld.so.conf so it contains /usr/kde/3.1/lib, if it doesn't, even after an env-update, check your /etc/env.d directory.

If it does.. I don't know. ;/
Comment 2 clemenswaechter 2003-02-11 11:18:45 UTC
Yes. Tried env-update but it doesn't help. ld.so.conf contains the correct kde3.1 dir. 
The only problem is that the kde builds still try to link against the libs in the 
nonexistant kde3 dir.  
gcc -lartsc gives an error if no library is given.  
Checked the information in /etc/env.d. The kde-related info is correct. No mistakes 
found there. 
Comment 3 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-12 07:41:04 UTC
same as bug #10869, please look there. 

*** This bug has been marked as a duplicate of 10869 ***