Обсуждение: Compile perl program with Pg

Поиск
Список
Период
Сортировка

Compile perl program with Pg

От
John Li
Дата:
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