Mongo.jl icon indicating copy to clipboard operation
Mongo.jl copied to clipboard

Version of libmongoc? Function bson_iterator_subobject not found.

Open cgoldammer opened this issue 10 years ago • 1 comments

What version of libmongoc was this package written for? I can get it to run (unit tests pass) on 0.8 and 0.8.1, but not higher versions.

When accessing a database, I get the following error (libmongoc either 0.8 or 0.8.1): "ccall: could not find function bson_iterator_subobject in library libmongoc"

I have minimal knowledge of C, and I couldn't figure this out by looking at the libmongoc source code. Thanks!

cgoldammer avatar Apr 10 '14 15:04 cgoldammer

I'm having the same issue. It would be helpful if it were stated which version of libmongoc ought to be used. With version 1.0.2 I'm getting:

ccall: could not find function mongo_alloc in library /usr/local/lib/libmongoc-1.0

P.S. I also had to change the MONGO_LIB parameter in "Mongo.jl" from libmongoc to /usr/local/lib/libmongoc-1.0 as per this suggestion.

KristianHolsheimer avatar Jan 07 '15 17:01 KristianHolsheimer