[maemo-developers] Packaging - dpkg-shlibdeps problem

From: daniel wilms daniel.wilms at nokia.com
Date: Tue Oct 12 08:27:54 EEST 2010
Hi,

On 11/10/10 20:16, ext Felipe Crochik wrote:
>
> I am packaging communi (IRC client)  for the n900 and had an issue 
> with the autobuilder that I can’t figure out.
>
> I also packaged the libircclient-qt library (that communi depends on).
>
> This is the error I get (from *1):
>
> dpkg-shlibdeps: error: no dependency information found for /usr/lib/libircclient-qt.so.0 (used by debian/communi/usr/bin/communi).
> dh_shlibdeps: dpkg-shlibdeps -Tdebian/communi.substvars debian/communi/usr/bin/communi returned exit code 2
> make: *** [binary-arch] Error 9
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
>
> I was able to make another version of the application build by 
> removing the dh_shlibdeps (thanks MohammadAG for that) but then had to 
> list the dependencies manually (and of course missed one). Can anybody 
> help me understand/fix the problem? I don’t know if it is something I 
> missed on the “libircclient-qt-dev” package or something wrong on the 
> communi package.
>


you could try to add dh_makeshlibs [1] to your rules file of your 
library in the debian-folder. Then you can still use dh_shlibdeps in the 
application-package and you don't have to worry about your dependencies.


1. http://www.tin.org/bin/man.cgi?section=1&topic=dh_makeshlibs


Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20101012/6c816987/attachment.htm>
More information about the maemo-developers mailing list