Re: Dependency problems in self-built packages
On 19 Nov 2000, Paavo Hartikainen wrote:
> This kind of error messages I have been getting when building Debian
> packages from sources. What have I done wrong when building the
> library packages? 'ldd' output looks normal and the libraries seem to
> work fine, but dependencies are missing from the packages I build.
>
> dpkg-shlibdeps: warning: unknown output from ldd on
> `debian/tmp/usr/bin/gif2png': ` libcpml.so => /usr/lib/libcpml.so
> (0x0000020000244000)' dpkg-shlibdeps: warning: unknown output from ldd
> on `debian/tmp/usr/bin/gif2png': ` libz.so => /usr/lib/libz.so
> (0x0000020000500000)' dpkg-shlibdeps: warning: unknown output from ldd
> on `debian/tmp/usr/bin/gif2png': ` libots.so => /usr/lib/libots.so
> (0x000002000084c000)'
>
> Looking inside the created binary package "gif2png_2.2.5-1_alpha.deb",
> "DEBIAN/control" says "Depends: libc6.1 (>= 2.1.2-1), libpng2". I
> have read "Debian Packaging Manual" several times but I did not find
> solution to this problem.
Those are just warnings. In reality, the cpml and libots packages should
inlcude a <package>.shlibs file that details which libs are in the
package, the soname of each, and what package name to put in the Depends
field.
The warnings are harmless, though.
C
Reply to: