Opened 16 years ago

Closed 12 years ago

#42 closed defect (wontfix)

SDE Driver : MSVCP71D.dll (debug) dependency

Reported by: Mike Taves Owned by: hobu
Priority: major Component: Package
Version: Keywords: pkg-gdal-sde92
Cc: warmerdam

Description

While attempting to use gdal-sde92 (1.5.0-1) on a Win2003SP2 computer, I get 2 errors: the first described in this ticket, and the second being an (older?) issue from GDAL ticket 2552.

After installing gdal-sde92 (1.5.0-1) from OSGeo4W Curr, trying a command like gdalinfo.exe shows a dialog (twice):

This application has failed to start because MSVCP71D.dll was not found.

and console output:

ERROR 1: Can't load requested DLL: c:\OSGeo4W\bin\gdalplugins\gdal_SDE.dll
126: The specified module could not be found.

ERROR 1: Can't load requested DLL: c:\OSGeo4W\bin\gdalplugins\gdal_SDE.dll
126: The specified module could not be found.

This error is due to the build of gdal_SDE.dll with debugging enabled (MSVCP71D.dll). This dependency should exist.

More info:

$ gdalinfo.exe --version
GDAL 1.5.4, released 2009/01/07

The second error is when ogrinfo is used on something normal, like "ogrinfo myshapefile.shp":

$ ogrinfo myshapefile.shp
ERROR 4: SDE Driver doesn't support update.
Had to open data source read-only.
INFO: Open of `myshapefile.shp'
      using driver `ESRI Shapefile' successful.
1: myshapefile (Point)

This error is likely related to http://trac.osgeo.org/gdal/ticket/2552

I do not know how to get the version info from OGR (-version or --version or -v or -V flags do nothing).

Change History (5)

comment:1 by Mike Taves, 16 years ago

Correction:
"This dependency should exist" -> "This dependency should not exist"

comment:2 by warmerdam, 16 years ago

Cc: warmerdam added
Keywords: pkg-gdal-sde92 added; SDE removed
Owner: changed from osgeo4w-dev@… to hobu

Howard,

I believe this package was repackaged by me from the binaries you provided on the GDAL download site for 1.5.x. Is it practical for you to rebuild these?

comment:3 by jef, 12 years ago

Resolution: fixed
Status: newclosed

We have GDAL 1.9.2 - this can't be current.

comment:4 by Mike Taves, 12 years ago

Resolution: fixed
Status: closedreopened

This is still a current issue with gdal-sde92 version 1.5.0-1.

http://lists.osgeo.org/pipermail/osgeo4w-dev/2013-April/002169.html

Depends on gdal_SDE.dll/ogr_SDE.dll shows dependence on:

  • GDAL15.DLL (provided by OSGeo4W, in bin directory)
  • SDE.DLL (user supplied, along with PE.DLL and SG.DLL)
  • MSVCP71D.DLL
  • MSVCR71D.DLL

The last two, as stated before, are debug run-time libraries. This needs to be recompiled as a release target instead, with dependencies on the the existing msvc[pr]71.dll files that are redistributed with OSGeo4W.

in reply to:  4 comment:5 by jef, 12 years ago

Resolution: wontfix
Status: reopenedclosed

Replying to mwtoews:

This is still a current issue with gdal-sde92 version 1.5.0-1.

The point is that these packages are for GDAL 1.5 and we moved to GDAL 1.9.2. I marked the packages obsolete (as earlier the ECW plugins) and opened a new ticket #353.

Note: See TracTickets for help on using tickets.