You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Post completion of solving environment and activating sharpy environment, while running "cmake .." command, there is an issue with libraries in implicit directories.
OS: Oracle VirtualBox - Ubuntu 22.04.3
The following error message is received:
CMake Warning at lib/xbeam/CMakeLists.txt:12 (add_library):
Cannot generate a safe runtime search path for target xbeam because files
in some directories may conflict with libraries in implicit directories:
runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/11 may be hidden by files in:
/home/Anaconda/envs/sharpy/lib
Some of these libraries may not be found correctly.
CMake Warning at lib/UVLM/CMakeLists.txt:11 (add_library):
Cannot generate a safe runtime search path for target uvlm because files in
some directories may conflict with libraries in implicit directories:
runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/11 may be hidden by files in:
/home/Anaconda/envs/sharpy/lib
Some of these libraries may not be found correctly.
The text was updated successfully, but these errors were encountered:
It appears there are conflicting files in both the Conda environment and your GNU install, with both being in the system path. I am unable to replicate this issue on my machine, however I have found some possible solutions:
Firstly, I would recommend trying the Docker build of SHARPy, as it likely does not have the same issue.
You could delete the conflicting file(s) from the Conda environment (/home/Anaconda/envs/sharpy/lib). In this case it is libgomp.so.1, however there may be multiple.
Some users (of different packages) have found workarounds, such as HERE, although there is not a generally successful solution.
Please let me know if any of these fix your problem. I'll continue to investigate and if I find a fix I will update the CMake files.
Hi,
Post completion of solving environment and activating sharpy environment, while running "cmake .." command, there is an issue with libraries in implicit directories.
OS: Oracle VirtualBox - Ubuntu 22.04.3
The following error message is received:
CMake Warning at lib/xbeam/CMakeLists.txt:12 (add_library):
Cannot generate a safe runtime search path for target xbeam because files
in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
CMake Warning at lib/UVLM/CMakeLists.txt:11 (add_library):
Cannot generate a safe runtime search path for target uvlm because files in
some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly.
The text was updated successfully, but these errors were encountered: