Include gdbm library in gdbm_compat linker file to fix problems with --as-needed. Bug 143580 --- Makefile.in +++ Makefile.in @@ -161,7 +161,7 @@ libgdbm_compat.la: $(C_LOBJS) gdbm.h rm -f libgdbm_compat.la $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ - -version-info $(SHLIB_VER) $(C_LOBJS) + -version-info $(SHLIB_VER) $(C_LOBJS) -lgdbm gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2 rm -f gdbm.h