From owner-freebsd-emulation@freebsd.org Wed Jun 15 15:36:17 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28B4FA31A8A for ; Wed, 15 Jun 2016 15:36:17 +0000 (UTC) (envelope-from dchagin@chd.heemeyer.club) Received: from heemeyer.club (heemeyer.club [108.61.204.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "heemeyer.club", Issuer "heemeyer.club" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DD8C11BEA for ; Wed, 15 Jun 2016 15:36:16 +0000 (UTC) (envelope-from dchagin@chd.heemeyer.club) Received: from chd.heemeyer.club (dchagin.static.corbina.ru [78.107.232.239]) by heemeyer.club (8.15.2/8.15.1) with ESMTPS id u5FFa4tR074426 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Jun 2016 15:36:06 GMT (envelope-from dchagin@chd.heemeyer.club) X-Authentication-Warning: heemeyer.club: Host dchagin.static.corbina.ru [78.107.232.239] claimed to be chd.heemeyer.club Received: from chd.heemeyer.club (localhost [127.0.0.1]) by chd.heemeyer.club (8.15.2/8.15.1) with ESMTPS id u5FFa3Pt008082 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Jun 2016 18:36:03 +0300 (MSK) (envelope-from dchagin@chd.heemeyer.club) Received: (from dchagin@localhost) by chd.heemeyer.club (8.15.2/8.15.2/Submit) id u5FFa3jx008081; Wed, 15 Jun 2016 18:36:03 +0300 (MSK) (envelope-from dchagin) Date: Wed, 15 Jun 2016 18:36:03 +0300 From: Chagin Dmitry To: Erik Cederstrand Cc: freebsd-emulation@freebsd.org Subject: Re: cx_Oracle on 64-bit FreeBSD, need help Message-ID: <20160615153603.GA8062@chd.heemeyer.club> References: <23CF3D5D-93C0-4E19-A854-69A1D96B4DE6@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23CF3D5D-93C0-4E19-A854-69A1D96B4DE6@cederstrand.dk> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 15:36:17 -0000 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