Skip to content
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

Rebuilding with --enable-dom causes libssl error #16

Open
garethmcc opened this issue Aug 6, 2018 · 1 comment
Open

Rebuilding with --enable-dom causes libssl error #16

garethmcc opened this issue Aug 6, 2018 · 1 comment

Comments

@garethmcc
Copy link

I tried to use the build script after adding --enable-dom to the compile flags and once completed doing a ./php -v on the compiled binary causes the following error:

./php: /usr/lib/libssl.so.10: version `libssl.so.10' not found (required by ./php)
./php: /usr/lib/libcrypto.so.10: version `OPENSSL_1.0.1' not found (required by ./php)
./php: /usr/lib/libcrypto.so.10: version `OPENSSL_1.0.1_EC' not found (required by ./php)
./php: /usr/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by ./php)
@araines
Copy link
Owner

araines commented Aug 9, 2018

Best guess is that its expecting some system libraries to exist which do not. Are you running the php -v within the lambda environment (or AWS docker image) or on your local machine?

If you're running within the Lambda/AWS environment and finding this problem, it would suggest to me that there are external dependencies which simply don't exist. Given we cannot control the environment on Lambda, I think that would mean you cannot use this flag. If there is a way to bundle things in to the binary rather than link to external libs, then you might be able to do what you want.

Unfortunately I'm not very familiar with this area of things - hopefully someone else might be able to chip in.

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

No branches or pull requests

2 participants