tried to install aide with postgres (and nls) turned on and got the following error: >>>>> checking for PostgresSQL support... checking for PQclear in -lpq... no You must postgres sql library installed. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 13, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/app-admin/aide/aide-0.8.ebuild . <<<<<< works fine without postgres support! regards Thilo
Hmmm, interesting config.log. It looks like our PostgresSQL build has SSL problems. I don't know how to fix this problem. It looks like Bevin may be our postgres expert; reassigning to him. configure:3080: checking for PostgresSQL support configure:3089: checking for PQclear in -lpq configure:3108: gcc -o conftest -static -I/var/tmp/portage/aide-0.8-r1/work/aide-0.8 -I/var/tmp/portage/aide-0.8-r1/work/aide-0.8/src conftest.c -lpq -lcrypt -lmhash -lz 1>&5 /usr/lib/libpq.a(fe-misc.o): In function `pqReadData': fe-misc.o(.text+0x5ae): undefined reference to `SSL_read' fe-misc.o(.text+0x6ae): undefined reference to `SSL_read' /usr/lib/libpq.a(fe-misc.o): In function `pqFlush': fe-misc.o(.text+0x839): undefined reference to `SSL_write' /usr/lib/libpq.a(fe-connect.o): In function `connectDBStart': fe-connect.o(.text+0x9b8): undefined reference to `SSL_load_error_strings' fe-connect.o(.text+0x9bd): undefined reference to `SSL_library_init' fe-connect.o(.text+0x9c5): undefined reference to `SSLv23_method' fe-connect.o(.text+0x9cb): undefined reference to `SSL_CTX_new' fe-connect.o(.text+0x9fb): undefined reference to `SSL_new' fe-connect.o(.text+0xa1a): undefined reference to `SSL_set_fd' fe-connect.o(.text+0xa33): undefined reference to `SSL_connect' /usr/lib/libpq.a(fe-connect.o): In function `freePGconn': fe-connect.o(.text+0x14c5): undefined reference to `SSL_free' /usr/lib/libpq.a(fe-connect.o): In function `SSLerrmessage': fe-connect.o(.text+0x2b14): undefined reference to `ERR_get_error' fe-connect.o(.text+0x2b2b): undefined reference to `ERR_reason_error_string' collect2: ld returned 1 exit status configure: failed program was: #line 3097 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PQclear(); int main() { PQclear() ; return 0; }
Ryan, Thilo's been gone for a long while away from his computer (like months), so don't expect any feedback on this one. but please investigate if this issue stands. thanks.
I've committed a small fix... Needs some testing
I have this problem too (SSL problems in configure with `use postgres` In comment #3 (Ryan Phillips 2002-09-08 14:41 EST), there appears to be a fix, but I see no mention of this fix in the Changelog, nor any evidence of a fix in cvs: http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-admin/aide/aide-0.8.ebuild Of course, once aide-0.9 is marked stable, this will be moot.
Actually, aide-0.9.ebuild also fails exactly the same way.
Is there any fix available to download?