In the following file : /usr/lib/pkgconfig/openal.pc We thing that libdir variable is wrong prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}//usr/lib64 includedir=${prefix}/include the following modification could resolve the problem. libdir=${exec_prefix}/lib64 Best regards Reproducible: Always Steps to Reproduce: 1. pkg-config --libs openal Actual Results: -L/usr//usr/lib64 -lopenal Expected Results: -L/usr/lib64 -lopenal
Can you look if this still is the case with 1.7.411? Can't reproduce that, looks ok on my system.
source package, openal-soft-1.7.411/admin/pkgconfig/openal.pc.in: -- cut -- prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: OpenAL Description: OpenAL is a cross-platform 3D audio API Requires: @PKG_CONFIG_REQUIRES@ Version: @PACKAGE_VERSION@ Libs: -L${libdir} -l@LIBNAME@ @PKG_CONFIG_LIBS@ Cflags: -I${includedir} -- cut -- Seems to be in order. Also "pkg-config --libs openal" prints only "-lopenal". Might want to try the version Hanno suggested to you.