From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17168 invoked by alias); 16 Aug 2014 21:02:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17157 invoked by uid 89); 16 Aug 2014 21:02:55 -0000 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 Received: from dub004-omc1s1.hotmail.com (HELO DUB004-OMC1S1.hotmail.com) (157.55.0.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sat, 16 Aug 2014 21:02:53 +0000 Received: from DUB129-W91 ([157.55.0.237]) by DUB004-OMC1S1.hotmail.com with Microsoft SMTPSVC(7.5.7601.22712); Sat, 16 Aug 2014 14:02:50 -0700 X-TMN: [5lGT9HhvgE/siKLTl2I3thDXIIqnWF0v] Message-ID: From: "Gery ." To: "cygwin@cygwin.com" Subject: Re: i686-pc-cygwin/bin/ld: cannot find -lpostgres Date: Sat, 16 Aug 2014 21:02:00 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00323.txt.bz2 Thanks a lot Marco for this email and the one I sent before about the share= d 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 explai= ned what I did in the PostGIS mailing list also, perhaps someone else can f= ind 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 thi= s 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 =20=09=09=20=09=20=20=20=09=09=20=20 -- 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