Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2016 18:36:03 +0300
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Erik Cederstrand <erik+lists@cederstrand.dk>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: cx_Oracle on 64-bit FreeBSD, need help
Message-ID:  <20160615153603.GA8062@chd.heemeyer.club>
In-Reply-To: <23CF3D5D-93C0-4E19-A854-69A1D96B4DE6@cederstrand.dk>
References:  <23CF3D5D-93C0-4E19-A854-69A1D96B4DE6@cederstrand.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160615153603.GA8062>