Thursday, August 23, 2012

Compiling 32 bit libs on 64 bit machine "C compiler works... no"

Error

checking whether the C compiler works... no 
configure: error: in `/PATH
configure: error: C compiler cannot create executable

After running this command:

./configure --prefix=/PATH/ CC='gcc -m32' CXX='g++ -m32' 

Solution

Install "g++-multilib" package





1 comment:

  1. Thanks! It helped me solve this issue.

    ReplyDelete