[DB-SIG] DCOracle1.3.2 newbie question
alessio.annolfi at virgilio.it
alessio.annolfi at virgilio.it
Tue Jul 13 18:14:54 CEST 2004
Hi, I am trying to build oci_ module (DCOracle1.3.2) on windows 2000, python2.1
enviroment using Microsoft, Oracle 8.1.5 OCI package has been installed
VC++ 6.0.
The Following is the setup.py script I'am using:
from distutils.core import setup, Extension
setup(name="oc",
version="1.0",
long_description="This package contains code to access an Oracle DB",
author="Alessio",
author_email="alessandro.cogliolo at pisa.intecs.it",
url="",
ext_package="oc",
ext_modules=[
Extension("oci",
[".\\Buffer.c",
".\\oci_.c" ],
library_dirs=["D:\oracle\OCI\LIB\MSVC", "D:\\oracle\\BIN"],
libraries=["oci","ociw32","kpucb"],
include_dirs=[".\\", "C:\\Python21\\", "D:\\oracle\\OCI\\INCLUDE"]
)
]
)
When I run the "python setup.py install" from command line I get the following
error message:
LINK : error LNK2001: unresolved external symbol initoci
build\temp.win32-2.1\Release\oci.lib : fatal error LNK1120: 1 unresolved
externals
May someone help me?
Thx
More information about the DB-SIG
mailing list