Programmer's Blog

Programmer's reference

Tag Archives: compile

[Linux] skipping incompatible lib when compile

This phenomenon happens may caused by compiling 32bit sources ( with -m32 flag) on 64 bit machine

/usr/bin/ld: skipping incompatible /usr/local/lib/libzmq.so when searching for -lzmq

The method of solving this problem is to remove the -m32 flag from the makefile