[Zope-DB] DCOracle2 and x86_64
maciej.wisniowski at coig.katowice.pl
Thu Mar 22 17:51:03 EDT 2007
> Maceij -
> You got the following:
> gcc -pthread -shared ./dco2.o -L/opt/oracle/client.9/product/lib32/
> -lclntsh -Wl,-rpath,/opt/oracle/client.9/product/lib -o ./dco2.so
> BOTH oracle lib directories should be lib32. In the above, you have one
> pointing to lib32 and the other one to lib. Change the MAKE file to
> reflect this.
> Also, make sure that you actually have the 32-bit libs in the lib32.
> The point is this: the paths should be to the location of the 32-bit
> libs wherever they are, and the paths above should be set to these
> 32-bit paths. Also, LD_LIBRARY_PATH should point to the 32-bit lib
> Link, and then point your LD_LIBRARY_PATH to the oracle 64-bit lib path.
> This has worked with me without fail with DCOracle2 and other programs
> too that use oracle libs. I use Solaris.
Thanks for the hints! Currently I can't check this (we've installed 32 bit
systems on our servers in order to avoid segfaults :) ) but I'll try
when it'll be possible.
More information about the Zope-DB