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

Re: pbuilder and ${shlibs:Depends}



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/18/2011 05:57 PM, Paul Gevers wrote:
> I believe that this variable will only resolve libraries which you
> depend on (and you need the -dev package in the build dependencies). It
> will never find a executable which you need to RUN your program.

I am still a little confused about this. Could you provide an
example/documentation to clarify this? From experience, I believe that
it WILL expand to LIBRARIES (not executables) that the program needs to
run, if said libraries are installed at build time. If not, what's its
purpose?

To support the above:

>        dh_shlibdeps is a debhelper program that is responsible for calculating
>        shared library dependencies for packages.
> 
>        This program is merely a wrapper around dpkg-shlibdeps(1) that calls it
>        once for each package listed in the control file, passing it a list of
>        ELF executables and shared libraries it has found.

Sorry, I didn't understand the part about the -dev package. I'm a little
stupid... :-D

> Add the missing dependencies manually AND use the variable. (At least
> this is what I do in all my packages.

Thank you very much! This is really all I needed to know.

BTW, I'm not actually using dpkg-shlibdeps, but rather jh_depends. I
wanted to save some complication, since most developers are probably
more familiar with the former.

> Paul

Again thank you, regards,
    Panayiotis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNg4tPAAoJEN7RcJcJCZJi0ZYIALLZiRx9plW6aXR0Ef+UzE8O
3JnU35r0OC2IRLSIGleFYN7rVzswcdSxLNjy8NIEVoknrNAYnW014Pyd8JYHyacY
ybITtC4vF9V7NYneXty50zRCnF4n9zRdK744rwiQNfDUWdTXbLhv3DQrsuTCwbVW
ZwmFZFnFbNO14NbKf+o9YEJKPJa00ZRS92asNDfKmOZS4oqpQdr+rYSQQmrYYXzY
lUmOoLz940QyzWseXUScWHdwaxy1wHK+jOHXaF+vdpxEgJ/u/3FVu+MEPdRfjHY3
MpJNCKXPjQ0ULX57zGiHFB4qDUmeQClngxFR9NcpO9pWFsyu4ANFlrkIg8ivzt8=
=z29R
-----END PGP SIGNATURE-----


Reply to: