yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00124
Re: Please try debian packages
On Tue, Mar 13, 2007 at 10:44:57AM +0100, Václav Šmilauer wrote:
> 2. For the shared libraries ("dpkg-shlibdeps: warning: format of
> libParticleParameters.so not recognized"), it tries to find packages that
> contain libraries against which our objects were linked. Debian has special
> file called shlibs for that, which is not generated (yet), but I don't
> understand fully how it works.
The simpliest rule is:
If package provides any library it should provide shlibs file. It could
be created with command dh_makeshlibs in debian/rules.
Example: dh_makeshlibs -V 'libt1-5 (>= 5.0.2)'
If package depends on library it uses shlibs from this library to create
a proper dependency (to be precise: to fill the variable ${shlibs:Depends}
in debian/control. It could by done by calling dh_shlibdeps.
Somehow tricky part is when the one source package builds one library
and one binary (with executable) package, or if package contains both
librar and executable. Then you should have to call dh_shlibdeps with -l
option.
> Perhaps it doesn't find the libraries since they are in different
> directories that rpath says (which gives the location after installation).
BTW, IIRC Debian Policy explicite disables using -rpath for libraries.
I believe Ubuntu inherited it.
And last but not least - on Debian one can verify some aspects of package
using tools like lintian or linda.
Regards
Artur
--
Święta mogą być Twoje! Pakiet podstawowy już od 9,99 (bez karpia i choinki)
/yacoob/
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
Follow ups
References