Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 18:41:10 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        bob prohaska <fbsd@www.zefox.net>, ports@freebsd.org
Subject:   Re: Python27 can't find _ctypes.so
Message-ID:  <2cea8b22-8adc-0aa7-4a0c-cde0526285c7@FreeBSD.org>
In-Reply-To: <20161122185415.GE56313@www.zefox.net>
References:  <20161122185415.GE56313@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/11/2016 5:54 AM, bob prohaska wrote:
> In trying to build python27 on 
> FreeBSD www.zefox.net 11.0-STABLE FreeBSD 11.0-STABLE #1 r308301: Fri Nov  4 13:22:39 PDT 2016     bob@www.zefox.net:/usr/obj/usr/src/sys/RPI2  arm
> 
> make install reports in part:
> pkg-static: Unable to access file /usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_ctypes.so: No such file or directory
> 
> There does seem to be a _ctypes_test.so in the same place, could this just be a naming error?
> 
> The ports tree is up-to-date but has old roots, back to the pre-hardfloat days. That seems
> unrelated. The fiasco had its origins in trying to build xpdf, which failed on a softfloat
> library. In trying to fix the library I inadvertently triggered an upgrade to python which
> led to the present conundrum.
> 
> Thanks for reading, and any fixes/workarounds.
> 
> bob prohaska
> 

There will be a failure or multiple failures compiling (or executing)
the ctypes extension further up in the build. That should help shed
light on the cause(s)

./koobs




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2cea8b22-8adc-0aa7-4a0c-cde0526285c7>