Python27 can't find _ctypes.so

bob prohaska fbsd at www.zefox.net
Tue Nov 22 18:54:13 UTC 2016


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



More information about the freebsd-ports mailing list