flupke / pypotrace

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

setup problem on linking #5

Closed julienfr112 closed 11 years ago

julienfr112 commented 11 years ago

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libagg.a(agg_curves.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 11 years ago

On what system is this?

julienfr112 commented 11 years ago

sorry, ubuntu 12.04 64

2013/6/26 Luper Rouch notifications@github.com

On what system is this?

— Reply to this email directly or view it on GitHubhttps://github.com/flupke/pypotrace/issues/5#issuecomment-20081770 .

julienfr112 commented 11 years ago

i saw the similar issue and replace agg by agg_pic in setup.py

flupke commented 11 years ago

Oh yes I completely forgot about this issue. I modified the setup to link against agg_pic by default and uploaded the updated version on pypi (0.1.2). Thanks for the report.