Closed gcarq closed 5 years ago
Thanks for reporting. Evidently these libraries aren't as compatible as I'd hoped. Your flags look the same as mine so I'll try to determine is a particular version is needed.
Thanks for the quick response. Let me know if I should test with a specific pango version.
Okay, I see what's happened. I didn't LD_PRELOAD libharfbuzz.so.0 as it's not a direct dependency of libcef.so, which is what I'm trying to satisfy. The problem is that steamwebhelper still adds the ubuntu12_64 directory to the front of LD_LIBRARY_PATH so /usr/lib64/libpangoft2-1.0.so.0 picks up the bundled libharfbuzz.so.0 instead. I wanted to avoid preloading too many libraries as that can also cause problems but it may be unavoidable. I'll try to think up another trick to make this work better.
I've just pushed a libsteam-preload
branch to this overlay. Please could you test out the change I've made in steam-launcher-1.0.0.59-r2
.
I checked out the libsteam-preload
branch and installed the ebuild with:
# ebuild steam-launcher/steam-launcher-1.0.0.59-r2.ebuild merge
The merge process was successful, however at first I had an issue with libdl
when I started steam:
$ steam
id: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
readlink: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
dirname: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
Repairing installation, linking /home/michi/.steam/steam to /home/michi/.local/share/Steam
rm: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
readlink: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
dirname: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
Setting up Steam content in /home/michi/.local/share/Steam
mkdir: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
tar: symbol lookup error: /usr/lib64/libsteam-preload.so: undefined symbol: dlsym
Failed to extract /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz, aborting installation.
Linking libsteam-preload.so against libdl fixed the start up error:
diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.59-r2.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.59-r2.ebuild
index a4cfc01..c378ee3 100644
--- a/games-util/steam-launcher/steam-launcher-1.0.0.59-r2.ebuild
+++ b/games-util/steam-launcher/steam-launcher-1.0.0.59-r2.ebuild
@@ -113,7 +113,7 @@ src_prepare() {
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -DGLIBDIR="${EPREFIX}/usr/$(get_libdir)" -shared \
- -Wl,-soname=libsteam-preload.so -o libsteam-preload.so "${FILESDIR}"/libsteam-preload.c || die
+ -Wl,-soname=libsteam-preload.so -o libsteam-preload.so "${FILESDIR}"/libsteam-preload.c -ldl || die
}
src_install() {
With that diff everything works as expected and the Store and Community tabs are visible. Thanks!
D'oh, should have remembered that! I wonder why it worked for me. Thanks for following it through, I'll get it fixed up shortly.
In master now.
I'm getting a black screen when opening the Store and Community tabs while using the native runtime. This issue doesn't occur when using the steam runtime.
The logs suggest the issue comes from
x11-libs/pango
when opening the mentioned tabs:The related packages are built as follow: