Gentoo Archives: gentoo-dev

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: Gentoo's plan to remove .la files: wording about when and how to drop .la files
Date: Sun, 31 Oct 2010 19:10:24
Message-Id: 20101031200917.685715f8@ham
In Reply to: [gentoo-dev] Re: Re: Gentoo's plan to remove .la files: wording about when and how to drop .la files by "Diego Elio Pettenò"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Sun, 31 Oct 2010 15:52:51 +0100
5 Diego Elio Pettenò <flameeyes@×××××.com> wrote:
6
7 > > For example, I have just
8 > > seen in my system that packages like dev-python/pyorbit and
9 > > dev-libs/libgamin are installing these .la files that should not be
10 > > needed, but I am sure lots of other python packages are also
11 > > affected :-/.
12 >
13 snip..
14 > media-libs/hamlib (tomjbe)
15 snip..
16
17 Above package provides around 38 .la files. I am not quite sure yet
18 about hamlibtcl.la, libhamlib++.la, libhamlib.la and _Hamlib.la. Maybe
19 they can go -- will look into that in next days.
20
21 But the other ones are plugins (or backends in hamlib terms) which get
22 loaded via libltdl according to the radio tranceiver family in question.
23
24 See as an example the following strace for calling the simple frontend
25 (rigctl) for the Kenwood TS-570 tranceiver (Model 204).
26
27 strace -e open rigctl -m 204
28 open("/etc/ld.so.cache", O_RDONLY) = 3
29 open("/usr/lib64/hamlib/libhamlib.so.2", O_RDONLY) = 3
30 open("/lib/libpthread.so.0", O_RDONLY) = 3
31 open("/lib/libc.so.6", O_RDONLY) = 3
32 open("/usr/lib/libltdl.so.7", O_RDONLY) = 3
33 open("/lib/libm.so.6", O_RDONLY) = 3
34 open("/lib/libusb-0.1.so.4", O_RDONLY) = 3
35 open("/lib/libdl.so.2", O_RDONLY) = 3
36 open("/usr/lib64/hamlib/hamlib-kenwood.la", O_RDONLY) = 3
37 open("/usr/lib64/hamlib/hamlib-kenwood.so", O_RDONLY) = 3
38 open("/dev/ttyS0", O_RDWR|O_NOCTTY|O_NONBLOCK) = 3
39
40
41 If I read the discussion correctly we will still need to keep these .la
42 files around.
43
44 Regards,
45 Thomas.
46
47 -----BEGIN PGP SIGNATURE-----
48 Version: GnuPG v2.0.16 (GNU/Linux)
49
50 iEYEARECAAYFAkzNvuQACgkQQe4uqXYgU9XQOACfdh6Y0K4tEaNfxZWuLQ4IKY9z
51 COcAniZAbl1YcvRLrGQE6k2Jph2jNOkN
52 =u989
53 -----END PGP SIGNATURE-----

Replies