[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem using perl bindings under cygwin

From: <Mathias.Weinert_at_gfa-net.de>
Date: 2005-09-27 17:30:54 CEST

"Max Bowsher" <maxb@ukf.net> wrote:

> Mathias.Weinert@gfa-net.de wrote:
> > "Max Bowsher" <maxb@ukf.net> 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
know
> >>> error 127 means that a function cannot be found). This happens with
the
> >>> "official" subversion 1.2.3 for cygwin (thanks for the patches, Max)
as
> >>> 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
test
> >> this hypothesis.
>
> > $ echo $PATH
> > /usr/bin
> >
> > $ perl -MSVN::Core -e'print "ok\n";'
> > Can't load
'/usr/lib/perl5/site_perl/5.8/cygwin/auto/SVN/_Core/_Core.dll'
> > 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
*really*
> 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
missing
> 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.

Mathias
Received on Tue Sep 27 17:38:06 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.