Skip site navigation (1) Skip section navigation (2)

Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'

From: Julia Jacobson <julia(dot)jacobson(at)arcor(dot)de>
To: erob(at)gthcfoundation(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'
Date: 2011-03-30 21:44:12
Message-ID: 4D93A42C.6070406@arcor.de (view raw or flat)
Thread:
Lists: pgsql-bugs
On 30/03/2011 19:49, Etienne Robillard wrote:
> On 30/03/11 12:56 PM, julia(dot)jacobson(at)arcor(dot)de wrote:
>> Hello Etienne,
>>
>> Thanks for your answer.
>> What do you mean by "you may have hitten yourself in the foot with the --disable-shared option"?
>> When I don't use this option, everything works fine.
>> Compiling PostgreSQL 8.4.7 doesn't work either.
>> The problem is that I need a static libpq. Leaving out the --disable-shared option doesn't results in some pseudo-static libpq and my application still requires a dynamic libpq apart from the static one.
>>
>> Regards,
>> Julia
>>
>>
>
> have you tried with "--enable-static=libpq" ? I'm not sure but this
> issue could also be related
> to the Mingw environment.
>
> Cheers,
>
> Etienne

Well, the "--enable-static=libpq" option isn't very effective, since it 
results in the following message:
configure: WARNING: option ignored: --enable-static
Therefore, I would be happy about the compilation with the 
--disable-shared option finishing without errors.


In response to

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2011-03-31 07:58:55
Subject: Re: backend for database 'A' crashes/is killed -> corrupt index in database 'B'
Previous:From: Lawrence CohanDate: 2011-03-30 20:49:48
Subject: Re: Postgres not using indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group