tag 337250 + patch
thanks

Attached is a patch which fixes this FTBFS.  It turns out that for some
reason, bscan and bcopy, when built against postgres, now need to have
libdl explicitly added to the link line.  The package then builds fine
in a pbuilder sid chroot.  There may be a neater solution but this one
at least works.

Thanks,

Mark

-- 
Mark Hymers <[EMAIL PROTECTED]>

"The older I grow, the more I distrust the familiar doctrine that age
 brings wisdom."
     H.L. Mencken
--- bacula-1.36.3.orig/src/stored/Makefile.in
+++ bacula-1.36.3/src/stored/Makefile.in
@@ -111,13 +111,13 @@
        $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) 
$(DINCLUDE) $(CFLAGS) $<
 
 bscan: ../findlib/libfind.a $(SCNOBJS) ../cats/libsql.a
-       $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o 
$@ $(SCNOBJS) -lsql $(DB_LIBS) $(FDLIBS) -lfind -lbac -lm $(LIBS) 
+       $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o 
$@ $(SCNOBJS) -lsql $(DB_LIBS) $(FDLIBS) -lfind -lbac -lm $(LIBS) -ldl
 
 bcopy.o: bcopy.c
        $(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) 
$(DINCLUDE) $(CFLAGS) $<
 
 bcopy: $(COPYOBJS) ../findlib/libfind.a ../lib/libbac.a
-       $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ 
$(COPYOBJS)  $(DB_LIBS) $(FDLIBS) -lfind -lbac -lm $(LIBS) 
+       $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ 
$(COPYOBJS)  $(DB_LIBS) $(FDLIBS) -lfind -lbac -lm $(LIBS) -ldl
 
 
 Makefile: $(srcdir)/Makefile.in $(topdir)/config.status

Reply via email to