Here's the culprit:

configure:4912: checking for PQexec in -lpq
configure:4942: gcc -o conftest -Wall -g -O0  -I/local/pkg/pgsql8.0//include  
-L/local/pkg/pgsql8.0//lib conftest.c -lpq   -lssl -lcrypto -lpq >&5
/usr/bin/ld: cannot find -lssl

This is the old -lssl bug.  I submitted a fix for this a while back, but I 
guess it never made it.  :-)  Try the attached patch and see if fixes your 
problems.  You'll have to re-run bootstrap after applying the patch.

ahp


--- pgadmin3/acinclude.m4       Tue Nov 23 15:31:49 2004
+++ pgadmin3.new/acinclude.m4   Tue Nov 23 15:31:30 2004
@@ -119,14 +119,24 @@
     fi
     if test "$pg_static_build" = "yes"
     then
-        LIBS="${LIBPQ_HOME}/lib/libpq.a -lcrypt $LIBS -lssl -lcrypto"
+        if test "$pgsql_ssl_libpq" = "yes"
+        then
+            LIBS="${LIBPQ_HOME}/lib/libpq.a -lcrypt $LIBS -lssl -lcrypto"
+        else
+            LIBS="${LIBPQ_HOME}/lib/libpq.a -lcrypt $LIBS -lcrypto"
+        fi
     else
-        LIBS="$LIBS -lssl -lcrypto -lpq"
+        if test "$pgsql_ssl_libpq" = "yes"
+        then
+            LIBS="$LIBS -lssl -lcrypto -lpq"
+        else
+            LIBS="$LIBS -lcrypto -lpq"
+        fi
     fi
     AC_LANG_SAVE
     AC_LANG_C
     AC_CHECK_LIB(pq, PQexec, [pgsql_cv_libpq=yes], [pgsql_cv_libpq=no])
-    AC_CHECK_LIB(pq, SSL_connect, [pgsql_ssl_libpq=yes], [pgsql_ssl_libpq=np])
+    AC_CHECK_LIB(pq, SSL_connect, [pgsql_ssl_libpq=yes], [pgsql_ssl_libpq=no])
     AC_CHECK_HEADER(libpq-fe.h, [pgsql_cv_libpqfe_h=yes], 
[pgsql_cv_libpqfe_h=no])
     AC_LANG_RESTORE
     if test "$pgsql_cv_libpq" = "yes" -a "$pgsql_cv_libpqfe_h" = "yes"
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to