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

Re: [TSVN] Conflicting libeay32.dll?

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-08-05 20:39:51 CEST

Jochen Buennagel [zang.systems] wrote:

> Hi there!
>
> I'm not a programmer so I don't know if this is an issue in TortoiseSVN
> at all (excellent program, BTW).
>
> After I installed TortoiseSVN, my online-banking application ("WISO Mein
> Geld 5.0") stopped working. When I start it up, it tells me about an
> "Enumeration 968" (rough translation from german) that could not be
> found in libeay32.dll, so the OpenSSL library could not be initialized.

Next time, use the original error message text. That way I could google
for it and find out the real english translation. BTW: german error
messages are fine with me ;)

> The application has its own libeay32.dll in a "shared libraries" folder.

And _that's_ the problem. If your app uses libeay32.dll in a shared libs
folder, it has to set that folder to the PATH environement variable. And
that means that windows will first try to re-use any dll with the same
name which is already loaded in memory. And since TSVN already has a dll
with that name loaded, you get that error message.
I suggest you write the devs of "Wiso Mein Geld" that they should
_never_ put a dll which they don't provide a unique name for in a shared
folder! That's called "dll hell" and is almost impossible to work around
once it happens.
As a workaround, you can move the libeay32 (and the ssleay32.dll too)
from the shared folder to the folder where the main app "Wiso Mein Geld"
is located so that windows will load _that_ dll for that program even if
another dll is already loaded.

> I even tried copying that version to the TortoiseSVN folder, overwriting
> the version there, and rebooting - no change except for getting a
> different number in the error message.

The same error message? Just another number? Or was it a similar error
message?
When you do that, I would expect that TSVN would throw that error
message, not your app anymore.

> Uninstalling TortoiseSVN (as WISO's hotline suggested) and rebooting
> works, but is obviously not what I want to do ;-)

Great hotline! Tell them I really love them and that they're very smart
people!
(you don't have to tell them what I'm thinking right now ;)

All I can do to avoid such problems is to _not_ link against the openssl
library anymore. I'm currently working on that - the shell extension
part doesn't really need it anyway since it does no network connections.
All the networking stuff is in TortoiseProc.exe, not the shell part. The
only "problem" is that this requires a special build of the subversion
sources (build without special #defines so that these parts don't get
used), which means another 20MB space on my HD, which means I'm reaching
the limit of it! (I only have 100MB left - after that it will be only
80MB :( )

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 5 21:47:23 2004

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

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