delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/05/06:47:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 5 Nov 2003 12:44:29 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <19311686421.20031105124429@familiehaase.de>
To: =?ISO-8859-1?B?Q+lkcmljIEJvdXR0ZXM=?= <bouttes AT ensam DOT inra DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Postgresql: libpq problem? (was: Re: Compilation problem)
In-Reply-To: <3.0.1.32.20031103115038.00f86818@ensam.inra.fr>
References: <3 DOT 0 DOT 1 DOT 32 DOT 20031103115038 DOT 00f86818 AT ensam DOT inra DOT fr>
MIME-Version: 1.0

Hello Cédric,

seems to be a problem with this symbol in the postgresql library libpq.
I don't know the postgresql code, so lets ask the maintainer (therefore
the subject change).  Jason? Any ideas?

Gerrit

Monday, November 3, 2003, 11:50:38 AM, you wrote:

> Hello,

> I'm trying to install DBD-Pg-1.22 on CygWin.  I have postgresql and DBI up
> and running but i can't get DBD-Pg-1.22 working.
> I receive the following error executing make:

> $ make
> rm -f blib/arch/auto/DBD/Pg/Pg.dll
> LD_RUN_PATH="" ld2  -s -L/usr/local/lib Pg.o dbdimp.o  -o
> blib/arch/auto/DBD/Pg/
> Pg.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
> -L/usr/lib -l
> pq
> gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
> -Wl,--export-all-symbols -Wl
> ,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Pg.o dbdimp.o
> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
> libperl.dll.a -L/usr/lib -lpq
> dbdimp.o(.text+0x2fde):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> dbdimp.o(.text+0x2fee):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> dbdimp.o(.text+0x2ffe):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> Creating library file: libPg.dll.a
> collect2: ld returned 1 exit status
> perlld: *** system() failed to execute
> gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
> -Wl,--export-all-symbols -Wl
> ,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Pg.o dbdimp.o
> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
> libperl.dll.a -L/usr/lib -lpq

> make: *** [blib/arch/auto/DBD/Pg/Pg.dll] Error 1

> What can the problem be???

> Regards,

> Cédric.



-- 
Best regards,
 Gerrit 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019