cx_Oracle on 64-bit FreeBSD, need help

Chagin Dmitry dchagin at freebsd.org
Wed Jun 15 15:36:17 UTC 2016


On Wed, Jun 15, 2016 at 02:15:15PM +0200, Erik Cederstrand wrote:
> Hi,
> 
> I'm trying to get the cx_Oracle Python package to run on 64-bit 10.3-RELEASE. This has previously not been possible, so this is a first attempt. cx_Oracle requires the Oracle instantclient libraries which are only available for Linux. I have installed emulators/linux_base-c6 as 64-bit. I installed a 64-bit Oracle instantclient SDK and installed a libaio RPM from CentOS 6, and got to the point where "pip install cx_Oracle" actually completes. But Python3.4 (with debug compiled in) segfaults when I try to import the cx_Oracle module. Any suggestions where to go from here? I'm thinking maybe the FreeBSD libc.so and the Linux libc.so get mixed up?
> 
> Here's the backtrace (I installed gdb from ports since stock gdb couldn't handle the core file). I tried Python3.5 but got the same backtrace. Line 95 in dynload_shlib.c is:
> 
>    handle = dlopen(pathname, dlopenflags);
> 
>

............
 
> 
> # sudo pip install cx_Oracle
> 
>

please, do ktrace -di sudo pip install cx_Oracle
than sudo kdump -HAR -m 64 > cx.log and send log to me
 


More information about the freebsd-emulation mailing list