mattn/go-v8 — Issue #2: Cannot build libv8wrap.so
Author: szabba
Created: 2011-12-06 19:56:00+00:00
State: open

When I tried the install process as described in the README, I couldn't build libv8wrap.so:

```bash
[karol@szabbook 11-12-06 20:52 Code/go-v8] gomake libv8wrap.so
g++ -shared -o libv8wrap.so -I. v8wrap.cc -lv8
/usr/bin/ld: /tmp/ccZN2vuP.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/ccZN2vuP.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libv8wrap.so] Error 1
```