简体   繁体   中英

cx_Freeze building error

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?

创建链接,就可以了!

sudo ln /usr/local/lib/libpython3.3m.a /usr/local/lib/libpython3.3.a

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM