5

Incompatible libraries

view full story
linux-howto

http://askubuntu.com – I'm not a native speaker, but I will try my best in English. For a self-made program I need some libraries (which are from someone else). On my first linux pc it worked, but now on this pc it doesn't work. I install the programs with "sudo make", and the libraries are copied to /usr/local/lib/ Now I try to compile my program with "g++ -g -o cv countvertices.c -lQuantim4 -lm -ltiff -lPSgraf3" and it says: /usr/bin/ld: skipping incompatible /usr/local/lib/libQuantim4.a when searching for -lQuantim4 /usr/bin/ld: cannot find -lQuantim4 /usr/bin/ld: skipping incompatible /usr/local/lib/libPSgraf (HowTos)