After upgrading from FreeBSD 10.3 to 11.2, I am rebuilding ports. There is a problem to compile python36 which is needed by several ports.
It is about readline. The readline-8.0.0 package is installed.
Below message related during "make install" of the port.
It seems many persons met the same problem with python27. But I don't find or understand the resolution.
Does anyone have any suggestions? Thank you.
It is about readline. The readline-8.0.0 package is installed.
Below message related during "make install" of the port.
It seems many persons met the same problem with python27. But I don't find or understand the resolution.
Code:
cc -shared -lpthread -L/usr/local/lib -fstack-protector-strong -lpthread -L/usr/local/lib -fstack-protector-strong -O2 -pipe -fsta
ck-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include build/temp.freebsd-11.2-RELEASE-p10-amd64-3.6/u
sr/ports/lang/python36/work/Python-3.6.8/Modules/readline.o -L/usr/lib/termcap -L. -L/usr/local/lib -lreadline -lpython3.6m -o bui
ld/lib.freebsd-11.2-RELEASE-p10-amd64-3.6/readline.so^M
*** WARNING: renaming "readline" since importing it failed: build/lib.freebsd-11.2-RELEASE-p10-amd64-3.6/readline.so: Undefined symbol "rl_callback_sigcleanup"
...
Following modules built successfully but were removed because they could not be imported:
readline
...
copying build/lib.freebsd-11.2-RELEASE-p10-amd64-3.6/readline_failed.so -> /usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload
...
===> Checking if python36 is already installed^M
actual-package-depends: dependency on /lib/libreadline.so.8 not registered (normal if it belongs to base)
===> Registering installation for python36-3.6.8_2
pkg-static: Unable to access file /usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload/readline.so:No such file
or directory^M
*** Error code 74