Re: RFS: libdom4j-java
Jesper Zedlitz <jesper@zedlitz.de> schrieb:
> Jorge Pérez Burgos <jorge.perez@adaptia.net> wrote:
>> i have packaged libraries needed by dom4j,
>> like jtidy, libicu and xom (avalaible in mentors.debian.net) . But i
>> don't see theses dependencies on the control file in debian.
>>
> You do not need these libraries when you use dom4j, only for building it. But
> the upstream tar.gz already contains all of these libraries (that's why it is
> so large).
>
> Or is it better to remove the included libraries and only use those installed
> on the system when building the package?
It is required. If you really, fully build "with the included"
libraries, this would mean you get a statically linked binary - policy
requires that binaries should be dynamically linked.
If you compile with the included libraries, but generate a dynamically
linked binary - uups, that will lead to hell. Well, to runtime errors
at least. This is because dh_shlibdebs will look at what is installed, IIRC.
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: