You are not logged in.

#1 2016-04-25 03:34:38

JasonZhang
Member
From: Shanghai, P.R.C
Registered: 2013-02-01
Posts: 21

[Solved]lib32-libgcrypt update breaks steam

When I update lib32-libgcrypt from 1.6.5-1 to 1.7.0-1, steam refused to start:

$ LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception hander for appid(steam)/version(1459463254)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

$ LIBGL_DEBUG=verbose LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1459463254)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/i965_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/i965_dri.so failed (/usr/lib32/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/usr/lib32/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

$ steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception hander for appid(steam)/version(1459463254)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Also, I've already removed some prepackaged libraries according to this post.

How can I update lib32-libgcrypt? Thanks in advance.

System information gathered from steam:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Laptop
    No Touch Input Detected
    
Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x5e
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  3500 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported
    
Network Information:
    Network Speed:  
    
Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.5.1-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11803000
    X Window Manager:  i3
    Steam Runtime Version:  steam-runtime-release_2016-02-23
    
Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) x86/MMX/SSE2

    Driver Version:  3.0 Mesa 11.2.1
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x8086
    DeviceID:  0x191b
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 13.62" x 7.64"  (15.59" diag)
                                            34.6cm x 19.4cm  (39.6cm diag)
    Primary VRAM Not Detected
    
Sound card:
    Audio device: Realtek ALC3266
    
Memory:
    RAM:  7836 Mb
    
Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  238817 Mb
    Largest Free Hard Disk Block:  44431 Mb
    VR Headset: None detected
    
    Mon Apr 25 03:26:12 2016 GMT: file ''/tmp/dumps/assert_20160425112533_19.dmp'', upload yes: ''CrashID=bp-6f7d2084-c4be-440a-b9b5-f30042160424''

Some additional information:

multilib/lib32-mesa 11.2.1-1
multilib/lib32-mesa-libgl 11.2.1-1
extra/mesa 11.2.1-1
extra/mesa-demos 8.3.0-1
extra/mesa-libgl 11.2.1-1

multilib/lib32-nvidia-utils 364.19-1
extra/nvidia 364.19-1
extra/nvidia-settings 364.19-1
extra/nvidia-utils 364.19-1

multilib/lib32-libglvnd 0.1.0.20160411-1
multilib/lib32-virtualgl 2.5-2
extra/libglvnd 0.1.0.20160411-1
community/libvdpau-va-gl 0.3.6-1

core/libgcrypt 1.7.0-1

Last edited by JasonZhang (2016-04-25 03:38:20)

Offline

#2 2016-04-25 03:37:54

JasonZhang
Member
From: Shanghai, P.R.C
Registered: 2013-02-01
Posts: 21

Re: [Solved]lib32-libgcrypt update breaks steam

I've found the resolution here. Fixed.

Last edited by JasonZhang (2016-04-25 03:38:55)

Offline

#3 2016-04-27 22:28:34

Malambo
Member
Registered: 2013-10-08
Posts: 1

Re: [Solved]lib32-libgcrypt update breaks steam

I had the same problem! that worked! thanks a lot smile

Offline

#4 2016-05-02 20:34:13

Kurtoid
Member
Registered: 2016-05-01
Posts: 2

Re: [Solved]lib32-libgcrypt update breaks steam

So that deleted file is restored every time steam updates or verifies, and the command needs to be rerun again. Is there a more permanent fix?

Offline

#5 2016-05-03 00:44:05

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [Solved]lib32-libgcrypt update breaks steam

lib32-libgcrypt can be ignored via pacman's config. See the wiki for that. Otherwise, there is no way to prevent steam from re-installing its bad libraries. I have an alias for removing the bad files (and it's also in the wiki somewhere AFAIK):

alias rmbadsteamlibs='find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete'
alias rmbadsteamlibslocal='find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete'

That makes it a great deal shorter to fix steam when it gets broken due to this issue.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#6 2016-05-03 07:39:27

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: [Solved]lib32-libgcrypt update breaks steam

JohnBobSmith wrote:

lib32-libgcrypt can be ignored via pacman's config. See the wiki for that. Otherwise, there is no way to prevent steam from re-installing its bad libraries. I have an alias for removing the bad files (and it's also in the wiki somewhere AFAIK):

alias rmbadsteamlibs='find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete'
alias rmbadsteamlibslocal='find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete'

That makes it a great deal shorter to fix steam when it gets broken due to this issue.

Your alias is missing something, because of libgcrypt.

Offline

#7 2016-05-03 13:57:33

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [Solved]lib32-libgcrypt update breaks steam

Re-read the first sentence. Simply DOWNGRADE libgcrypt, after doing so IGNORE it in pacman's config.

EDIT: Just noticed this is a solved topic, lets not drag this out anymore. smile

Last edited by JohnBobSmith (2016-05-03 13:58:02)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#8 2016-05-03 14:51:41

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: [Solved]lib32-libgcrypt update breaks steam

JohnBobSmith wrote:

Re-read the first sentence. Simply DOWNGRADE libgcrypt, after doing so IGNORE it in pacman's config.

I read that. I just don't find that practical.

Offline

#9 2016-05-03 14:56:27

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,757

Re: [Solved]lib32-libgcrypt update breaks steam

JohnBobSmith wrote:

Re-read the first sentence. Simply DOWNGRADE libgcrypt, after doing so IGNORE it in pacman's config.

EDIT: Just noticed this is a solved topic, lets not drag this out anymore. smile

So stop bumping it with bad "solutions".

Last edited by Scimmia (2016-05-03 14:57:25)

Online

#10 2016-05-03 15:13:59

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [Solved]lib32-libgcrypt update breaks steam

How is that a bad solution? It's what worked for me. And a lot of others too


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#11 2016-05-03 15:19:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,094

Re: [Solved]lib32-libgcrypt update breaks steam

Downgrading and holding back updates to critical packages in order to fix one package that is known to be finicky is pretty much always a bad solution. And there are pretty much always better solutions, like keeping a seperate copy of the offending lib and passing it only for the program that needs it (which in this case isn't even needed since there wasn't an ABI break per se, so simply remove the old lib from the steam folder).

Offline

#12 2016-05-03 15:19:55

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,860
Website

Re: [Solved]lib32-libgcrypt update breaks steam

JohnBobSmith wrote:

How is that a bad solution?

Because it's a partial upgrade.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#13 2016-05-03 15:21:02

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [Solved]lib32-libgcrypt update breaks steam

Ah, I see. Thanks wormzy!


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#14 2016-05-15 14:26:53

amenzhisnky
Member
From: Minsk
Registered: 2013-12-01
Posts: 27

Re: [Solved]lib32-libgcrypt update breaks steam

Offline

#15 2016-05-25 18:59:53

grendel92
Member
Registered: 2016-04-16
Posts: 4

Re: [Solved]lib32-libgcrypt update breaks steam

Hello!

Today I can not start my steam.
The problem: steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

I tried find the linked solution, but it's not working for me, no file found with this name.
~/.steam/root/ -name "libgpg-error.so*" -print -delete

What other can I do? It worked last week.

Offline

#16 2016-05-25 19:02:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,860
Website

Re: [Solved]lib32-libgcrypt update breaks steam

Please don't hijack other peoples threads. See https://wiki.archlinux.org/index.php/St … leshooting and if you still have trouble, open a new thread about it.

Closing.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB