Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 259827

Summary: media-libs/openal-1.6.372 error in openal.ac
Product: Gentoo Linux Reporter: Omar Givernaud <trax>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: hanno
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Omar Givernaud 2009-02-21 17:08:12 UTC
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
Comment 1 Hanno Böck gentoo-dev 2009-04-09 12:33:02 UTC
Can you look if this still is the case with 1.7.411? Can't reproduce that, looks ok on my system.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-04-29 17:31:49 UTC
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.