David Vergin schrieb:
g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,--stack,8388608 -Wl,--e
nable-auto-image-base -L/usr/local/lib -fstack-protector DBI.o -o
blib/arch/auto/DBI/DBI.dl
l \
/usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll \
g++.exe: /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll: No such
file or directory
make: *** [blib/arch/auto/DBI/DBI.dll] Error 1
-------------8<----------------------------------------------
So... cygperl5_10.dll seems to be inaccessable. Let's copy/paste the
full path into an 'ls' command and take a look:
-------------8<----------------------------------------------
ad...@daviddell ~/DBI-1.609
$ ls -l /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll
lrwxrwxrwx 1 admin root 24 2010-04-05 15:47
/usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll ->
/usr/bin/cygperl5_10.dll
-------------8<----------------------------------------------
It's a link. Okay, let's look at the actual file:
-------------8<----------------------------------------------
ad...@daviddell ~/DBI-1.609
$ ls -l /usr/bin/cygperl5_10.dll
-rwxr-xr-x 1 admin root 1590565 2009-12-19 08:20 /usr/bin/cygperl5_10.dll
-------------8<----------------------------------------------
That looks to me like it should be accessable. I've deleted the entire
cygwin directory a couple times, re-installed cygwin, and started fresh
again. Same result each time.
Am I miss-reading the meaning of the error message?
No. Strange.
Does g++ dislike following links? It would be easy to replace the link
with a dup copy of the file, but that could break stuff like future
updates to cygwin itself so I'd rather not go there unless advised so by
well-practiced cygwinians.
I do that symlink trick since a few years with success.
Maybe your g++.exe or ld.exe is mingw? The mingw linker does not
understand cygwin symlinks.
You can try to copy the dll to the CORE dir instead.
This seems so straight-forward; I am out of things to investigate or try.
I can find no reference to this issue on the entire GoogleWeb. (Not to
say the cygwin.com site). Is it perhaps new with 1.7.3?
Any solutions, clues, advice, diagnostics to try, manual references,
etc. would be greatly appreciated. Getting up and running with a working
perl-mysql connection is, um, sorta crucial to a lot of stuff for me.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
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