[syslog-ng] Compilation problem in Debian (libsyslog-ng dependency)

Matthew Hall mhall at mhcomputing.net
Tue Oct 26 17:58:49 CEST 2010


Hello Jean-Francois,

Which version of the daemon were you trying to compile?

I have successfully compiled the 3.2 alphas and betas on Ubuntu 10.04 LTS 
which is quite similar to Debian but I was doing debugging work so I did not 
try creating a deb package.

I can try making a deb today to see if I get the same error or not. At the 
same time I am curious what result you get if you if you try compiling it 
using ./configure --prefix=/jean/can/use/a/tmp/dir, make, make install. I want 
to try to narrow down where the failure is occurring.

Regards,
Matthew Hall.

On Tuesday, October 26, 2010 03:05:25 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.
> 
> Thanks for your time.
> 
> Jean-François Mousinho


More information about the syslog-ng mailing list