[maemo-developers] Dependency problems during packaging

From: David King davidk at openismus.com
Date: Tue Aug 3 10:20:47 EEST 2010
On 2010-08-02 19:33, Kamilla Bremeraunet <kamilla at bremeraunet.com> wrote:
>Hi,
>
>I'm trying to package FaceBrick, which is using libqfacebook in MADDE
>(instead of scratchbox, which I have heard works) and have run into
>some problems:
>
>At first when doing "mad dpkg-buildpackage -us -uc" it was complaining
>about not being able to find the file "libqfacebookconnect.so.1" - I
>solved this by copying the file over to
>/home/kamilla/.madde/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/,
>but now I'm running into a different error:
>
>dh_makeshlibs
>dh_installdeb
>dh_shlibdeps
>dpkg-shlibdeps: failure: no dependency information found for
>/home/kamilla/.madde/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libqfacebookconnect.so.1
>(used by debian/facebrick/opt/facebrick/facebrick).
>dh_shlibdeps: command returned error code 512
>make: *** [binary-arch] Error 1
>dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
>
>Does anyone know what I need to do to fix this?

If using third-party libraries with MADDE, you may wish to read the 
following talk thread:

http://talk.maemo.org/showthread.php?t=48536

especially the last post, which mentions how to resolve your 
dh_shlibdeps problem, by copying /var/lib/dpkg/info/<package>.* of an 
installed package to the corresponding location in the MADDE sysroot.

There was some discussion in June about these problems:

http://lists.maemo.org/pipermail/maemo-developers/2010-June/026807.html

-- 
David King | http://amigadave.com/ | davidk at openismus.com
More information about the maemo-developers mailing list