New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HiGHS cmake instructions result in bad linking #1676
Comments
Indeed it's a problem with seeing the new shared library. You need to run Alternatively you could just build with static linking:
|
You can also change the Ensure Run the following commands on Linux:
On Mac, run:
It is useful if you want to create a portable bundle of HiGHS without installing it in system directories. |
I have made an attempt to address this issue in branch rpath-bin: https://github.com/ERGO-Code/HiGHS/pull/1745/files Would you please check whether this removes both
|
@galabovaa naively following my initial instructions above, I now get
on that branch :(
|
Thank you! I will edit cmake accordingly |
If you naively follow the README instructions for building HiGHS locally, you end up with a badly linked executable in
/usr/local/bin
.To reproduce:
Note that the exe in
./build/bin/highs
works fine:So I think it's just a problem with connecting up the
LD_LIBRARY_PATH
or something; but probably a cmake expert will know the answer :)The text was updated successfully, but these errors were encountered: