-
Notifications
You must be signed in to change notification settings - Fork 67
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
Unable to install on clean Ubuntu 22.04 docker #314
Comments
Had the same problem. Installing from source worked for me, but my fork might have been outdated. Will investigate soon ™️ |
I've also been having this problem since ~Feb, in my case with PHP 8.2.15. Have been using primarily Centos7 in Docker, but also tried on OSX 13.X and 14.X. Same outputs as OP both times. |
I encountered the following error on macOS: ld: symbol(s) not found for architecture x86_64 I was able to resolve the issue by adding the following code to my build.rs file:
|
I'm having the same issue with the following dockerfile
|
I can report a very similar error on Fedora, with the PHP 8.3.12 'php-devel' package installed. I imagine this is because of changes in newer versions of PHP that retire various functions that cargo php uses? If so, cargo php would need to be updated to support this. |
When I check out |
I wonder whether that direct install works because of this line in
The '-undefined` argument may be what helps here. |
Forgot to update my reply. This is the same behaviour I observed. Installing from src works without a problem. |
I tried to install cargo-php in different envs and still failed.
The PHP version:
PHP 8.3 dev installed also
Rust:
Is the lib incompatible with PHP 8.3 to I'm doing something wrong?
Getting error:
I have tried on OSX and also unable to install it
The text was updated successfully, but these errors were encountered: