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

RE: [cgiapp] Compile Perl program with Pg module


You should use DBI as Pg is antiquated.

As well using DBi will give you flexability to use other
databases should you out grow postgres's funtionality.

I said *should* as it takes quite a bit to out grow it.

Jeff.

> -----Original Message-----
> From: John Li [mailto:suppressed
> Sent: Tuesday, February 11, 2003 2:00 PM
> To: 'suppressed'
> Subject: [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
> 
> 

---------------------------------------------------------------------
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.