Code Monkey home page Code Monkey logo

Comments (8)

gwijayas avatar gwijayas commented on June 16, 2024

maybe you can try again? A couple days ago I got the same error messages like you. Today I try again with php 5.3.20 and PHP 5.4.10, and load succesfully without that error message

from php-git.

gwijayas avatar gwijayas commented on June 16, 2024

hmmm
I have 2 computer each with Ubuntu 12.10 and 5.4.6. On one computer, with php ubuntu stock. Another computer with php build and compiled by myself (5.4.10 and 5.3.20). Checking with php ubuntu stock, yes, I got the same error, while on another, successfully loaded...

from php-git.

UgoSansH avatar UgoSansH commented on June 16, 2024

I'm not used to compile from source, maybe I go the wrong way.

But I tried several times before posting this note.

You got the error with php 5.4?

Under what conditions you do not have an error?

from php-git.

UgoSansH avatar UgoSansH commented on June 16, 2024

Could you share your *.so ?

from php-git.

gwijayas avatar gwijayas commented on June 16, 2024

I have tested with PHP 5.4.6, 5.4.7, 5.4.8, 5.4.9, and built module with it, no error

I have tried too, transfer my so to 'ubuntu stock one', got this error message (module built with 5.4.6, compiled myself):

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

from php-git.

UgoSansH avatar UgoSansH commented on June 16, 2024

What I do not understand is that you get a compile and use.

I should not compile correctly, or make improper handling

from php-git.

gwijayas avatar gwijayas commented on June 16, 2024

I got git2.so compiled and used because compiled it against PHP from php.net, not against ubuntu's one, eventhough I use Ubuntu OS 12.10. On PHP packages from ubuntu, there are about 60 patches, but I don't know much about C so I don't know which patch make git2 failed loaded on PHP packages.

from php-git.

UgoSansH avatar UgoSansH commented on June 16, 2024

I understand. I'll try to compile php myself.
I had already done that once or twice I should succeed.

This is a dev server, so I can afford;)

from php-git.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.