Open juliannz opened 2 weeks ago
Have you tried setting your LD_LIBRARY_PATH to find the .so? What platform are you using that requires manual installation.
Thanks for the hint, I googled a bit and adding set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
after my changes to the build file resolves the issue (:
or-tools is available again for Ubuntu 20, but wasnt in the last release. So you're right, pretty rare use case that one needs to build it from source^^
Still, if youre interested, I can provide my fix via pr or so (but after I finished my current project)...
A PR would be appreciated.
Describe the bug
I have the same problem as described in issue #2608, but without docker usage. I installed or-tools manually, as the binarys are not available for all dists.
ldd build/src/openroad|grep or
gives the correct result, butldd <install-prefix>/bin/openroad|grep or
giveslibortools.so.9 => not found
. I already tried to change the runtime path and set it to<install-prefix>
, but this doesnt change anything...Workarounds:
rm <install-prefix>/bin/openroad && ln -s build/src/openroad <install-prefix>/bin/openroad
but both are not that satisfying...
Expected Behavior
<install-prefix>/bin/openroad
shouldnt failEnvironment
To Reproduce
build using or-tools not installed to /opt
Relevant log output
No response
Screenshots
No response
Additional Context
No response