Posts: 157
Joined: Jun 2014
Reputation:
1
I still don't know how to get lib64 seen as a system lib - but that's my/lfs issue. The exec_prefix seems not to be related/an issue.
Nearly everything I build uses lib.
I don't know why waylandpp doesn't, but anyway, if I edit the .pc files, changing lib64 to lib then kodi does get to use it's own ffmpeg and vaapi hwaccel works on wayland with AMD/mesa.
Posts: 223
Joined: Mar 2017
Reputation:
19
yol
Team-Kodi Member
Posts: 223
Sidenote: If you have more libraries with this problem, you should fix them too or recompile pkg-config with an appropriate --with-system-library-path option
Posts: 157
Joined: Jun 2014
Reputation:
1
Thanks and yea, I should make sure nothing installs to lib64 (now I know it's an issue!), it's only there really for the few pre-compiled binaries that fail without it eg. Unigine/Unreal GPU demos/games.
I did rebuild waylandpp and configuring with ccmake doesn't expose system library path at the default level - I will check more in future.
Given what wsnipex says about fixing, and not remembering seeing any lfs/blfs build instructions that need to specify -DCMAKE_INSTALL_LIBDIR=lib plus the low number of affected libs, default use of lib64 seems to be quite rare.