[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proper way to generate shlibs.local?



Magosányi Árpád "(mag)" <mag@debian.org> wrote:
> There are several binary packages are created out of the zorp source.
> Some of them depends on libzorp2, generated from there as well.
> Because of that I need a shlibs.local file to tell dh_slibdeps
> about the versioned dependency. I am creating it from the
> shlibs file created dh_makeshlibs, thus:

>        dh_makeshlibs -n
>        dh_makeshlibs -plibzorp2 -V
>        dh_installdeb -a
>        find debian/ -name shlibs |xargs cat >debian/shlibs.local
>        dh_shlibdeps -a -l`pwd`/debian/libzorp2/usr/lib

> Questions:
> 1. do I need the shlibs.local file, is not, what to do?

Afaict no. "dh_shlibdeps -a -l`pwd`/debian/libzorp2/usr/lib" should be
enough.

> 2. is the above the Right Way, or is there a More Right Way?

"dh_makeshlibs -n" and "find debian ..." is superfluous.

Before you make an upload, please test that dependencies really work,
build both on systems with and without /usr/lib/libzorp.so.2
installed.
            cu andreas
-- 
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_
http://www.logic.univie.ac.at/~ametzler/debian/tin-snapshot/



Reply to: