RE: plperl and the dynamic loader

Поиск
Список
Период
Сортировка
От Ragnar Hakonarson
Тема RE: plperl and the dynamic loader
Дата
Msg-id NEBBIFOICLBACOFMLADICEAGCAAA.rhakonarson@conquestnetwork.com
обсуждение исходный текст
Ответ на plperl and the dynamic loader  ("Ragnar Hakonarson" <rhakonarson@conquestnetwork.com>)
Список pgsql-hackers
Hi Tom,

Thanks for you help.

I have not got a great deal of experience with C.

Could you be so kind to tell me how I directly link the DynaLoader into
plperl.so.

Once I got the DynaLoader in place my task is complete.

You might wonder what I am doing. I am implementing a function in Postures
that will act as a stored procedure over ODBC. I need to connect to many
databases from the stored procedure and I also need to connect to my own
perl .pm modules.

Regards,
Ragnar

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 21 May 2000 20:36
To: Ragnar Hakonarson
Subject: Re: [HACKERS] plperl and the dynamic loader


"Ragnar Hakonarson" <rhakonarson@conquestnetwork.com> writes:
> I get the following error from the backend:
>     Load of file /..../plperl.so: undefined symbol: boot_DynaLoader

> What else do I have to do to enable this?

IIRC, DynaLoader is a static library not dynamic, so you might have to
link it directly into plperl.so.  Not sure about that.  I recall that
Mark Hollomon and I had some troubles getting plperl to build portably
when it itself depended on DynaLoader, so he rewrote it to avoid needing
DynaLoader ...
        regards, tom lane



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

Предыдущее
От: "Matthias Urlichs"
Дата:
Сообщение: Re: MySQL's "crashme" (was Re: Performance)
Следующее
От: Tom Lane
Дата:
Сообщение: Last call for comments: fmgr rewrite [LONG]