Fields2Cover icon indicating copy to clipboard operation
Fields2Cover copied to clipboard

Undefined Reference to GLIB

Open nilleko opened this issue 8 months ago • 2 comments

Building on ubuntu20.4:

cmake version 3.29.5

or-tools: Downloaded binaries and ran "make test" succesfully.

Followed subsequent instructions for installing F2C.

Getting stuck at the make -j$(nproc); step.. Throws SEVERAL errors similar to these: /usr/bin/ld: /home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9: undefined reference to std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30' /usr/bin/ld: /home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9: undefined reference to pthread_detach@GLIBC_2.34' /usr/bin/ld: /home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9: undefined reference to pthread_key_delete@GLIBC_2.34' /usr/bin/ld: /home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9: undefined reference to std::to_chars(char*, char*, double)@GLIBCXX_3.4.29' /usr/bin/ld: /home/niclas/Fields2Cover/build/_deps/ortools-src/lib/libortools.so.9: undefined reference to `dlsym@GLIBC_2.34'

I have succesfully installed it on an ubuntu24 system. Verified by being able to import the library in python3 "import fields2cover".

Thanks in advance

nilleko avatar Jun 17 '24 08:06 nilleko