[osgeo4w-dev] [osgeo4w] #484: The ordinal 3872 could not be located in the dynamic link library C:\OSGeo4W\bin\SSLEAY32.dll
OSGeo4W
trac_osgeo4w at osgeo.org
Wed Feb 17 08:18:32 PST 2016
#484: The ordinal 3872 could not be located in the dynamic link library
C:\OSGeo4W\bin\SSLEAY32.dll
---------------------+---------------------------
Reporter: julienPX | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: major | Component: Installer
Version: | Keywords: ordinal 3872
---------------------+---------------------------
Good afternoon,
I try to use GEOS with Django and MySQL. I installed the program "osgeo4w-
setup-x86.exe" (Express Web-GIS Install, then GDAL only as prescribed on
the DjangoProject site) on my computer (Windows 8.1). I followed all
instructions. The installation ended with no errors.
I use the following versions:
- Python 2.7
- Django 1.8.9
- MySQL 5.5
I defined my DATABASE like that in Django:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'myapp',
'USER': 'root',
'PASSWORD': 'mypassword',
'HOST': '127.0.0.1',
'PORT': '3306',
}
}
I created the database myapp in mySQL.
I set the environment variables like that :
set OSGEO4W_ROOT=C:\OSGeo4W
set PYTHON_ROOT=C:\Python27
set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
set PROJ_LIB=%OSGEO4W_ROOT%\share\proj
set PATH=%PATH%;%PYTHON_ROOT%;%OSGEO4W_ROOT%\bin
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" /v Path /t REG_EXPAND_SZ /f /d "%PATH%"
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" /v GDAL_DATA /t REG_EXPAND_SZ /f /d "%GDAL_DATA%"
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment" /v PROJ_LIB /t REG_EXPAND_SZ /f /d "%PROJ_LIB%"
When I start my app, I get a window with the following error:
"The ordinal 3872 could not be located in the dynamic link library
C:\OSGeo4W\bin\SSLEAY32.dll"
I spent days trying to find an answer but nothing on the web. I tried to
install PostgreSQL + PostGIS, reconfigured everything and got exactly the
same error.
Here is the end of setup.log.full in C:\OSGeo4W\var\log:
C:\OSGeo4W>dllupdate -oite -copy -reboot "C:\OSGeo4W\bin\libeay32.dll"
C:\OSGeo4W\bin\libeay32.dll: Version=1.0.1.7
C:\WINDOWS\system32\libeay32.dll: Version=0.0.0.0 Target does not exist,
no action.
C:\OSGeo4W>dllupdate -oite -copy -reboot "C:\OSGeo4W\bin\ssleay32.dll"
C:\OSGeo4W\bin\ssleay32.dll: Version=1.0.1.7
C:\WINDOWS\system32\ssleay32.dll: Version=0.0.0.0
Target does not exist, no action.
Thanks a lot ! Any help would be really useful.
Julien
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/484>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list