Re: compiling problem - Mailing list pgadmin-support

From blacknoz@club-internet.fr
Subject Re: compiling problem
Date
Msg-id mnet1.1077544033.703.blacknoz@club-internet.fr
Whole thread Raw
In response to compiling problem  (Dirk Dil <mejerdil@pt.lu>)
List pgadmin-support
Nice! :)
I'm glad you got it up. LFS is something I like.
Have fun with pgAdmin3.

Forget about the log, although it would be interesting to know why SSL build was tried as your libpq was not ssl
enabled.

Regards,
Raphaël

----Message d'origine----
>Date: Mon, 23 Feb 2004 14:37:39 +0100
>De: Dirk Dil <mejerdil@pt.lu>
>A: blacknoz@club-internet.fr
>Sujet: Re: Re: [pgadmin-support] compiling problem
>
>blacknoz@club-internet.fr (blacknoz@club-internet.fr) wrote:
>>
>> ooops... I didn't see you were linking libpq.a and not .so.
>>
>> Try nm /opt/postgresql-7.4.1/lib/libpq.a | grep PQgetssl
>> If you have an output then your libpq is ok.
>> If so, I think you face the fact that pgconn.o is loaded before libpq.a in the linker or something like that.
>> Try to laucnh manually the last line (linking stage) by inserting libpq.a before pgConn.o... If it solves the
problemyou should have a pgadmin3 exe but we will have to go further to definitely solve the problem. 
>>
>> I personnally link dynamically due to debian policy, but many developers here link statically. So it *should* work!
:)
>>
>> To be continued :)
>>
>> Regards,
>> Rapha?l
>>
>
>Great!!!  It works.
>
>The nm /opt/postgresql-7.4.1/lib/libpq.a | grep PQgetssl command gave
>nothing.
>
>I went back to postgresql and rebuilt the lot using fresh sources and
>the following:
>
>../configure --prefix=/opt/postgresql-7.4.1 --with-openssl=/usr/bin
>                    not that far out of the way, no?------^^^^^^^
>now nm /opt/postgresql-7.4.1/lib/libpq.a | grep PQgetssl gives:
>000010e0 T PQgetssl
>
>AND pgadmin3-1.0.2 compiled without a glich.
>
>This was of course the easy part...  now I've got to learn how to use it.
>
>Raphael, thank you very much.  I wouldn't have been able to this unaided.
>I learned something in the process too!!
>
>I guess log files aren't of much interest now, but if you still want a
>posting just ask.
>
>Dirk
>
>



pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Reverse engeenered SQL for COMMENT ON CHECK
Next
From: Susemail
Date:
Subject: Configuring pgadmin