Gentoo Archives: gentoo-user

From: Daniel D Jones <ddjones@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr/kde/3.5/lib/ and /usr/lib
Date: Sat, 20 Jun 2009 13:48:05
Message-Id: 200906200948.02068.ddjones@riddlemaster.org
In Reply to: Re: [gentoo-user] /usr/kde/3.5/lib/ and /usr/lib by Alan McKinnon
1 On Friday 19 June 2009 03:40:08 Alan McKinnon wrote:
2 > On Friday 19 June 2009 02:09:21 Daniel D Jones wrote:
3 > > I'm getting lots of errors like the following:
4 > >
5 > > * ERROR: app-office/karbon-1.6.2 failed.
6 > > * Call stack:
7 > > * ebuild.sh, line 49: Called src_unpack
8 > > * environment, line 4471: Called kde-meta_src_unpack
9 > > 'unpack' * environment, line 3153: Called die
10 > > * The specific snippet of code:
11 > > * die "Can't find library ${libname} under
12 > > ${PREFIX}/$(get_libdir)/";
13 > > * The die message:
14 > > * Can't find library libkopainter under /usr/kde/3.5/lib/
15 > >
16 > > The missing library is under /usr/lib/ rather than /usr/kde/3.5/lib/
17 > >
18 > > If I create a symlink to the lib under /usr/kde/3.5/lib/, that line
19 > > passes but if fails on another library. I'd like to find out why the lib
20 > > is in a different place from where it's expected and fix the problem
21 > > rather than patch the issue with lots of symlinks. Is this a
22 > > misconfiguration on my system?
23 >
24 > Definitely something wrong on your box.
25 > KDE-3.5 libs always go in /usr/kde/3.5/lib
26 > KDE-4 libs go in /usr/lib or /usr/kde/4/lib depending on your
27 > "USE=kdeprefix"
28 >
29 > Symlinks are not likely to work, as karbon-1.6.2 wants to build against
30 > KDE-3.5 stuff.
31 >
32 > Lets start with your make.conf and emerge --info plus "eix kdelibs"
33
34 Thanks for the response. Requested info follows.
35
36 ROOT / # cat /etc/make.conf
37 CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
38 CHOST="i686-pc-linux-gnu"
39 CXXFLAGS="${CFLAGS}"
40 MAKEOPTS="-j2"
41
42 USE="widescreen -gnome offensive slang unicode mozdevelop kde kdecards \
43 xinerama opengl X arts avi live matroska mpeg ogg vorbis real \
44 theora xanim aac sdl xv dvd dvdnav dvdread 3dnow 3dnow2 mmx \
45 mmx2 mmxext sse 3dnowext a52 svg glitz truetype type1 alsa mp3 \
46 jpeg png curl gif gtk dbus -qt3 qt4 vesa wind32codecs \
47 -firefox mikmod cairo xulrunner oss esd mysql webkit glib xcb spell \
48 mng -sse2 useithreads encode"
49
50 VIDEO_CARDS="radeon"
51
52 INPUT_DEVICES="keyboard mouse"
53
54
55
56 ROOT / # emerge --info
57 Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1,
58 2.6.26-gentoo-r4 i686)
59 =================================================================
60 System uname: Linux-2.6.26-gentoo-r4-i686-AMD_Athlon-tm-
61 _64_X2_Dual_Core_Processor_6000+-with-glibc2.0
62 Timestamp of tree: Sat, 20 Jun 2009 06:00:01 +0000
63 app-shells/bash: 3.2_p39
64 dev-java/java-config: 1.3.7-r1, 2.1.7
65 dev-lang/python: 2.5.4-r2
66 dev-util/cmake: 2.6.2-r1
67 sys-apps/baselayout: 1.12.11.1
68 sys-apps/sandbox: 1.6-r2
69 sys-devel/autoconf: 2.13, 2.63
70 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
71 sys-devel/binutils: 2.18-r3
72 sys-devel/gcc-config: 1.4.1
73 sys-devel/libtool: 1.5.26
74 virtual/os-headers: 2.6.27-r2
75 ACCEPT_KEYWORDS="x86"
76 CBUILD="i686-pc-linux-gnu"
77 CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
78 CHOST="i686-pc-linux-gnu"
79 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
80 /usr/kde/3.5/shutdown /usr/share/config"
81 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
82 /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
83 /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
84 /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
85 CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
86 DISTDIR="/usr/portage/distfiles"
87 FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms
88 strict unmerge-orphans userfetch"
89 GENTOO_MIRRORS="http://distfiles.gentoo.org
90 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
91 LDFLAGS="-Wl,-O1"
92 MAKEOPTS="-j2"
93 PKGDIR="/usr/portage/packages"
94 PORTAGE_CONFIGROOT="/"
95 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
96 compress --force --whole-file --delete --stats --timeout=180 --
97 exclude=/distfiles --exclude=/local --exclude=/packages"
98 PORTAGE_TMPDIR="/var/tmp"
99 PORTDIR="/usr/portage"
100 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
101 USE="3dnow 3dnow2 3dnowext X a52 aac acl alsa arts avi berkdb bzip2 cairo cli
102 cracklib crypt cups curl dbus dri dvd dvdnav dvdread encode esd fortran gdbm
103 gif glib glitz gpm gtk iconv ipv6 isdnlog jpeg kde kdecards live matroska midi
104 mikmod mmx mmx2 mmxext mng mozdevelop mp3 mpeg mudflap mysql ncurses nls nptl
105 nptlonly offensive ogg opengl openmp oss pam pcre perl png pppd python qt4
106 readline reflection sdl session slang spell spl sse ssl svg sysfs tcpd theora
107 truetype type1 unicode useithreads vesa vorbis webkit widescreen wind32codecs
108 x86 xanim xcb xinerama xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000
109 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371
110 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
111 via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
112 dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
113 meter mmap_emul mulaw multi null plug rate route share shm softvol"
114 APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
115 authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
116 authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
117 disk_cache env expires ext_filter file_cache filter headers include info
118 log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
119 speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
120 INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
121 cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
122 VIDEO_CARDS="radeon"
123 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
124 LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
125 PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
126
127
128
129 ROOT / # eix kdelibs
130 [D] kde-base/kdelibs
131 Available versions:
132 (3.5) ~3.5.9!t ~3.5.9-r1!t ~3.5.9-r2!t ~3.5.9-r3!t 3.5.9-r4!t
133 (~)3.5.10-r1!t (~)3.5.10-r2!t ~3.5.10-r3!t ~3.5.10-r4!t ~3.5.10-r5!t 3.5.10-
134 r6!t
135 (4.2) ~4.2.4-r2!t
136 {3dnow acl alsa altivec arts avahi bindist branding bzip2 cups debug
137 doc elibc_FreeBSD fam handbook jpeg2k kdeenablefinal kdehiddenvisibility
138 kdeprefix kerberos kernel_linux legacyssl lua mmx nls openexr opengl semantic-
139 desktop spell sse sse2 ssl test tiff utempter xinerama zeroconf}
140 Installed versions: 3.5.10-r6(3.5)!t(13:24:34 06/17/09)(acl alsa arts
141 cups kernel_linux spell -avahi -bindist -branding -debug -doc -elibc_FreeBSD -
142 fam -jpeg2k -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -tiff -
143 utempter)
144 4.2.2-r1(4.2)!t(15:20:51 04/25/09)(3dnow acl alsa
145 bzip2 mmx nls opengl semantic-desktop spell sse ssl -altivec -bindist -debug -
146 doc -fam -jpeg2k -kdeprefix -kerberos -openexr -sse2 -test -zeroconf)
147 Homepage: http://www.kde.org/
148 Description: KDE libraries needed by all KDE programs.