Compile error "cannot find -lcrypto" on Mandrake 10.2 for pgadmin3-1.2.2

From: Roy Eugene Vinner <roypivn(at)cs(dot)indiana(dot)edu>
To: pgadmin-support(at)postgresql(dot)org
Subject: Compile error "cannot find -lcrypto" on Mandrake 10.2 for pgadmin3-1.2.2
Date: 2005-09-08 23:18:58
Message-ID: 4320C6E2.9020207@cs.indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello,

I am getting a compile error while trying to compile pgadmin3-1.2.2 on
Mandrake linux 10.2 on an i586 platform. My error is:

$>make
make all-recursive
make[1]: Entering directory `/usr/share/pgadmin3-1.2.2'
Making all in src
make[2]: Entering directory `/usr/share/pgadmin3-1.2.2/src'
g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include -I../src/agent/include -g -O2 -L/usr/lib/beecrypt
-L/usr/local/pgsql/lib -L/usr/lib -o pgadmin3 pgAdmin3.o pgConn.o
pgSet.o keywords.o pgAggregate.o pgCast.o pgCheck.o pgCollection.o
pgColumn.o pgConstraints.o pgConversion.o pgDatabase.o pgDomain.o
pgForeignKey.o pgFunction.o pgGroup.o pgIndex.o pgIndexConstraint.o
pgLanguage.o pgObject.o pgOperator.o pgOperatorClass.o pgRule.o
pgSchema.o pgSequence.o pgServer.o pgTable.o pgTablespace.o pgTrigger.o
pgType.o pgUser.o pgView.o pgDatatype.o pgaAgent.o pgaJob.o pgaStep.o
pgaSchedule.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o xh_calb.o
xh_timespin.o xh_ctlcombo.o ctlSecurityPanel.o dlgClasses.o
ctlComboBox.o calbox.o timespin.o ctlListView.o ctlSQLBox.o
ctlSQLResult.o frmExport.o dlgEditGridOptions.o events.o frmAbout.o
frmIndexcheck.o dlgConnect.o frmMain.o frmOptions.o frmPassword.o
frmQuery.o frmHelp.o frmSplash.o frmMaintenance.o frmBackup.o
frmRestore.o frmGrantWizard.o frmEditGrid.o dlgProperty.o dlgUser.o
dlgServer.o dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o
dlgDomain.o dlgTable.o dlgTablespace.o dlgColumn.o dlgIndex.o
dlgFunction.o dlgView.o dlgRule.o dlgOperator.o dlgAggregate.o dlgCast.o
dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o
dlgTrigger.o dlgType.o dlgCheck.o frmStatus.o misc.o sysLogger.o
sysSettings.o utffile.o xrcDialogs.o /usr/local/pgsql/lib/libpq.a
-lcrypt -lcrypto -pthread -L/usr/X11R6/lib
/usr/lib/libwx_gtk2ud_xrc-2.6.a /usr/lib/libwx_gtk2ud_qa-2.6.a
/usr/lib/libwx_gtk2ud_html-2.6.a /usr/lib/libwx_gtk2ud_adv-2.6.a
/usr/lib/libwx_gtk2ud_core-2.6.a /usr/lib/libwx_baseud_xml-2.6.a
/usr/lib/libwx_baseud_net-2.6.a /usr/lib/libwx_baseud-2.6.a -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
-lXinerama -lXxf86vm -lpng -ljpeg -ltiff -lexpat -lwxregexud-2.6 -lz
-ldl -lm -pthread -L/usr/X11R6/lib /usr/lib/libwx_gtk2ud_stc-2.6.a
/usr/lib/libwx_gtk2ud_ogl-2.6.a /usr/lib/libwx_baseud-2.6.a
-lwxregexud-2.6 -lz -ldl -lm
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/usr/share/pgadmin3-1.2.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/pgadmin3-1.2.2'
make: *** [all] Error 2
$

I have beecrypt6-3.1.0 installed on my computer from an rpm, and
beecrypt-4.1.2 from source. The library for beecrypt is in the path
(/usr/lib). Could anyone suggest what is missing here?

Many thanks! I am posting config.log (very long) below.

Roy

________________________config.log_________________________
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pgadmin3 configure 1.2.2, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --enable-static --enable-debug

## --------- ##
## Platform. ##
## --------- ##

hostname = nrg.wustl.edu
uname -m = i686
uname -r = 2.6.11-6mdksmp
uname -s = Linux
uname -v = #1 SMP Tue Mar 22 15:40:42 CET 2005

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1378: checking build system type
configure:1396: result: i686-pc-linux-gnu
configure:1404: checking host system type
configure:1418: result: i686-pc-linux-gnu
configure:1440: checking for a BSD-compatible install
configure:1495: result: /usr/bin/install -c
configure:1506: checking whether build environment is sane
configure:1549: result: yes
configure:1614: checking for gawk
configure:1630: found /bin/gawk
configure:1640: result: gawk
configure:1650: checking whether make sets $(MAKE)
configure:1670: result: yes
configure:1887: checking for gcc
configure:1903: found /usr/bin/gcc
configure:1913: result: gcc
configure:2157: checking for C compiler version
configure:2160: gcc --version </dev/null >&5
gcc (GCC) 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2163: $? = 0
configure:2165: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/specs
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
configure:2168: $? = 0
configure:2170: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2173: $? = 1
configure:2196: checking for C compiler default output file name
configure:2199: gcc -L/usr/lib/beecrypt conftest.c >&5
configure:2202: $? = 0
configure:2248: result: a.out
configure:2253: checking whether the C compiler works
configure:2259: ./a.out
configure:2262: $? = 0
configure:2279: result: yes
configure:2286: checking whether we are cross compiling
configure:2288: result: no
configure:2291: checking for suffix of executables
configure:2293: gcc -o conftest -L/usr/lib/beecrypt conftest.c >&5
configure:2296: $? = 0
configure:2321: result:
configure:2327: checking for suffix of object files
configure:2348: gcc -c conftest.c >&5
configure:2351: $? = 0
configure:2373: result: o
configure:2377: checking whether we are using the GNU C compiler
configure:2401: gcc -c conftest.c >&5
configure:2407: $? = 0
configure:2411: test -z
|| test ! -s conftest.err
configure:2414: $? = 0
configure:2417: test -s conftest.o
configure:2420: $? = 0
configure:2433: result: yes
configure:2439: checking whether gcc accepts -g
configure:2460: gcc -c -g conftest.c >&5
configure:2466: $? = 0
configure:2470: test -z
|| test ! -s conftest.err
configure:2473: $? = 0
configure:2476: test -s conftest.o
configure:2479: $? = 0
configure:2490: result: yes
configure:2507: checking for gcc option to accept ANSI C
configure:2577: gcc -c -g -O2 conftest.c >&5
configure:2583: $? = 0
configure:2587: test -z
|| test ! -s conftest.err
configure:2590: $? = 0
configure:2593: test -s conftest.o
configure:2596: $? = 0
configure:2614: result: none needed
configure:2632: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2638: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2782: checking for style of include used by make
configure:2810: result: GNU
configure:2838: checking dependency style of gcc
configure:2928: result: gcc3
configure:2997: checking for g++
configure:3013: found /usr/bin/g++
configure:3023: result: g++
configure:3039: checking for C++ compiler version
configure:3042: g++ --version </dev/null >&5
g++ (GCC) 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3045: $? = 0
configure:3047: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/specs
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)
configure:3050: $? = 0
configure:3052: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:3055: $? = 1
configure:3058: checking whether we are using the GNU C++ compiler
configure:3082: g++ -c conftest.cc >&5
configure:3088: $? = 0
configure:3092: test -z
|| test ! -s conftest.err
configure:3095: $? = 0
configure:3098: test -s conftest.o
configure:3101: $? = 0
configure:3114: result: yes
configure:3120: checking whether g++ accepts -g
configure:3141: g++ -c -g conftest.cc >&5
configure:3147: $? = 0
configure:3151: test -z
|| test ! -s conftest.err
configure:3154: $? = 0
configure:3157: test -s conftest.o
configure:3160: $? = 0
configure:3171: result: yes
configure:3213: g++ -c -g -O2 conftest.cc >&5
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest.o
configure:3232: $? = 0
configure:3258: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:15: error: `exit' undeclared (first use this function)
conftest.cc:15: error: (Each undeclared identifier is reported only once
for each function it appears in.)
configure:3264: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.2.2"
| #define PACKAGE_STRING "pgadmin3 1.2.2"
| #define PACKAGE_BUGREPORT "pgadmin-support(at)postgresql(dot)org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.2.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3213: g++ -c -g -O2 conftest.cc >&5
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest.o
configure:3232: $? = 0
configure:3258: g++ -c -g -O2 conftest.cc >&5
configure:3264: $? = 0
configure:3268: test -z
|| test ! -s conftest.err
configure:3271: $? = 0
configure:3274: test -s conftest.o
configure:3277: $? = 0
configure:3302: checking dependency style of g++
configure:3392: result: gcc3
configure:3419: checking how to run the C preprocessor
configure:3454: gcc -E conftest.c
configure:3460: $? = 0
configure:3492: gcc -E conftest.c
conftest.c:14:28: ac_nonexistent.h: No such file or directory
configure:3498: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.2.2"
| #define PACKAGE_STRING "pgadmin3 1.2.2"
| #define PACKAGE_BUGREPORT "pgadmin-support(at)postgresql(dot)org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.2.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3537: result: gcc -E
configure:3561: gcc -E conftest.c
configure:3567: $? = 0
configure:3599: gcc -E conftest.c
conftest.c:14:28: ac_nonexistent.h: No such file or directory
configure:3605: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.2.2"
| #define PACKAGE_STRING "pgadmin3 1.2.2"
| #define PACKAGE_BUGREPORT "pgadmin-support(at)postgresql(dot)org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.2.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3649: checking for egrep
configure:3659: result: grep -E
configure:3664: checking for ANSI C header files
configure:3689: gcc -c -g -O2 conftest.c >&5
configure:3695: $? = 0
configure:3699: test -z
|| test ! -s conftest.err
configure:3702: $? = 0
configure:3705: test -s conftest.o
configure:3708: $? = 0
configure:3797: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
configure:3800: $? = 0
configure:3802: ./conftest
configure:3805: $? = 0
configure:3820: result: yes
configure:3844: checking for sys/types.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for sys/stat.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for stdlib.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for string.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for memory.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for strings.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for inttypes.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for stdint.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3844: checking for unistd.h
configure:3860: gcc -c -g -O2 conftest.c >&5
configure:3866: $? = 0
configure:3870: test -z
|| test ! -s conftest.err
configure:3873: $? = 0
configure:3876: test -s conftest.o
configure:3879: $? = 0
configure:3890: result: yes
configure:3919: checking arpa/inet.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking arpa/inet.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for arpa/inet.h
configure:4042: result: yes
configure:3919: checking netdb.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking netdb.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for netdb.h
configure:4042: result: yes
configure:3919: checking netinet/in.h usability
configure:3931: gcc -c -g -O2 conftest.c >&5
configure:3937: $? = 0
configure:3941: test -z
|| test ! -s conftest.err
configure:3944: $? = 0
configure:3947: test -s conftest.o
configure:3950: $? = 0
configure:3960: result: yes
configure:3964: checking netinet/in.h presence
configure:3974: gcc -E conftest.c
configure:3980: $? = 0
configure:4000: result: yes
configure:4035: checking for netinet/in.h
configure:4042: result: yes
configure:3910: checking for stdlib.h
configure:3915: result: yes
configure:4057: checking for stdbool.h that conforms to C99
configure:4110: gcc -c -g -O2 conftest.c >&5
configure:4116: $? = 0
configure:4120: test -z
|| test ! -s conftest.err
configure:4123: $? = 0
configure:4126: test -s conftest.o
configure:4129: $? = 0
configure:4140: result: yes
configure:4142: checking for _Bool
configure:4166: gcc -c -g -O2 conftest.c >&5
configure:4172: $? = 0
configure:4176: test -z
|| test ! -s conftest.err
configure:4179: $? = 0
configure:4182: test -s conftest.o
configure:4185: $? = 0
configure:4196: result: yes
configure:4215: checking for an ANSI C-conforming const
configure:4282: gcc -c -g -O2 conftest.c >&5
configure:4288: $? = 0
configure:4292: test -z
|| test ! -s conftest.err
configure:4295: $? = 0
configure:4298: test -s conftest.o
configure:4301: $? = 0
configure:4312: result: yes
configure:4322: checking for size_t
configure:4346: gcc -c -g -O2 conftest.c >&5
configure:4352: $? = 0
configure:4356: test -z
|| test ! -s conftest.err
configure:4359: $? = 0
configure:4362: test -s conftest.o
configure:4365: $? = 0
configure:4376: result: yes
configure:4388: checking whether time.h and sys/time.h may both be included
configure:4413: gcc -c -g -O2 conftest.c >&5
configure:4419: $? = 0
configure:4423: test -z
|| test ! -s conftest.err
configure:4426: $? = 0
configure:4429: test -s conftest.o
configure:4432: $? = 0
configure:4443: result: yes
configure:4455: checking for working strtod
configure:4498: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
configure:4501: $? = 0
configure:4503: ./conftest
configure:4506: $? = 0
configure:4520: result: yes
configure:4706: checking for gethostbyname
configure:4763: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for inet_ntoa
configure:4763: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for memmove
configure:4763: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
conftest.c:57: warning: conflicting types for built-in function 'memmove'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for memset
configure:4763: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
conftest.c:58: warning: conflicting types for built-in function 'memset'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4706: checking for strchr
configure:4763: gcc -o conftest -g -O2 -L/usr/lib/beecrypt conftest.c >&5
conftest.c:59: warning: conflicting types for built-in function 'strchr'
configure:4769: $? = 0
configure:4773: test -z
|| test ! -s conftest.err
configure:4776: $? = 0
configure:4779: test -s conftest
configure:4782: $? = 0
configure:4794: result: yes
configure:4830: checking for wx-config binary
configure:4848: result: yes
configure:4851: checking for pgsql include files
configure:4869: result: yes
configure:4894: checking for pgsql
configure:4911: result: yes
configure:4955: checking for PQexec in -lpq
configure:4985: gcc -o conftest -g -O2 -Wall -g -O0 -Wall -g -O0
-L/usr/lib/beecrypt -L/usr/local/pgsql/lib conftest.c -lpq >&5
configure:4991: $? = 0
configure:4995: test -z
|| test ! -s conftest.err
configure:4998: $? = 0
configure:5001: test -s conftest
configure:5004: $? = 0
configure:5017: result: yes
configure:5035: checking for SSL_connect in -lpq
configure:5065: gcc -o conftest -g -O2 -Wall -g -O0 -Wall -g -O0
-L/usr/lib/beecrypt -L/usr/local/pgsql/lib conftest.c -lpq >&5
/root/tmp/ccMdazrg.o(.text+0x1d): In function `main':
/usr/share/pgadmin3-1.2.2/conftest.c:47: undefined reference to
`SSL_connect'
collect2: ld returned 1 exit status
configure:5071: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pgadmin3"
| #define PACKAGE_TARNAME "pgadmin3"
| #define PACKAGE_VERSION "1.2.2"
| #define PACKAGE_STRING "pgadmin3 1.2.2"
| #define PACKAGE_BUGREPORT "pgadmin-support(at)postgresql(dot)org"
| #define PACKAGE "pgadmin3"
| #define VERSION "1.2.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_INET_NTOA 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_STRCHR 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char SSL_connect ();
| int
| main ()
| {
| SSL_connect ();
| ;
| return 0;
| }
configure:5097: result: no
configure:5162: checking libpq-fe.h usability
configure:5174: gcc -c -g -O2 -Wall -g -O0 -Wall -g -O0
-I/usr/local/pgsql/include conftest.c >&5
configure:5180: $? = 0
configure:5184: test -z
|| test ! -s conftest.err
configure:5187: $? = 0
configure:5190: test -s conftest.o
configure:5193: $? = 0
configure:5203: result: yes
configure:5207: checking libpq-fe.h presence
configure:5217: gcc -E -Wall -g -O0 -I/usr/local/pgsql/include conftest.c
configure:5223: $? = 0
configure:5243: result: yes
configure:5278: checking for libpq-fe.h
configure:5285: result: yes
configure:5305: checking pgsql in /usr/local/pgsql
configure:5307: result: ok
configure:5327: checking for wxWindows
configure:5344: result: yes
configure:5535: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by pgadmin3 config.status 1.2.2, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on nrg.wustl.edu

config.status:712: creating Makefile
config.status:712: creating src/Makefile
config.status:712: creating pkg/Makefile
config.status:712: creating pkg/mac/Makefile
config.status:816: creating config.h
config.status:946: config.h is unchanged
config.status:1126: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/usr/lib/beecrypt
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_gethostbyname=yes
ac_cv_func_inet_ntoa=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_strchr=yes
ac_cv_func_strtod=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libpq_fe_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_pq_PQexec=yes
ac_cv_lib_pq_SSL_connect=no
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_type__Bool=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
pgsql_cv_libpq=yes
pgsql_cv_libpqfe_h=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run
aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run tar'
APPBUNDLE_FALSE=''
APPBUNDLE_TRUE='#'
AUTOCONF='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run
autoheader'
AUTOMAKE='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run
automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -Wall -g -O0'
CPP='gcc -E'
CPPFLAGS=' -Wall -g -O0 -I/usr/local/pgsql/include
-I/usr/lib/wx/include/gtk2-unicode-debug-static-2.6
-I/usr/include/wx-2.6 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA'
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/usr/lib/beecrypt -L/usr/local/pgsql/lib -L/usr/lib'
LIBOBJS=''
LIBS='/usr/local/pgsql/lib/libpq.a -lcrypt -lcrypto -pthread
-L/usr/X11R6/lib /usr/lib/libwx_gtk2ud_xrc-2.6.a
/usr/lib/libwx_gtk2ud_qa-2.6.a /usr/lib/libwx_gtk2ud_html-2.6.a
/usr/lib/libwx_gtk2ud_adv-2.6.a /usr/lib/libwx_gtk2ud_core-2.6.a
/usr/lib/libwx_baseud_xml-2.6.a /usr/lib/libwx_baseud_net-2.6.a
/usr/lib/libwx_baseud-2.6.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama
-lXxf86vm -lpng -ljpeg -ltiff -lexpat -lwxregexud-2.6 -lz -ldl -lm
-pthread -L/usr/X11R6/lib /usr/lib/libwx_gtk2ud_stc-2.6.a
/usr/lib/libwx_gtk2ud_ogl-2.6.a /usr/lib/libwx_baseud-2.6.a
-lwxregexud-2.6 -lz -ldl -lm '
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/share/pgadmin3-1.2.2/config/missing --run makeinfo'
OBJEXT='o'
PACKAGE='pgadmin3'
PACKAGE_BUGREPORT='pgadmin-support(at)postgresql(dot)org'
PACKAGE_NAME='pgadmin3'
PACKAGE_STRING='pgadmin3 1.2.2'
PACKAGE_TARNAME='pgadmin3'
PACKAGE_VERSION='1.2.2'
PATH_SEPARATOR=':'
POW_LIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.2.2'
WX_CONFIG='/usr/bin/wx-config'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
bundledir=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/share/pgadmin3-1.2.2/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pg_debug_build='yes'
prefix='/usr/local/pgadmin3'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_ARPA_INET_H 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_INET_NTOA 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMMOVE 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCHR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE__BOOL 1
#define PACKAGE "pgadmin3"
#define PACKAGE_BUGREPORT "pgadmin-support(at)postgresql(dot)org"
#define PACKAGE_NAME "pgadmin3"
#define PACKAGE_STRING "pgadmin3 1.2.2"
#define PACKAGE_TARNAME "pgadmin3"
#define PACKAGE_VERSION "1.2.2"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define VERSION "1.2.2"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

Browse pgadmin-support by date

  From Date Subject
Next Message blacknoz 2005-09-09 07:52:10 Re: Pgadmin III connection error
Previous Message Sune B. Woeller 2005-09-07 20:20:19 Re: Question about Numeric Types