Open GoogleCodeExporter opened 9 years ago
update: even though the build completes, the module doesn't work properly in
python.
>>> import leveldb
>>> db = leveldb.LevelDB()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'LevelDB'
Original comment by archive_...@strava.com
on 28 Jun 2012 at 9:20
There was something similar reported a while ago.
http://code.google.com/p/py-leveldb/issues/detail?id=17
I think the __init__.py isn´t necessary. It should work regardless. I´ll
investigate this tomorrow.
Original comment by arnim...@gmail.com
on 28 Jun 2012 at 11:34
For some reason ( at least on ubuntu 12 ) the flags are not causing the build
to link against the static leveldb.a. I modified the compile script to ( only
compile the static lib ) make it work.
make libleveldb.a LDFLAGS='-L../snappy-read-only/.libs/ -Bstatic -lsnappy'
OPT='-fPIC -O2 -DNDEBUG -DSNAPPY -I../snappy-read-only' SNAPPY_CFLAGS=''
Original comment by jayri...@gmail.com
on 5 Jul 2012 at 10:11
Original issue reported on code.google.com by
danbr...@gmail.com
on 28 Jun 2012 at 6:09