[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: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-27 16:45:05 CEST

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.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 16:45:55 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.