Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'
Дата
Msg-id 2665159.1728587268@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'  (Mikael Sand <msand@seaber.io>)
Список pgsql-hackers
Mikael Sand <msand@seaber.io> writes:
> Wonderful, the build works when using -lpgcommon_shlib -lpgport_shlib
> So this appears to imply that the output of `pkg-config -libs -static
> libpq`is incorrect?

>> /app # pkg-config -libs -static libpq
>> -L/usr/local/lib -lpq -L/usr/lib/llvm15/lib -L/usr/local/lib -lpgcommon
>> -lpgport -lgssapi_krb5 -lm -lldap -lssl -lcrypto -ldl -pthread

Hmm ... does seem that way.  Peter apparently deliberately made it so
in 55392bc5b, but there's no real justification for removing _shlib
in the commit message.  Peter?

            regards, tom lane



В списке pgsql-hackers по дате отправления: