Skip to content

Fix for unknown symbol convert_to_bool #61

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

Merged
merged 1 commit into from Feb 22, 2014
Merged

Fix for unknown symbol convert_to_bool #61

merged 1 commit into from Feb 22, 2014

Conversation

ghost
Copy link

@ghost ghost commented Feb 21, 2014

PHP 5.4.9-4ubuntu2.4
Running on 64-bit Ubuntu Raring

'PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/git2.so' - /usr/lib/php5/20100525/git2.so: undefined symbol: convert_to_bool in Unknown on line 0'

Modified the one call for convert_to_bool to convert_to_boolean and everything works. Checking the PHP source I don't see convert_to_bool in the 5.4 sourcecode

chobie added a commit that referenced this pull request Feb 22, 2014
Fix for unknown symbol convert_to_bool
@chobie chobie merged commit 2c6deac into libgit2:develop Feb 22, 2014
@chobie
Copy link
Member

chobie commented Feb 22, 2014

thanks, maybe i've just missed that.

@ghost ghost deleted the fixBoolean branch February 22, 2014 05:43
@ghost
Copy link
Author

ghost commented Feb 22, 2014

No problem. Thanks for maintaining this wonderful api - I'm writing some composer scripts to add some of my own workflow and being able to code the git stuff in PHP makes it so much easier to work on. These were simple one-liners, just had to run find on the source to locate the reference and then modify it.

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

Successfully merging this pull request may close these issues.

2 participants