Compile perl program with Pg

From: John Li <john(dot)li(at)newroads(dot)com>
To: "'PGSQL General (E-mail)'" <pgsql-general(at)postgresql(dot)org>
Subject: Compile perl program with Pg
Date: 2003-02-11 18:15:35
Message-ID: 86E1599B8BAED51194960090277A368F02654B95@nell.pds.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Tkach 2003-02-11 18:59:56 Re: URGENT: pg_dump error
Previous Message Tom Lane 2003-02-11 17:45:08 Re: mailing list archives