Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259827 - media-libs/openal-1.6.372 error in openal.ac
Summary: media-libs/openal-1.6.372 error in openal.ac
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-21 17:08 UTC by Omar Givernaud
Modified: 2009-04-29 17:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.