-
Notifications
You must be signed in to change notification settings - Fork 551
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
Build failure caused by incorrect library paths order #2496
Comments
|
Note that FreeBSD port uses |
|
Thanks for the report. I think this only hits with |
|
This results with the following link command, which is now correct. Thanks! |
botan2 build system has a problem, which leads to system library paths precede local ones. If an [older] copy of botan2 is installed in the system, this leads to older botan2 libraries from that installation to be linked to newly build botan2 code which leads to build failure if the versions are incompatible. This leads, for instance, to inability to update botan2 from 2.15 to 2.17.1 in FreeBSD.
Full build log:
https://bz-attachments.freebsd.org/attachment.cgi?id=219640
Relevant excerpt:
As you can see,
-L/usr/local/libcomes before-L., which leads to an attempt to link with older library. This should be fixed.The text was updated successfully, but these errors were encountered: