flupke / pypotrace

Python bindings for potrace library
Other
165 stars 43 forks source link

setup problem on linking II #7

Closed wedgeCountry closed 8 years ago

wedgeCountry commented 10 years ago

got this problem on manually installing on ubuntu 12.04 using g++-4.6. Can you help me?

/usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status /usr/bin/ld: /usr/local/lib/libblas.a(dnrm2.f.o): relocation R_X86_64_PC32 against undefined symbol `sqrt@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

flupke commented 10 years ago

It looks like your custom version of libblas needs to be compiled with -fPIC.