-
Notifications
You must be signed in to change notification settings - Fork 445
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
helping to integrate h3 to php #95
Comments
As for the error you're running into, I'm not sure if that's because the signature doesn't match ( |
@neatlife could you post the following?
Other than the naming issue @dfellis mentioned above, my guess is that this is happening because PHP is not loading the built H3 library, only your extension (which needs to statically include H3 or needs to find H3 dynamically) You could try using |
@dfellis Yes, you are right, i already fix nameing error: neatlife/php-h3@fcc9324 |
@isaacbrodsky Yes, of course before write php extension, I already execute cmake and make and sudo make install command in h3 project |
One other thing I forgot to mention is running Is the H3 library installed at If it's the first (
You might need to rebuild your extension before retrying. If that doesn't help, do you know if there's a way to set your extension to statically link to H3? This is what we do in the Java bindings and it avoids this issue. |
@isaacbrodsky I run the below command, and recompile php extension, but error still exists
I search some article, but not find a way to link to h3 library in php extension. |
@isaacbrodsky @dfellis I already fix this error, just pull the latest h3 code, and add link to h3 library neatlife/php-h3@6cedacd, thank you. |
I am wirting a php extension for h3: https://github.com/neatlife/php-h3, but when i call h3 function in php extension, it always report error like below:
hope someone help me to fix this error, thanks.
The text was updated successfully, but these errors were encountered: