[gdal-dev] Error with Crystal Reports XI

Frank Warmerdam warmerdam at pobox.com
Fri Dec 14 10:23:05 EST 2007


Mullins, Steven wrote:
> I get the following error when trying to run ogrinfo, ogr2ogr or fwtools when Crystal Report XI is installed.  I found the following url which explains a similar problem.
> 
> The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll
> 
> http://archives.postgresql.org/pgsql-bugs/2004-11/msg00200.php
> 
> 
> I tried reinstalling FWTOOLS after Crystals reports to maybe overwrite the DLL with another one, but it did not work.  A solution is to remove a file LIBEAY32.dll.  When this is done ogr works fine.  However, when Crystal Reports is run, it tries to reinstall itself.  Does anyone know how to make Crystal Reports XI and OGR work together?

Steven,

I believe the problem is that Crystal Reports installs an older version of
LIBEAY32.DLL in \windows\system32.  FWTools ends up using that instead of it's
own because I can't figure out any damn way to use my own DLLs in preference
to what is in \windows\system32.  But I deliberately don't copy my DLLs
to \windows\system32 because of the risk of breaking some other application.
I don't know how to detect if my dlls are newer than the installed ones
for instance.

For your particular case I'd suggest copying the FWTools LIBEAY32.DLL to
the \windows\system32 directory.

In general, I just don't know how to resolve this and it really really
pisses me off.   It's like Microsoft wants to guarantee DLL hell regardless
of how hard I try to avoid it.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list