[Fedora-packaging] Re: LibtoolArchives, v0.3
enrico.scholz at informatik.tu-chemnitz.de
Wed Jan 17 15:12:00 UTC 2007
rdieter at math.unl.edu (Rex Dieter) writes:
>> | MUST: If .la libtool archives in $LD_LIBRARY_PATH2 cannot be excluded,
>> | they MUST be included in -devel (with associated .so symlink).
>> is wrong... it should be
>> | MUST: If .la libtool archives in $LD_LIBRARY_PATH cannot be excluded,
>> | they MUST be included in main-package but NOT in -devel.
> Huh? .la libtool archives in LD_LIBRARY_PATH are those used for *linking*,
> so why not -devel?
E.g. /usr/lib/kde3/kded_kdeprintd.la contains
| dependency_libs=' ... /usr/lib/libkio.la ... '
--> /usr/lib/libkio.la is needed at runtime and must be in a main
Saying that packager has to decide on a case-by-case base does not help;
e.g. when he ships 'libfoo.la' in -devel, a year later somebody else
might create a module with "dependency_libs='/usr/lib/libfoo.la'" which
would require 'libfoo.la' to be in a main-package.
A rule like
| MUST: a .la libtool archive MUST NOT list other .la archives in its
| 'dependency_libs' list
might be a solution, but I am not sure if this rule is complete.
More information about the Fedora-packaging