hello everyone,

work on this perl quest:
https://questhub.io/realm/perl/quest/53d39f40b587a43011000143

trying to get cygwin64 perl blead smoking.

still working my way through that tutorial with cygwin. configure told me:
Found -ldl.
What libraries to use? [-lgdbm -ldb -ldl -lgdbm_compat]
used the command:
gcc -o try -O3 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fwrapv -fno-str
ict-aliasing -pipe -fstack-protector -Wl,--enable-auto-import
-Wl,--export-all-s ymbols -Wl,--enable-auto-image-base -fstack-protector
-L/usr/local/lib try.c -lg dbm -ldb -ldl -lgdbm_compat
./try
and I got the following output:
c:/strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86_64-w64-m
ingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status

I started a cygwin64 terminal, surprised by the mingw32 tools being used
from strawberry.
Anyways, I changed the answer (-ldl) to -lgdbm -ldb -lgdbm_compat; and
configure now tells me compile OK but produced no output. no makefiles
generated.

I'm assuming I am getting things mixed up with strawberry mingw and cygwin
mingw tools mismatch...but not sure.

thanks for any thoughts or suggestions!
--dave
http://dave.thehorners.com/tech-talk/programming/532-perl-troubleshooting-and-debugging-hanging-camels

Reply via email to