ARTICLE AD BOX
I am using Ubuntu 26.04 to build a CMake package using ccmake.
I used apt to install the libteem-dev package.
When configuring the build, CMake failed to locate the shared object libraries libteem.so*.
There were some CMake files in /usr/lib/Teem-1.12.0.
CMake was configuring to look for the libraries in /usr/lib/Teem-1.12.0.
However, libteem.so* were in /usr/lib.
Copying libteem.so* to /usr/lib/Teem-1.12.0 solved the problem.
If I edited the configuration variable to point to /usr/lib in ccmake, it would be overwritten back to /usr/lib/Teem-1.12.0 when configuring.
Why was CMake configuring to look in the wrong place?
Is there a more elegant solution to this problem than simply copying the .so files to the expected location? Off the top of my head, I think a symlink could be more space efficient.
1271 silver badge7 bronze badges
