Missing OCI.dll

Topics: SharpMap v0.9 / v1.x
Apr 22, 2013 at 4:05 PM
Trying to run this code with Version 1.0 RC2

Elevationlayer = New SharpMap.Layers.GdalRasterLayer("Elevationlayer", "V:\GM\" & JobNumberStr & "\T" & JobNumberStr & ".tif")

I get This error " application has failed to start because OCI.dll was not found..."

I installed Gdal.native, 1.9.2 - Gdal 1.9.2 and Gdal.plugins 1.9.2 from NuGet
Coordinator
Apr 22, 2013 at 7:37 PM
Either of these helps:
  • install Oracle Client
  • remove ogr_OCI.dll from the x86|x64 native directories
  • uninstall GDAL.Plugins package
Apr 22, 2013 at 9:27 PM
I installed the Oracle Client and the error disappeared. Thanks again.