Re: libplperl.so and libperl.so

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libplperl.so and libperl.so
Дата
Msg-id 7308.1100669064@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libplperl.so and libperl.so  (Andrew - Supernews <andrew+nonews@supernews.com>)
Список pgsql-bugs
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> On 2004-11-16, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> [ thinks ... ]  OK, so the problem case is where perl was built with a
>> different compiler than we're building PG with,

> Which is a non-starter in any event - you can't reliably embed perl into a
> program that's compiled with a different compiler than perl was,

It's always worked for me on my standard test platform (HPUX, vendor's
cc versus gcc) and if you plan to break it you'd better have a darn
good reason why.

>> Where would he get it from, then?  We did talk about providing macros
>> for more flexible specification of rpath, so we can fix the problem if
>> we can get the Perl library path, but I'm unsure where to learn that.

> Oddly enough, that's what ccdlflags is for. So you'd end up removing that
> info from ldopts only to add it back... which seems somewhat pointless to
> me.

No, ccdlflags is some random compiler flags that might or might not
contain an rpath spec, and even if they do it's not clear how to extract
the actual path therefrom...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: strange order by behavior
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plperl crashes backend