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

RE: Problem with Python bindings to SVN 1.7.4 on Windows

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 22 Mar 2012 07:36:03 +0000

> -----Original Message-----
> From: Alagazam.net Subversion [mailto:svn_at_alagazam.net]
> Sent: 21 March 2012 19:41
> To: Brian Neal
> Cc: users_at_subversion.apache.org
> Subject: Re: Problem with Python bindings to SVN 1.7.4 on Windows
>
> On 2012-03-21 20:14, Brian Neal wrote:
> > On Wed, Mar 21, 2012 at 1:41 PM, Alagazam.net Subversion
> > <svn_at_alagazam.net> wrote:
> > > Do you have another libeay32.dll and ssleay32.dll in some
> > > other folder that is before Subversion\bin in your path ?
> > > If that's the case and these are older versions there
> > > might be trouble.
> > >
> > > /David a.k.a. Alagazam

Ooo, I should have thought of that...

> > Why yes, those DLL's do exist in an earlier folder on the path!
> >
> > Is there anything that can be done to avoid a problem like
> > that in the future? Perhaps a note in the readme? I have
> > noticed that Bitnami and Collabnet dump all the SVN and
> > Python binding DLL's into the same folder. I'm not a windows
> > / dll expert so I don't know if that is a good solution or not.

Yes and no, easier in a lot of cases for programmers and users but leads to bloat and duplication on the user's system. However, it almost always helps to avoid "DLL Hell" although I notice from Thorsten's link:-

 ~ If a DLL with the same module name is already loaded in memory,
   the system uses the loaded DLL, no matter which directory it is
   in. The system does not search for the DLL.

...and...

 ~ The standard DLL search order used by the system depends on
   whether safe DLL search mode is enabled or disabled. Safe DLL
   search mode places the user's current directory later in the
   search order.

...neither of which I knew and both could be a problem. Thanks microsoft.

So the safest solution is make sure you only have one version installed at a time?

~ mark c

> > Thanks for the help. And thanks very much for making those Windows
> > binaries available.
> >
> > -BN
>
> That is a good solution.
> You can always have the habit of downloading the zip file with the
> Subversion binaries (svn-win32-1.7.4.zip) and extract it (or at least
> the dll:s) in the same folder where you have the Python bindings.
>
> /David a.k.a. Alagazam
>
Received on 2012-03-22 08:36:51 CET

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

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