linuxfood/rustsqlite — Issue #1: linkage failure on ubuntu on x86-64
Author: elly
Created: 2012-01-20 22:14:12+00:00
State: open

error: rustc failed: 101

error: linking with gcc failed with code 1
note: gcc arguments: -L/home/elly/a/rust/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o /home/elly/.cargo/work/VMoNmiXFOo595lIm/build/libsqlite-22a31084236a6576-0.01.so /home/elly/.cargo/work/VMoNmiXFOo595lIm/build/sqlite.o -L/home/elly/a/rust/lib/rustc/x86_64-unknown-linux-gnu/lib -lcore-14bd852465126fe7-0.1 -L/home/elly/a/rust/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-79ca5fac56b63fde-0.1 sqlite3.c -shared -lrustrt -lrt -ldl -lmorestack -Wl,-rpath,$ORIGIN/../../../../a/rust/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/home/elly/a/rust/lib/rustc/x86_64-unknown-linux-gnu/lib
note: /usr/bin/ld: /tmp/ccnabzks.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/ccnabzks.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

error: aborting due to previous errors