简体   繁体   English

无法在ocilib中加载OCI共享库(oci.dll)

[英]Cannot load OCI shared library (oci.dll) in ocilib

I have a probem with runnig ocilib_demo project in codeblocks I am getting this error: 我在代码块中有一个runnig ocilib_demo项目的探针,我收到此错误:

Cannot load OCI shared library (oci.dll) 无法加载OCI共享库(oci.dll)

Operating system: Windows 10 作业系统:Windows 10

build log: 构建日志:

mingw32-gcc.exe -Wall -O2 -DOCI_API=__stdcall -DOCI_CHARSET_ANSI -
IC:\Users\aisni\Desktop -c C:\ocilib\demo\ocilib_demo.c -o "MinGW\Release - 
ANSI\demo\ocilib_demo.o"
mingw32-g++.exe  -o "MinGW\Release - ANSI\ocilib_demo.exe" "MinGW\Release - 
ANSI\demo\ocilib_demo.o"  -s  ..\..\lib32\libociliba.a
Output file is MinGW\Release - ANSI\ocilib_demo.exe with size 358.50 KB
Process terminated with status 0 (0 minute(s), 11 second(s))
0 error(s), 0 warning(s) (0 minute(s), 11 second(s))

oci.dll is not found either in executable directory, system folders, folder listed in PATH environment variable nor in the folder optionally passed to OCI_Initialize(). 在可执行文件目录,系统文件夹,PATH环境变量中列出的文件夹或可选传递给OCI_Initialize()的文件夹中都找不到oci.dll。

Ocilib requires Oracle OCI shared library (oci.dll on windows) that is provided by regular or instant oracle clients. Ocilib需要常规或即时oracle客户端提供的Oracle OCI共享库(在Windows上为oci.dll)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM