Re: pgAdmin III under wxCocoa

From: Adam H(dot)Pendleton <fmonkey(at)fmonkey(dot)net>
To: Adam Witney <awitney(at)sghms(dot)ac(dot)uk>
Cc: jm(at)poure(dot)com, Julian Smart <julian(dot)smart(at)btopenworld(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin III under wxCocoa
Date: 2003-09-30 21:20:29
Message-ID: EAD585D2-F38B-11D7-830E-000A9566CE14@fmonkey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Adam H.Pendleton 2003-09-30 21:29:03 acinclude.m4.patch
Previous Message Dave Page 2003-09-30 20:28:31 Re: Trigger addition wierdness