[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Compile Perl program with Pg module


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 my "myprog.pl", I have "use Pg" (Postgres module) and a simple select
statement.

Have I missed anything?
Thanks advance for your help!


John Li


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.