Question

Im trying to install cx_Freeze for Python 3.3. However, when compiling the source I get this error

gcc -pthread build/temp.linux-i686-3.3/source/bases/Console.o -L/usr/local/lib/python3.3/config-3.3m -lpython3.3 -o build/lib.linux-i686-3.3/cx_Freeze/bases/Console -Xlinker -export-dynamic -lpthread -ldl -lutil -lm -s
/usr/bin/ld: cannot find -lpython3.3
collect2: error: ld returned 1 exit status

Since I'm a newbie I couldn't really figure out what's missing so I've tried installing libpython3.3-dev and python3.3-dev, but this doesn't solve the problem. I don't know if this is wheather a Python or gcc problem. What am I missing?

Was it helpful?

Solution

create link and it will be ok!

sudo ln /usr/local/lib/libpython3.3m.a /usr/local/lib/libpython3.3.a
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top