i686-pc-cygwin/bin/ld: cannot find -lpostgres
Sat Aug 16 21:02:00 GMT 2014
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.
On 16/08/2014 20:39, Gery . wrote:
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: *** [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,
PS: The full error message is here:
probably my fault.
Could you copy
and see if this solve the issue ?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin