Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f15Hr8x41354 for ; Mon, 5 Feb 2001 12:53:08 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0UETvq19822 for ; Tue, 30 Jan 2001 09:29:57 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f0UETAm93968 for pgsql-interfaces@postgresql.org; Tue, 30 Jan 2001 09:29:10 -0500 (EST) (envelope-from news) From: Luiz Fernando =?iso-8859-1?Q?Sodr=E9?= X-Newsgroups: comp.databases.postgresql.interfaces Subject: Compiling Perl code Date: Tue, 30 Jan 2001 12:29:37 -0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 42 Message-ID: <3A76CFD1.3483DD2D@justoaqui.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: scrappy@hub.org X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en To: pgsql-interfaces@postgresql.org X-Archive-Number: 200102/15 X-Sequence-Number: 965 Hi! I'm trying to generate a executable code from a code written in Perl that uses the Pg module. I'm using the program 'perlcc' to do this. But all times that I try to compile my code a error message is going on breaking the compilation. It's showing this message: /tmp/cc3NRQ16.o(.data+0xd738): undefined reference to `XS_Pg_PQlo_lseek' /tmp/cc3NRQ16.o(.data+0xd81c): undefined reference to `XS_Pg_PQlo_import' /tmp/cc3NRQ16.o(.data+0xd8b4): undefined reference to `XS_Pg_PQlo_export' /tmp/cc3NRQ16.o(.data+0xd9e4): undefined reference to `XS_Pg_PQlo_write' /tmp/cc3NRQ16.o(.data+0xdbac): undefined reference to `XS_Pg_PQlo_close' /tmp/cc3NRQ16.o(.data+0xddc0): undefined reference to `XS_Pg_PQlo_read' /tmp/cc3NRQ16.o(.data+0xe78c): undefined reference to `XS_Pg_PQlo_unlink' /tmp/cc3NRQ16.o(.data+0xe7d8): undefined reference to `XS_Pg_PQlo_tell' /tmp/cc3NRQ16.o(.data+0xe870): undefined reference to `XS_Pg_PQlo_open' /tmp/cc3NRQ16.o(.data+0xeb1c): undefined reference to `XS_Pg_PQlo_creat' collect2: ld returned 1 exit status Example for a code that happens this: #!/usr/bin/perl use Pg; exit(0); I suppose it's a linkedition problem, but I don't have idea how to fix it. Do anyone know what problem it is, and how to fix it? Luiz Fernando