From: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
---|---|
To: | Christoph Berg <myon(at)debian(dot)org> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Wolfgang Walther <walther(at)technowledgy(dot)de>, Timo Röhling <roehling(at)debian(dot)org> |
Subject: | Re: libcurl in libpq.pc |
Date: | 2025-09-23 21:15:28 |
Message-ID: | CAOYmi+mWisr3fqOsxtii+OUBaECmUhivAdWMGDjFOSPFMufyaA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Sep 23, 2025 at 12:42 PM Christoph Berg <myon(at)debian(dot)org> wrote:
> Maybe by the letter, but I think we have a real problem and need to do
> something.
If I break Wolfgang's use case again, we will still have a real problem.
> > I think we can't avoid it; if anyone wants to get Windows support
> > working they'll need -DCURL_STATICLIB as provided by libcurl.pc.
>
> That would be in Cflags.private.
Yes.
> > > $ pkgconf --libs --static libpq
> > > -lpq -lpgcommon -lpgport -lpq-oauth -lssl -lcrypto -lgssapi_krb5 -lm -lldap -lcurl -lssl -lz -lzstd -ldl -pthread -lcrypto -lz -lzstd -ldl -pthread
> >
> > Prettier, but wrong? I don't think that's going to link, is it?
>
> Wrong how?
It doesn't link. You'll be missing an incredible number of symbols.
--Jacob
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-09-23 21:27:37 | Re: plan shape work |
Previous Message | Tomas Vondra | 2025-09-23 19:57:47 | Re: Fix overflow of nbatch |