Gentoo Archives: gentoo-dev

From: Alastair Nicol <ifni@×××××××××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Minor KDE issue...
Date: Tue, 16 Apr 2002 14:05:09
Message-Id: 200109162006.27247.ifni@blueyonder.co.uk
In Reply to: RE: [gentoo-dev] Larry the Cow by Dave Lee
1 i've been trying to figure out a seperate kword issue using strace and noticed
2 something odd when starting kde apps.
3
4 when the apps start-up they try to load various libraries, but quite often try
5 several different paths before finding the correct one. example at end of
6 mail.
7
8 i expect this is "normal" kde behaviour as most people binary install kde and
9 kde needs to know where the libs are. but as i've compiled KDE it should know
10 exactly where to look.
11
12 if you look at the strace there are tonnes of messages like this, i dont know
13 how to measure but based on the volumn i would guess it slow's KDE apps at
14 startup (yup i already know about the KDE slowdown issue linking to c++
15 libs). this is a minor perf issue, but kde needs all the help it can get.
16
17 I've been poking around in gentoo and cannot for the life of me work out how
18 kde works out these path names. in the example i havnt got any directories
19 i686/mmx to start with! (guess it doesnt help that one language i dont know
20 happens to be C)
21
22 Can anyone point me in any helpful directions??
23
24 Gentoo 1.1a + kde 3 - very standard "off the shelf" install.
25
26 Thanks Al
27
28 open("/usr/kde/3/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or
29 directory)
30 open("/usr/qt/3/lib/i686/mmx/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such
31 file or directory)
32 stat64("/usr/qt/3/lib/i686/mmx", 0xbfffee44) = -1 ENOENT (No such file or
33 directory)
34 open("/usr/qt/3/lib/i686/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file
35 or directory)
36 stat64("/usr/qt/3/lib/i686", 0xbfffee44) = -1 ENOENT (No such file or
37 directory)
38 open("/usr/qt/3/lib/mmx/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or
39 directory)
40 stat64("/usr/qt/3/lib/mmx", 0xbfffee44) = -1 ENOENT (No such file or
41 directory)
42 open("/usr/qt/3/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or
43 directory)
44 stat64("/usr/qt/3/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
45 open("/usr/X11R6/lib/i686/mmx/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such
46 file or directory)
47 stat64("/usr/X11R6/lib/i686/mmx", 0xbfffee44) = -1 ENOENT (No such file or
48 directory)
49 open("/usr/X11R6/lib/i686/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file
50 or directory)
51 stat64("/usr/X11R6/lib/i686", 0xbfffee44) = -1 ENOENT (No such file or
52 directory)
53 open("/usr/X11R6/lib/mmx/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file
54 or directory)
55 stat64("/usr/X11R6/lib/mmx", 0xbfffee44) = -1 ENOENT (No such file or
56 directory)
57 open("/usr/X11R6/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or
58 directory)
59 stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
60 open("/etc/ld.so.cache", O_RDONLY) = 3