GithubHelp home page GithubHelp logo

php: symbol lookup error: /usr/lib/php/20151012/mongodb.so: undefined symbol: _mongoc_host_list_destroy_all about mongo-php-library HOT 5 CLOSED

mongodb avatar mongodb commented on July 19, 2024
php: symbol lookup error: /usr/lib/php/20151012/mongodb.so: undefined symbol: _mongoc_host_list_destroy_all

from mongo-php-library.

Comments (5)

jonathanpmartins avatar jonathanpmartins commented on July 19, 2024

after installing the last version of libmongoc the problem is gone!
http://api.mongodb.org/c/1.3.2/installing.html

from mongo-php-library.

jmikola avatar jmikola commented on July 19, 2024

@jonathanpmartins: thanks for following up with your solution.

@oerdnj: I assume the extension package is using shared libmongoc and libbson libraries. Is it possible the extension package was missing a dependency bump on libmongoc? I'm just curious if apt-get should have been able to handle this.

from mongo-php-library.

jonathanpmartins avatar jonathanpmartins commented on July 19, 2024

@jmikola You can see my step by step explained here: mongodb/mongo-php-driver#219 (comment)

from mongo-php-library.

oerdnj avatar oerdnj commented on July 19, 2024

@jmikola correct packaging would handle this, but this seems to be result of mixing hand compiled stuff with packaged libraries. The packaged php-mongodb doesn't use any private symbols.

Anyway that's exactly what I warned about - relying on private symbols that often change is a really bad idea.

from mongo-php-library.

jmikola avatar jmikola commented on July 19, 2024

@oerdnj: Thanks for the follow-up. We are actively sorting through all of the private symbol usage and will hopefully have public APIs added to libmongoc by 1.4.0 for use by our PHP and HHVM drivers (as discussed in mongodb/mongo-php-driver#219 (comment)).

from mongo-php-library.

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.