libgit2 / php-git

PHP bindings for libgit2
http://libgit2.github.com
MIT License
563 stars 118 forks source link

Unable to load dynamic library - http_errno_description is Unknown #86

Open dustin-hawkins opened 7 years ago

dustin-hawkins commented 7 years ago

I have built php-git2 on a CentOS 6.8 box following the instructions. The build is successful, with no errors.

Upon loading PHP, I get the following:

Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/git2.so' - /usr/lib64/php/modules/git2.so: undefined symbol: http_errno_description in Unknown on line 0

It looks like its unable to find one of the dependencies provided by: libgit2/deps/http-parser

I have it loading at the very end of the PHP ini, after all other modules are loaded. I have tried ./configure with and without the --enable-git2-debug, but have the same issue.

Any thoughts on how I screwed up the build process? Thanks,