This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i686-pc-cygwin/bin/ld: cannot find -lpostgres




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]