Python27 can't find _ctypes.so

Kubilay Kocak koobs at FreeBSD.org
Wed Nov 23 07:43:02 UTC 2016


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 at 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



More information about the freebsd-ports mailing list