Re: compiling problem

From: blacknoz(at)club-internet(dot)fr
To: mejerdil(at)pt(dot)lu
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: compiling problem
Date: 2004-02-23 14:47:13
Message-ID: mnet1.1077544033.703.blacknoz@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pt(dot)lu>
>A: blacknoz(at)club-internet(dot)fr
>Sujet: Re: Re: [pgadmin-support] compiling problem
>
>blacknoz(at)club-internet(dot)fr (blacknoz(at)club-internet(dot)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 problem you 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
>
>

Browse pgadmin-support by date

  From Date Subject
Next Message sales 2004-02-27 09:11:45 Your product pgAdmin III for PostgreSQL has been approved!
Previous Message Dave Page 2004-02-23 11:55:05 Re: Reverse engeenered SQL for COMMENT ON CHECK