On Tue, 2010-10-26 at 11:05 +0100, Jean F. Mousinho wrote:
Hello,
I'm trying to manually build the package in Debian, but I'm getting an error when compiling:
... dh_shlibdeps: Compatibility levels before 4 are deprecated. dpkg-shlibdeps: warning: couldn't find library libdbparser.so needed by debian/syslog-ng/bin/pdbtool (its RPATH is '//lib://lib/syslog-ng'). Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH. dpkg-shlibdeps: failure: no dependency information found for lib/.libs/libsyslog-ng.so.0 (used by debian/syslog-ng/bin/pdbtool). dh_shlibdeps: command returned error code 512 make: *** [binary-arch] Error 1 dpkg-buildpackage: failure: debian/rules binary gave error exit status 2 ...
I've noticed that libdbparser.so is actually located in ./modules/dbparser/.libs/libdbparser.so but the problem seems to be that dpkg-shlibdeps doesn't find dependency information for libsyslog-ng?
I don't know much how automake+dpkg-buildpackage work to know how to solve this, even tho I've tried to google for it.
Honestly I didn't update the debian/ subdirectory for 3.2, so I never tried to actually do a dpkg-buildpackage on it. ... now I took the time and updated those files, so it produced a working binary for me on Ubuntu lucid. YMMV. This is the patch: commit da39e1c96f9746d1e0e0cac32359cc6ae547f679 Author: Balazs Scheidler <bazsi@balabit.hu> Date: Thu Oct 28 21:58:42 2010 +0200 debian: updated debian packaing to make syslog-ng compile This is far from a perfect debian packaging but it produced a working binary for me on Ubuntu Lucid. -- Bazsi