Git Product home page Git Product logo

bsonsearch's People

Contributors

bauman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bsonsearch's Issues

Undefined symbol exception using bsonsearch.bsoncompare

Hi there,

I'm using debian jessie, I've installed dependencies, cloned the code and compiled the source code using this command:

$ gcc -Wall -I/usr/local/include/libbson-1.0 -L/usr/local/lib -lbson-1.0 -DWITH_PROJECTION -DWITH_UTILS -DWITH_CONDITIONAL -DWITH_TEXT -DWITH_STEMMER -DWITH_ASPELL -DWITH_YARA -lpcre -shared -o libbsoncompare.so -fPIC bsoncompare.c mongoc-matcher.c mongoc-matcher-op.c mongoc-matcher-op-geojson.c mongoc-bson-descendants.c

Installed libbsoncompare.so:

cp libbsoncompare.so /usr/lib
ldconfig -n /usr/lib

And when I try to use it in python code:

from bsonstream import KeyValueBSONInput
import bsonsearch
with bsonsearch.bsoncompare() as bc:

I always get an exception which is thrown at bsonsearch/_init_.py, line 40:

OSError: /usr/lib/libbsoncompare.so: undefined symbol: _mongoc_matcher_op_yara_new

Am I missing something?

Thanks

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.