dllwrap, ld cannot find libperl5_6_1.a under cygwin

Bruce Patin bpatin@padecs.riss.net
Fri Jun 29 06:41:00 GMT 2001

I have been trying to install postgresql 7.1 with the perl option under cygwin,
but I get a message that ld cannot find -lperl, specified as libperl5_6_1.a,
even though the file is indeed where specified:
(This comes from an attempt to make postgresql7.1 with perl support)

(The following 6 lines are all one statement, retyped for this message)
dllwrap --dllname plperl.dll --driver-name gcc --dlltool dlltool --export-all-symbols
--as as --output-def libplperl.def --output-lib libplperl.a -s
-L/usr/local/lib plperl.o eloglvl.o SPI.o
-lperl /usr/lib/perl5/5.6.11/cygwin/CORE/libperl5_6_1.a

dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
cannot find -lperl

As a side issue, I cannot find where I got perl-5.6.1-1.tar.gz for cygwin,
the link on page http://www.cygwin.com/ported.html 
for text "here is a list of programs built with the latest release" is broken:

Can anyone help?

More information about the Cygwin mailing list