"Max Bowsher" <email@example.com> wrote:
> Mathias.Weinert@gfa-net.de wrote:
> > "Max Bowsher" <firstname.lastname@example.org> wrote:
> >> Mathias.Weinert@gfa-net.de wrote:
> >>> $ svn-pusher
> >>> Can't load
> > '/usr/lib/perl5/site_perl/5.8/cygwin/auto/SVN/_Core/_Core.dll'
> >>> for module SVN::_Core: dlopen, Win32 error 127 at
> >>> /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line 230.
> >>> at /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Base.pm line 59
> >>> BEGIN failed--compilation aborted at
> >>> /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Core.pm line 5.
> >>> Compilation failed in require at /usr/bin/svn-pusher line 7.
> >>> BEGIN failed--compilation aborted at /usr/bin/svn-pusher line 7.
> >>> The error occurs when the _Core.dll should be loaded (as far as I
> >>> error 127 means that a function cannot be found). This happens with
> >>> "official" subversion 1.2.3 for cygwin (thanks for the patches, Max)
> >>> well as if I build subversion 1.3.0 (trunk revision 16227) with perl
> >>> bindings by using the "official" cygwin patches.
> >>> Any idea what I do wrong or what I can do to make programs using the
> >>> subversion perl-bindings run?
> >> My tentative suggestion is that you are having problems with mixed
> >> versions
> >> of Subversion DLLs being found.
> >> Try ensuring that you really only have a single version of
> >> Cygwin-Subversion installed, or setting $PATH to just "/usr/bin", to
> >> this hypothesis.
> > $ echo $PATH
> > /usr/bin
> > $ perl -MSVN::Core -e'print "ok\n";'
> > Can't load
> > for module SVN::_Core: dlopen, Win32 error 126 at /usr/lib/perl5/5
> > .8/cygwin/DynaLoader.pm line 230.
> > at /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Base.pm line 59
> > BEGIN failed--compilation aborted at
> > /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Core.pm line 5.
> > Compilation failed in require.
> > BEGIN failed--compilation aborted.
> > Do you have any other idea what I can do?
> First, don't send HTML email that formats your entire message in a
> tiny font! :-)
> Second, run this:
> $ cygcheck /usr/lib/perl5/site_perl/5.8/cygwin/auto/SVN/_Core/_Core.dll
> to see which of the DLLs that _Core.dll depends on are inexplicably
> from your system.
Now it works...
Your first suggestion was absolutely right. I had some old DLLs hanging
around in /usr/bin but wanted to use the ones in /usr/local/bin
(nevertheless cygcheck only showed my references to the ones in
/usr/local/bin). Perhaps this was even the cause for some other problems I
encounter from time to time.
Thanks for your fast and reliable help!
Unfortunately I don't know how to send better formatted (or let's say
unformatted) mails to you at the moment but I will look after it.
Received on Tue Sep 27 17:38:06 2005