Back to the Vavoom Forum Archives


[r4431] cmake can't find libraries on Debian multiarch

Thu, 12 Jan 2012 03:54:33


So I'm running Debian Wheezy amd64 which has a feature called multiarch. Basically 32-bit libraries and 64-bit libraries are stored in different directories. For instance, on Debian amd64, isn't stored in /usr/lib or /usr/local/lib as you might expect, but in /usr/lib/x86_64-linux-gnu. Interestingly, cmake reports that it "-- Found FLAC: /usr/lib/ /usr/lib/" when neither of these files exist on my system. This causes make to fail when it tries to build one of the targets that requires Now I could put a symlink at /usr/lib/ to the libFLAC++ in the multiarch directory but that defeats the point of multiarch. EDIT: After putting in a symlink at /usr/lib/, I found there's some other files that cmake doesn't find. These are:

Back to the Vavoom Forum Archives