delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/16/17:03:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=jD4
01N/qvZNXqwYs5fXZgESnON8AkafKrei5jc+3LaL2tEp8ViLmSTvui7pGjAsQGzf
R+xNGxbItkefZiTtKRu3paJ1FzAAIxRHY8gqi88iNulG05Mz/hYL7fHvreCZXd5z
iP+Z+AbXSypYy7dk6LErrFj52mRFNEQTG92J3+8o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; s=default; bh=UhZfg+/PO
bSRQ8ON4/5KlvB6CMU=; b=Zfnk+tyseZdS3RTIASvHPEQGnKrEIX6H+I/Z2JCl9
xIZD+NsZZIglm00HSIlWot5omzPFWDEK9Wwu9MZacQ7TYMRbAUsVjR+YS/ynAyPy
ciZRZeNCGLsCqfd+CZCAuhx3GIpn9vNdlpYf/QA4EIYosMf31snVQOeIL2QnlTuJ
sE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS,URIBL_DBL_ABUSE_SPAM autolearn=no version=3.3.2
X-HELO: DUB004-OMC1S1.hotmail.com
X-TMN: [5lGT9HhvgE/siKLTl2I3thDXIIqnWF0v]
Message-ID: <DUB129-W91770FB2A3D8ECB7D3777FB0D60@phx.gbl>
From: "Gery ." <gamejihou AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: i686-pc-cygwin/bin/ld: cannot find -lpostgres
Date: Sat, 16 Aug 2014 21:02:50 +0000
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s7GL36kd000905

Thanks a lot Marco for this email and the one I sent before about the shared libraries. I didn't answer before because I was inscribed as digest, so I just dropped that recently and subscribed again.

That *.a file definitely did the trick, many thanks for that. I just explained what I did in the PostGIS mailing list also, perhaps someone else can find the solution there.

Thanks again,

Gery


On 16/08/2014 20:39, Gery . wrote:
Hello,

I'm trying to install postgis 2.2.0dev (http://postgis.net/stuff/postgis-2.2.0dev.tar.gz), but I got an error saying:

/usr/lib/gcc/i686-pc-cygwin/4.8.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lpostgres
collect2: error: ld returned 1 exit status
/usr/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:377: recipe for target 'postgis-2.2.dll' failed
make[1]: *** [postgis-2.2.dll] Error 1

In my cygwin (latest version, 32-bit), postgres.exe is in /usr/sbin and this path is already in $LD_LIBRARY_PATH in my .bashrc.

How can I solve that?

Thanks for any hints,

Gery

PS: The full error message is here:

probably my fault.
Could you copy
http://matzeri.altervista.org/works/postgres/libpostgres.a

on /usr/lib
and see if this solve the issue ?

Thanks
Marco

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


- Raw text -


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