You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest rocksdb, I get this error when building rocksdb-php:
g++ -std=c++11 -fPIC -shared src/.cpp -lrocksdb -lpthread -lrt -lsnappy -lgflags -lz -lbz2 -lphpcpp -lmemenv -I./src/include -o bin/rocksdb_php.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/librocksdb.a(db_impl.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/librocksdb.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:11: recipe for target 'all' failed
make: ** [all] Error 1
The text was updated successfully, but these errors were encountered:
With the latest rocksdb, I get this error when building rocksdb-php:
g++ -std=c++11 -fPIC -shared src/.cpp -lrocksdb -lpthread -lrt -lsnappy -lgflags -lz -lbz2 -lphpcpp -lmemenv -I./src/include -o bin/rocksdb_php.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/librocksdb.a(db_impl.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/librocksdb.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:11: recipe for target 'all' failed
make: ** [all] Error 1
The text was updated successfully, but these errors were encountered: