Skip to content

fix botan path#196

Open
defnax wants to merge 1 commit into
RetroShare:masterfrom
defnax:macos-fix-v2
Open

fix botan path#196
defnax wants to merge 1 commit into
RetroShare:masterfrom
defnax:macos-fix-v2

Conversation

@defnax

@defnax defnax commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

with this changes it gets work with botan@2 bigint issue but on local mac machine
but on workflow installed botan include & lib are installed on different path not sure how we can handle this?

image

/opt/homebrew/Cellar/botan@2/2.19.5

For compilers to find botan@2 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/botan@2/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/botan@2/include"

@defnax

defnax commented Sep 9, 2025

Copy link
Copy Markdown
Contributor Author

@JohannesKleine

Comment thread src/libretroshare.pro
# botan
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_INCLUDE_DIR=$$clean_path(/usr/local/opt/botan@2/include/botan-2)"
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_LIBRARY=$$clean_path(/usr/local/opt/botan@2/lib/libbotan-2.a)"
LIBRNP_CMAKE_PARAMS *= "-DBOTAN_INCLUDE_DIR=$$clean_path(/usr/local/Cellar/botan@2/2.19.5/include/botan-2)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a MacOS specialist, but it feels not clean at all to include a version number for a system installed lib in a path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants