-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Can't compile jsdec on MacOS #32
Comments
looks like you have a broken installation of rizin, can you try to uninstall and reinstall it? and then try to install jsdec? |
Thanks for the reply. How can you tell my install is broken? I just did |
I tired |
no, i think there are some changes on openssl side which broke the include, but that is weird that you didn't have this issue before |
@wargio I don't see |
Something changed indeed, as the rz-pm tests don't pass anymore on my local machine either. |
However it apparently depends on the environment, because https://github.com/rizinorg/rz-pm/actions/runs/3821781197/jobs/6501271914 works.
Sorry, I just realize the OpenSSL inclusion is in Rizin itself. I will check. |
@palmerj please follow these steps to fix it:
the I created the following to improve the situation, and I'm closing this.
Please re-open if the above does not work. Thanks for your report! |
Ok thank you. I've just installed rizin again via homebrew. It seems to have installed rz-pm which is different to this repos version.
It also doesn't have the However with this version I get a different error
|
|
I also tried with the go version:
Openssl and the <openssl/bn.h> header is installed:
|
@palmerj did you do the following?
|
Yes. Ran exactly this:
|
Sorry, get the right values for those variables by running |
Ok so brew info provided this:
So I needed to adjust PKG_CONFIG_PATH. But that still didn't work :-(
|
The message "Just run your build command (e.g. ninja) and Meson will regenerate as necessary. Run The tool is still in early dev, thus the pain :) Hopefully I'll make it better soon! |
AH that did it! The path was ok ("/Users/jpalmer/Library/Application Support/rz-pm/site/artifacts/"), but it's needed to be in quotes for the ❯ rm -rf "/Users/jpalmer/Library/Application Support/rz-pm/site/artifacts/" Found ninja-1.11.1 at /usr/local/bin/ninja Many thanks!! |
Perfect! Glad it helped ;) |
I have openssl@3 installed via brew and have set the env variables as brew won't link:
The text was updated successfully, but these errors were encountered: