Re: pgAdmin III under wxCocoa - Mailing list pgadmin-hackers

From Adam H.Pendleton
Subject Re: pgAdmin III under wxCocoa
Date
Msg-id EAD585D2-F38B-11D7-830E-000A9566CE14@fmonkey.net
Whole thread Raw
In response to pgAdmin III under wxCocoa  (Jean-Michel POURE <jm@poure.com>)
Responses Re: pgAdmin III under wxCocoa
List pgadmin-hackers
On Tuesday, Sep 30, 2003, at 05:40 US/Eastern, Adam Witney wrote:

> And the relevant part of config.log says
>
> configure:4634: gcc -o conftest -Wall -g -O0  -DSSL
> -I/usr/local/pgsql/include  -L/usr/local/pgsql/lib conftest.c -lpq
> /usr/local/pgsql/l
> ib/libpq.a -lcrypt  -lssl -lcrypto >&5
> ld: can't locate file for: -lcrypt
> configure:4637: $? = 1
> configure: failed program was:
> | #line 4610 "configure"
>

Hmmm.  I just downloaded and './configure'd pgAdmin3 on my system, and
it doesn't even link against libcrypt.  This is because only the static
version of pgAdmin3 links against libcrypt.  IIRC, this dependency was
added to the build system to support Slackware.  Dave, could you change
line 114 from:

LIBS="${LIBPQ_HOME}/lib/libpq.a -lcrypt $LIBS -lssl -lcrypto"

to:

LIBS="${LIBPQ_HOME}/lib/libpq.a $LIBS -lssl -lcrypto"

and let me know what happens.  Could you test this as well Jean-Michel?
  Make sure you configure with --disable-shared.  Adam W., go ahead and
compile pgAdmin3 without the --disable-shared flag for now, and let me
know what happens.

ahp

Attachment

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: GPL code in our CVS :-(
Next
From: Andreas Pflug
Date:
Subject: Re: pgAdmin III under wxCocoa