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
pthread_key_create'
/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
pthread_create'
/tmp/Python-3.7.2/Python/thread_pthread.h:239: undefined reference to pthread_detach' /usr/local/lib/libpython3.7m.a(thread.o): In function
PyThread_tss_delete':
/tmp/Python-3.7.2/Python/thread_pthread.h:767: undefined reference to pthread_key_delete' /usr/local/lib/libpython3.7m.a(thread.o): In function
PyThread_acquire_lock_timed':
/tmp/Python-3.7.2/Python/thread_pthread.h:372: undefined reference to sem_wait' /tmp/Python-3.7.2/Python/thread_pthread.h:369: undefined reference to
sem_trywait'
/tmp/Python-3.7.2/Python/thread_pthread.h:369: undefined reference to sem_trywait' /usr/local/lib/libpython3.7m.a(thread.o): In function
PyThread_start_new_thread':
/tmp/Python-3.7.2/Python/thread_pthread.h:203: undefined reference to pthread_attr_setstacksize' /usr/local/lib/libpython3.7m.a(thread.o): In function
PyThread_tss_delete':
/tmp/Python-3.7.2/Python/thread_pthread.h:767: undefined reference to pthread_key_delete' /usr/local/lib/libpython3.7m.a(thread.o): In function
_pythread_pthread_set_stacksize':
/tmp/Python-3.7.2/Python/thread_pthread.h:640: undefined reference to pthread_attr_setstacksize' /usr/local/lib/libpython3.7m.a(thread.o): In function
PyThread_create_key':
/tmp/Python-3.7.2/Python/thread_pthread.h:677: undefined reference to pthread_key_create' /tmp/Python-3.7.2/Python/thread_pthread.h:682: undefined reference to
pthread_key_delete'
/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
pthread_setspecific'
/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
pthread_key_delete'
/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
pthread_setspecific'
/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
pthread_getspecific'
/usr/local/lib/libpython3.7m.a(thread.o): In function `PyThread_allocate_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?