Sorry for delayed replies. I've gotten a bad liver infection. I also used the same OS as Martin with GYP's 3.2 patternize branch. I get a zillion library dependencies in pdbtool which will render it nonportable. There must be some Debian specific secrets or some other trick to this. Or maybe the 3.2 binaries will have way more shlibdeps than the 3.1 binaries. I don't know at all. Matthew. ./configure --prefix=/home/megahall/sng-3.2 --enable-debug --enable-ssl --enable-mixed-linking --enable-ipv6 --enable-tcp-wrapper --enable-spoof-source --enable-sql=false --enable-linux-caps --enable-pcre linux-vdso.so.1 => (0x00007fffd0f39000) libsyslog-ng.so.0 => /home/megahall/sng-3.2/lib/libsyslog-ng.so.0 (0x00007f3a96010000) libdbparser.so => /home/megahall/sng-3.2/lib/syslog-ng/libdbparser.so (0x00007f3a95dfc000) librt.so.1 => /lib/librt.so.1 (0x00007f3a95be3000) libnsl.so.1 => /lib/libnsl.so.1 (0x00007f3a959c9000) libuuid.so.1 => /lib/libuuid.so.1 (0x00007f3a957c4000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f3a955bf000) libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007f3a952e1000) libevtlog.so.0 => /usr/lib/libevtlog.so.0 (0x00007f3a950dc000) libpcre.so.3 => /lib/libpcre.so.3 (0x00007f3a94ead000) libcap.so.2 => /lib/libcap.so.2 (0x00007f3a94ca8000) libdl.so.2 => /lib/libdl.so.2 (0x00007f3a94aa4000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3a94886000) libc.so.6 => /lib/libc.so.6 (0x00007f3a94503000) /lib64/ld-linux-x86-64.so.2 (0x00007f3a96295000) libattr.so.1 => /lib/libattr.so.1 (0x00007f3a942fd000) On Mon, Sep 27, 2010 at 09:32:20AM -0500, Martin Holste wrote:
I'm on Ubuntu lucid trying to compile the latest git version and I'm getting "./.libs/libsyslog-ng.so: undefined reference to `block_ref_debug'" etc. when it tries to do the final ld command unless --enable-debug is on. --enable-mixed-linking works fine with --enable-debug, though I see a ton of dependencies with ldd, so that must be pretty far from a static link.
On Mon, Sep 27, 2010 at 8:20 AM, Balazs Scheidler <bazsi@balabit.hu> wrote:
On Fri, 2010-09-24 at 18:58 -0700, Matthew Hall wrote:
I guess I missed that build option.
Has anybody else used it successfully?
It does require some expertise with ld's internals, but it did work earlier. With 3.2 though it becomes different, static-linking is dropped (syslog-ng itself is dynamically linked because of the plugins), however --enable-mixed-linking still works.
-- Bazsi
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html