Skip to content

missing opensslv.h #83

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

Open
chrisdane opened this issue Nov 24, 2020 · 1 comment
Open

missing opensslv.h #83

chrisdane opened this issue Nov 24, 2020 · 1 comment

Comments

@chrisdane
Copy link

Hi
I have the issue

install.packages("openssl")
tools/version.c:1:10: fatal error: openssl/opensslv.h: No such file or directory

However, on the machine I am working on there indeed is a opensslv.h available.

My question is: how can I tell the installation-call the path to this non-standard /path/to/opensslv.h-location? I tried several versions of

install.packages("openssl", configure.args="--INCLUDE_DIR=/dirname/of/opensslv.h")
install.packages("openssl", configure.args="--LIB_DIR=/dirname/of/opensslv.h")
install.packages("openssl", configure.args="--with-openssl-include=/dirname/of/opensslv.h")
install.packages("openssl", configure.args="--with-openssl-lib=/dirname/of/opensslv.h")

but nothing worked.

Thanks a lot for help,
Chris

@nielsaka
Copy link

Not sure if this will help you @chrisdane, but want to share my experience recently. I had a similar issue on linux and was able to solve it by letting the pkg-config tool know the path via

cd ~
echo "export PKG_CONFIG_PATH='/path/to/openssl.pc/'" >> .bashrc

The relevant path is found via
find / -iname openssl.pc 2>/dev/null

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

No branches or pull requests

2 participants