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

Bug 232463

Summary: games.eclass forget to add "/usr/games/lib64" to LDPATH
Product: Gentoo Linux Reporter: Karl-Robert Ernst <karl.r.ernst>
Component: EclassesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl-Robert Ernst 2008-07-20 12:18:50 UTC
I made an ebuild for a game which needs some shared libraries to run (these are included within these game).
All libraries are installed in $(games_get_libdir), which returns "/usr/games/lib64" on my AMD64-system. games.eclass creates a 90games file in env.d with the line >
LDPATH="/usr/games/lib:/usr/games/lib32"
lib64 is obviously missing

Reproducible: Always

Actual Results:  
> error while loading shared libraries: libserver.so: cannot open shared object file: No such file or directory

Expected Results:  
> run the programm

Adding /usr/games/lib64 to /etc/env.d/90games, running env-update and "source /etc/profile" fixes the problem.
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2008-07-20 16:22:30 UTC

*** This bug has been marked as a duplicate of bug 202032 ***