Re: [cx-oracle-users] Compiling cx_Oracle with Linux Oracle Instantclient 10.2
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2005-11-09 15:05:27
|
Hmm, I certainly don't have the same directory structure as you do. I've been using the RPM version and it puts the libraries in /usr/lib/oracle/10.2.0.1/lib and the include files in /usr/include/oracle/10.2.0.1/client. How did you install the client? The binary you built should be just fine, though. All that matters for compilation is that your header files and your shared libary files match. :-) On 11/8/05, Nicolas Duboc <ni...@du...> wrote: > Hi all, > > Below is a small patch I had to apply on cx_Oracle sources to make them > compile on my Debian Linux testing box with the Oracle Instantclient > 10.2. > > There were compilation warnings but the module seems to work for me > (and I don't plan to use it for production applications so not a problem > for me). > > Thanks, > > -- > Nicolas Duboc <ni...@du...> > > > --- setup.py.bak 2005-01-21 06:17:28.000000000 +0100 > +++ setup.py 2005-11-08 15:33:15.000000000 +0100 > @@ -47,7 +47,7 @@ > libDirs[i] =3D os.path.join(oracleHome, libDirs[i]) > libs =3D ["oci"] > else: > - includeDirs =3D ["rdbms/demo", "rdbms/public", "network/public"] > + includeDirs =3D ["rdbms/demo", "rdbms/public", "network/public", "sd= k/include"] > if sys.platform =3D=3D "darwin": > includeDirs.append("plsql/public") > for i in range(len(includeDirs)): > @@ -56,6 +56,7 @@ > if sys.platform =3D=3D "sunos5" and sys.maxint > 2147483647: > libPath =3D os.path.join(oracleHome, "lib64") > libDirs =3D [libPath] > + libDirs.append(oracleHome) > libs =3D ["clntsh"] > > # determine the build time to use in the binary > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Downl= oad > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |