Skip to content

Unable to run orocksdb #29

@vinczedani

Description

@vinczedani

Hi guys!

I am new to ocaml and I wanted to run an application using orocksdb. I installed rocksdb with the script from the repo. After that I ran make build make install in orocksdb and everything was fine.
My project compiled too, but when I wanted to start it, I got the following error message:

Fatal error: exception Dl.DL_error("./main: undefined symbol: rocksdb_cache_create_lru")
Raised at file "src/ctypes-foreign-base/dl.ml", line 42, characters 20-44
Called from file "src/ctypes-foreign-base/ctypes_foreign_basis.ml", line 47, characters 19-47
Re-raised at file "src/ctypes-foreign-base/ctypes_foreign_basis.ml", line 49, characters 50-59
Called from file "rocks_options.ml", line 14, characters 6-94

I think, for some reason it is unable to find the required .so files

It is probably me, who messed up something, but couldn't find help yet. I hope it's ok, to ask here :)

OS: Ubuntu 16.04
Ocaml 4.06.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions