-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to run #444
Comments
There's not much what I can do to fix this. A missing libglib link sounds very strange though and to me this sounds more like a local issue with your system. I guess you're seeing the same error when running other or blank NW.js applications, right? |
Okay, after installing libglib2.0-0:i386, I no longer get the error I first mentioned, but I get one saying I'm missing another library. I'm guessing twitch-gui just needs all these libraries in 32 bit form. I've installed 32 bit versions of probably 20 libraries so far and each time I install one, it just tells me I'm missing another. Is there any way I could get a list of needed libraries so i can just get them all at once? Edit: Nevermind, It looks like I've installed everything because it doesn't tell me I'm missing a library anymore, but it still won't launch. Here is the output of running ./start.sh. I've ommited a bunch of gtk errors. [16544:16544:0424/073302.815181:ERROR:broker_posix.cc(41)] Invalid node channel message Edit again because I'm impatient: I figured it out, I didn't have the 32 bit libgudev installed. Installed it, and now twitch-gui works! |
You don't need any 32bit libs, unless you've downloaded the 32bit release. You can see the required libs by either running $ readelf -d ./build/cache/0.21.3-normal/linux64/nw
Dynamic section at offset 0xec08 contains 31 entries:
Tag Type Name/Value
0x0000000000000003 (PLTGOT) 0xfea0
0x0000000000000002 (PLTRELSZ) 984 (bytes)
0x0000000000000017 (JMPREL) 0x6500
0x0000000000000014 (PLTREL) RELA
0x0000000000000007 (RELA) 0x6338
0x0000000000000008 (RELASZ) 456 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffff9 (RELACOUNT) 8
0x0000000000000015 (DEBUG) 0x0
0x0000000000000006 (SYMTAB) 0x298
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000005 (STRTAB) 0x2638
0x000000000000000a (STRSZ) 13532 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x5b18
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libnw.so]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x000000000000000c (INIT) 0x68d8
0x000000000000000d (FINI) 0xe0d8
0x000000000000000f (RPATH) Library rpath: [$ORIGIN/lib/]
0x000000000000001e (FLAGS) BIND_NOW
0x000000006ffffffb (FLAGS_1) Flags: NOW
0x000000006ffffff0 (VERSYM) 0x5eb0
0x000000006ffffffe (VERNEED) 0x61a8
0x000000006fffffff (VERNEEDNUM) 6
0x0000000000000000 (NULL) 0x0 $ ldd ./build/cache/0.21.3-normal/linux64/nw
linux-vdso.so.1 (0x00007fff97352000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f57ce5f3000)
libnw.so => /home/basti/repos/streamlink-twitch-gui/build/cache/0.21.3-normal/linux64/lib/libnw.so (0x00007f57c7c40000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f57c7a38000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f57c7725000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f57c739d000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f57c708a000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f57c6ce6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f57ce811000)
libffmpeg.so => /home/basti/repos/streamlink-twitch-gui/build/cache/0.21.3-normal/linux64/lib/libffmpeg.so (0x00007f57c6a61000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f57c685d000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f57c6659000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f57c6407000)
libnss3.so => /usr/lib/libnss3.so (0x00007f57c60dc000)
libnssutil3.so => /usr/lib/libnssutil3.so (0x00007f57c5eae000)
libsmime3.so => /usr/lib/libsmime3.so (0x00007f57c5c87000)
libnspr4.so => /usr/lib/libnspr4.so (0x00007f57c5a47000)
libcups.so.2 => /usr/lib/libcups.so.2 (0x00007f57c57ba000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f57c547b000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f57c5279000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f57c5050000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f57c4e4d000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f57c4c42000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f57c4a3f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f57c482d000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f57c4627000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f57c4416000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f57c420b000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f57c4005000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f57c3ddb000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f57c3b97000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f57c3947000)
libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00007f57c3715000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f57c3381000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f57c3174000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f57c2f28000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f57c2bfa000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f57c2939000)
libXss.so.1 => /usr/lib/libXss.so.1 (0x00007f57c2735000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f57c252a000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f57c221c000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f57c1ff6000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f57c19b6000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f57c1701000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f57c14da000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f57c12c3000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f57c1050000)
libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f57c0e47000)
libplc4.so => /usr/lib/libplc4.so (0x00007f57c0c42000)
libplds4.so => /usr/lib/libplds4.so (0x00007f57c0a3e000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f57c07f0000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f57c050b000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f57c02da000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f57c00d6000)
libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f57bfd6a000)
libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007f57bfb5d000)
libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007f57bf94c000)
libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f57bf714000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f57bf4fd000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f57bf2f9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f57bf0f3000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f57ce961000)
libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007f57beecc000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f57becb6000)
libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f57bea68000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f57be853000)
libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f57be649000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f57be3a1000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007f57be18e000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f57bdf58000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f57bdd54000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f57bdb46000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f57bd8bb000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f57bd6ab000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f57bd41b000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f57bd218000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f57bd00b000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f57bce07000)
libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f57bcad8000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f57bc767000)
libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f57bc554000)
libnettle.so.6 => /usr/lib/libnettle.so.6 (0x00007f57bc31c000)
libhogweed.so.4 => /usr/lib/libhogweed.so.4 (0x00007f57bc0e7000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f57bbe54000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f57bbc50000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f57bba2a000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f57bb816000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f57bb507000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f57bb2f2000)
libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f57bb0ac000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f57baea7000)
libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f57bac9f000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f57ba9e9000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f57ba7b7000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f57ba58b000) |
Oh my god I downloaded the 32 bit version. Wow I'm so stupid, sorry about all that! |
Description
After extracting the archive to /opt/, I tried to run the program with ./start.sh, and got the error:
error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
I have verified that I have libglib2.0 installed on my system, and after running "locate" on that name, I found that I do indeed have that file. It's at /lib/x86_64-linux-gnu/libglib-2.0.so.0 as well as /snap/core/1577/lib/x86_64-linux-gnu/libglib-2.0.so.0.
...
Expected / Actual behavior
Expected: Program runs normaly
Actual: Program does not run and give the error:
error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
...
Reproduction steps
Environment details (operating system, etc.)
Xubuntu 16.04
...
Comments, logs, screenshots, etc.
...
The text was updated successfully, but these errors were encountered: