Hi, On 01.11.18 00:38, Samuel Thibault wrote: > The link line contains /usr/lib/i386-gnu/libsndio.so in one case, and > -lsndio in the other case. I don't know why cmake makes a difference. In > both cases we have absolute paths in > > ./build-tree/CMakeFiles/OpenAL.dir/build.make:libopenal.so.1.19.1: > /usr/lib/i386-gnu/libsndio.so > ./build-tree/CMakeCache.txt:OpenAL_LIB_DEPENDS:STATIC=general;-pthread;general;common;general;/usr/lib/i386-gnu/libsndio.so;general;rt;general;pthread;general;dl;general;atomic;general;m; > ./build-tree/CMakeCache.txt:SOUNDIO_LIBRARY:FILEPATH=/usr/lib/i386-gnu/libsndio.so > ./build-tree/CMakeCache.txt:FIND_PACKAGE_MESSAGE_DETAILS_SoundIO:INTERNAL=[/usr/lib/i386-gnu/libsndio.so][/usr/include][v()] > > > ./build-tree/CMakeFiles/OpenAL.dir/build.make:libopenal.so.1.19.1: > /usr/lib/x86_64-linux-gnu/libsndio.so > ./build-tree/CMakeCache.txt:OpenAL_LIB_DEPENDS:STATIC=general;-pthread;general;common;general;/usr/lib/x86_64-linux-gnu/libsndio.so;general;rt;general;pthread;general;dl;general;atomic;general;m; > ./build-tree/CMakeCache.txt:SOUNDIO_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libsndio.so > ./build-tree/CMakeCache.txt:FIND_PACKAGE_MESSAGE_DETAILS_SoundIO:INTERNAL=[/usr/lib/x86_64-linux-gnu/libsndio.so][/usr/include][v()] > > cmake maintainers, do you have any idea why > /usr/lib/i386-gnu/libsndio.so does not get turned into -lsndio while > /usr/lib/x86_64-linux-gnu/libsndio.so does?
The build failure is most likely caused by a bug in sndio, see #912443 and #912453 Felix