-
-
Save mape/432062 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # UPDATE | |
| # Fix: http://gist.github.com/432072 | |
| # make CFLAGS="-fPIC" CXXFLAGS="-fPIC" | |
| node-waf configure && \ | |
| node-waf build | |
| Checking for program g++ or c++ : /usr/bin/g++ | |
| Checking for program cpp : /usr/bin/cpp | |
| Checking for program ar : /usr/bin/ar | |
| Checking for program ranlib : /usr/bin/ranlib | |
| Checking for g++ : ok | |
| Checking for node prefix : ok /usr/local | |
| 'configure' finished successfully (0.020s) | |
| Waf: Entering directory `/home/mape/.node_libraries/node-msgpack/build' | |
| [1/2] cxx: msgpack.cc -> ../build/default/msgpack_1.o | |
| [2/2] cxx_link: ../build/default/msgpack_1.o -> ../build/default/mpBindings.node | |
| /usr/bin/ld: ../deps/msgpack/dist/lib/libmsgpack.a(unpack.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC | |
| ../deps/msgpack/dist/lib/libmsgpack.a: could not read symbols: Bad value | |
| collect2: ld returned 1 exit status | |
| Waf: Leaving directory `/home/mape/.node_libraries/node-msgpack/build' | |
| Build failed: -> task failed (err #1): | |
| {task: cxx_link msgpack_1.o -> mpBindings.node} | |
| make: *** [msgpack] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment