Compile perl program with Pg

Поиск
Список
Период
Сортировка
От John Li
Тема Compile perl program with Pg
Дата
Msg-id 86E1599B8BAED51194960090277A368F02654B95@nell.pds.com
обсуждение исходный текст
Список pgsql-general
Hi,

I was trying to compile my PERL program with Postgres on Linux but always got:

/tmp/cc1zfTto.o: In function 'dl_init':

/tmp/cc1zfTto.o(.text+0x74664): undefined reference to 'boot_Pg'

The command I used to compile is: perlcc -o test myprog.pl

In myprog.pl, I have "use Pg" then some select statement. 

Have I missed anything?

Thanks advance for your help!

 

John Li 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: mailing list archives
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: accessing currval(), How? ... Trigger? I think...???