Skip to content

Problem when building module manually #19

@timsu27

Description

@timsu27

I'm encountering issues when importing the manually built package. what i do is this:

git clone https://github.com/NightTsarina/python-rocksdb.git
cd python-rocksdb
python3 setup.py build -f
python3 setup.py install

above code could install the package successfully.
however, when i trying import it in python, an error malloc error occured.

➜  python-rocksdb (main) python3                                                                                            ✭ ✱
Python 3.10.4 (main, Apr 26 2022, 19:43:24) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rocksdb
Python(20113,0x20242c600) malloc: *** error for object 0x10b769be0: pointer being freed was not allocated
Python(20113,0x20242c600) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    20113 abort      python3

OSX: Monterey 12.4
RocksDB: 6.29.4
Python: 3.10.4

Any ideas? Thanks

Tim

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