This is the package I'm using:
Here is the build output:
/usr/bin/ld: CMakeFiles/crates.dir/src/oluacapi.c.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
I don't have access to archlinux distribution at the moment, so I cannot reproduce the problem or test this solution.
But if you want to try, you could change the line
to this one:
cmake .. -DCMAKE_EXE_LINKER_FLAGS="-lm"
This way it works, thank you!