delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/16/15:43:44

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:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=XtjOCDkeYwjV1XRUmofQXEPs2c+hyIfNnwQHXQsgUyT
5YEKBLbtLoBYqq7S9Oj69Pd+jG2sEhsSiBOLB9rnpKeQx1FxEA/Mm364dCAIsiB4
XjmWx8/65JiZowSIc3wg6rZj65iA5fk4yLFHPV8DEnbBI6e/bzasB4GF5z7wJ7Kk
=
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:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=f8Uc7tTXuqeJJBNx+NW5bv5mwNI=; b=M/npUMV5zuIbelvwP
QLO7yDAomqnrifUPuYmChkeVf5gRKbZpUlfYc251oomevhVsvg22cp0I07c1LZ2s
j1CB40LyEmX4bOI4yaoeIfwZeb2GPHj2Z0SmhVPCIKpyPylchaXArL6HlqiI5u74
RYr4hnzdzb03SFpKApX9N353BE=
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=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_DBL_ABUSE_SPAM autolearn=no version=3.3.2
X-HELO: mail-la0-f66.google.com
X-Received: by 10.152.25.170 with SMTP id d10mr19096525lag.37.1408218192675; Sat, 16 Aug 2014 12:43:12 -0700 (PDT)
Message-ID: <53EFB44B.2040807@gmail.com>
Date: Sat, 16 Aug 2014 21:43:07 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: i686-pc-cygwin/bin/ld: cannot find -lpostgres
References: <DUB129-W19C4AA39E1A06E97929EDDB0D60 AT phx DOT gbl>
In-Reply-To: <DUB129-W19C4AA39E1A06E97929EDDB0D60@phx.gbl>
X-IsSubscribed: yes


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