Hi Kasper,
Thanks for your answer. I tried to fix the python3.7 libraries by reconfiguring and updating them, and now the error message appears is the following
usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_tss_create':
/tmp/Python-3.7.2/Python/thread_pthread.h:750: undefined reference to
pthreadkeycreate'
/usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_start_new_thread':
/tmp/Python-3.7.2/Python/thread_pthread.h:222: undefined reference to
pthreadcreate'
/tmp/Python-3.7.2/Python/threadpthread.h:239: undefined reference to pthread_detach'
/usr/local/lib/libpython3.7m.a(thread.o): In function
PyThreadtssdelete':
/tmp/Python-3.7.2/Python/threadpthread.h:767: undefined reference to pthread_key_delete'
/usr/local/lib/libpython3.7m.a(thread.o): In function
PyThreadacquirelocktimed':
/tmp/Python-3.7.2/Python/threadpthread.h:372: undefined reference to sem_wait'
/tmp/Python-3.7.2/Python/thread_pthread.h:369: undefined reference to
semtrywait'
/tmp/Python-3.7.2/Python/threadpthread.h:369: undefined reference to sem_trywait'
/usr/local/lib/libpython3.7m.a(thread.o): In function
PyThreadstartnewthread':
/tmp/Python-3.7.2/Python/threadpthread.h:203: undefined reference to pthread_attr_setstacksize'
/usr/local/lib/libpython3.7m.a(thread.o): In function
PyThreadtssdelete':
/tmp/Python-3.7.2/Python/threadpthread.h:767: undefined reference to pthread_key_delete'
/usr/local/lib/libpython3.7m.a(thread.o): In function
pythreadpthreadsetstacksize':
/tmp/Python-3.7.2/Python/threadpthread.h:640: undefined reference to pthread_attr_setstacksize'
/usr/local/lib/libpython3.7m.a(thread.o): In function
PyThreadcreatekey':
/tmp/Python-3.7.2/Python/threadpthread.h:677: undefined reference to pthread_key_create'
/tmp/Python-3.7.2/Python/thread_pthread.h:682: undefined reference to
pthreadkeydelete'
/usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_set_key_value':
/tmp/Python-3.7.2/Python/thread_pthread.h:712: undefined reference to
pthreadsetspecific'
/usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_delete_key':
/tmp/Python-3.7.2/Python/thread_pthread.h:696: undefined reference to
pthreadkeydelete'
/usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_delete_key_value':
/tmp/Python-3.7.2/Python/thread_pthread.h:704: undefined reference to
pthreadsetspecific'
/usr/local/lib/libpython3.7m.a(thread.o): In function PyThread_get_key_value':
/tmp/Python-3.7.2/Python/thread_pthread.h:723: undefined reference to
pthreadgetspecific'
/usr/local/lib/libpython3.7m.a(thread.o): In function `PyThreadallocate_lock':
etc,
Following your suggestion, I started to look for websites where I can download the file libpython3.7m.so.1.0, but I did find anything useful.
I have also considered your suggestion of using python3.6 instead of python3.7, but it did not work, apparently I should make some modifications in the file CMakeCache.txt. Does this make sense for you?