Linux libdrm so 2

You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 libdrm.so.2 libdrm.so.2 libdrm.so.2 [duplicate]

You should start with your OS/product/release details; as deb packages are built for a specific release and we don’t know any of your specific OS/release details. Are you using Ubuntu? What Ubuntu product? What release of that product?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it’s currently written, it’s hard to tell exactly what you’re asking.

1 Answer 1

# install apt-file to search for files in packages sudo apt install apt-file # add i386 architecture for Steam i386 libraries (32 bit required) sudo dpkg --add-architecture i386 # update packages including i386 architecture packages sudo apt update # search for each missing file for i386 architecture # (in this case searching for libGL.so.1, libdrm.so.2) apt-file search libGL.so.1 -a i386 # On Debian the package list is: # libgl1: /usr/lib/i386-linux-gnu/libGL.so.1 # libgl1: /usr/lib/i386-linux-gnu/libGL.so.1.7.0 # libgl1-nvidia-legacy-390xx-glx: /usr/lib/i386-linux-gnu/nvidia/legacy-390xx/libGL.so.1 # libgl1-nvidia-tesla-418-glx: /usr/lib/i386-linux-gnu/nvidia/tesla-418/libGL.so.1 # primus-libs: /usr/lib/i386-linux-gnu/primus/libGL.so.1 # In this case the required library on Debian is libgl1-nvidia-legacy-390xx-glx for NVidia hardware, # libgl1-nvidia-tesla-418-glx if we have to NVidia Tesla (very expensive, most likely not on a user machine), # primus-libs if we want Bumblebee Optimus with NVidia, # libgl1 for other hardware apt-file search libdrm.so.2 -a i386 # On Debian the package list is: # libdrm2: /usr/lib/i386-linux-gnu/libdrm.so.2 # libdrm2: /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 # In this case the required library on Debian is libdrm2 # install packages that are most likely to be needed based on what is returned previously # For some Ubuntu, in case in the list was returned 'libgl1-nvidia-glvnd-glx' then we install it sudo apt install libgl1-nvidia-glvnd-glx:i386 # On Debian we install the missing packages based on the previous lists (you might want other packages if it doesn't work) # 1. For NVidia hardware without Bumblebee: sudo apt install libgl1-nvidia-legacy-390xx-glx:i386 libdrm2:i386 # 2. For NVidia Tesla (very expensive, most likely not on a user machine): sudo apt install libgl1-nvidia-tesla-418-glx:i386 libdrm2:i386 # 3. For NVidia hardware with Bumblebee Optimus: sudo apt install primus-libs:i386 libdrm2:i386 # 4. For other hardware: sudo apt install libgl1:i386 libdrm2:i386 # Reload libraries (create dynamic links for new libraries so that libGL.so.1.7.0 points to libGL.so.1, for example) sudo ldconfig 

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Читайте также:  Mount remote directory linux

Источник

Linux libdrm so 2

Failed to parse arguments: Option «—disable-factory» is no longer supported in this version of gnome-terminal.
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Package libc6:i386 needs to be installed
Running Steam on debian 9 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
Failed to load steamui.so — dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
Installing breakpad exception handler for appid(steam)/version(1521764535)
Installing breakpad exception handler for appid(steam)/version(1521764535)
[2018-03-25 02:32:52] Startup — updater built Mar 22 2018 16:58:36
Looks like steam didn’t shutdown cleanly, scheduling immediate update check
[2018-03-25 02:32:52] Checking for update on startup
[2018-03-25 02:32:52] Checking for available updates.
[2018-03-25 02:32:52] Download skipped by HTTP 304 Not Modified
[2018-03-25 02:32:52] Nothing to do
[2018-03-25 02:32:52] Verifying installation.
[2018-03-25 02:32:52] Performing checksum verification of executable files
[2018-03-25 02:32:53] Verification complete
[2018-03-25 02:32:56] Shutdown

My steam.conf
1 /usr/lib32
2 /usr/lib/i386-linux-gnu/mesa

But this directory /usr/lib/i386-linux-gnu/mesa doesn’t exist.

I have Debian Stretch.
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

Источник

Steam: «You are missing the following 32-bit libraries, and Steam may not run: libdrm.so.2»

It is the weirdest. I opened up my Steam and suddenly received this message when it had been working perfectly fine a couple of days before: Steam popup 1 Steam popup 2 It was already installed. I tried reinstalling Steam from the package in the Steam website. I also tried purging libdrm2 and reinstalling. I tried just restarting the system. I tried updating and upgrading all components. No change. No Google results have turned up anything that makes sense in my situation. I’m running on Ubuntu 14.04 .

Читайте также:  Google drive linux client

1 Answer 1

It turns out that Steam is 32-bit and the 64-bit libdrm2 package I have is obviously not being recognized. This was clear from the console output when running the «steam» executable directly:

$ steam Failed to parse arguments: Option "--disable-factory" is no longer supported in this version of gnome-terminal. Package libgl1-mesa-dri:i386 needs to be installed Package libgl1-mesa-glx:i386 needs to be installed Running Steam on ubuntu 14.04 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! Error: You are missing the following 32-bit libraries, and Steam may not run: libdrm.so.2 Installing breakpad exception handler for appid(steam)/version(1513371133) Installing breakpad exception handler for appid(steam)/version(1513371133) Installing breakpad exception handler for appid(steam)/version(1513371133) Failed to load steamui.so - dlerror(): libdrm.so.2: wrong ELF class: ELFCLASS64 Installing breakpad exception handler for appid(steam)/version(1513371133) 

The first comment indicates that it needs to be 32-bit. The second indicates that the 64-bit one isn’t what it wanted.

Simply fixed by installing «libdrm2:i386»:

$ sudo apt-get install libdrm2:i386 

Источник

Libdrm-2.4.115

Libdrm provides a userspace library for accessing the direct rendering manager (DRM) on operating systems that support the ioctl interface. Libdrm is a low-level library, typically used by graphics drivers such as the Mesa DRI drivers, the X drivers, libva and similar projects.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

  • Download (HTTP): https://dri.freedesktop.org/libdrm/libdrm-2.4.115.tar.xz
  • Download MD5 sum: 5403981a20c964f4c893ff91393652bd
  • Download size: 459 KB
  • Estimated disk space required: 8.6 MB (with tests)
  • Estimated build time: less than 0.1 SBU (with tests) with parallelism=4
Читайте также:  Run make file in linux

libdrm Dependencies

Xorg Libraries (for Intel KMS API support required by Mesa)

Optional

Cairo-1.17.6 (for tests), CMake-3.26.4 (could be used to find dependencies without pkgconfig files), docbook-xml-4.5, docbook-xsl-nons-1.79.2, docutils-0.20.1, and libxslt-1.1.38 (to build manual pages), libatomic_ops-7.8.0 (required by architectures without native atomic operations), Valgrind-3.21.0, and CUnit (for AMDGPU tests)

Installation of Libdrm

Install libdrm by running the following commands:

mkdir build && cd build && meson setup --prefix=$XORG_PREFIX \ --buildtype=release \ -Dudev=true \ -Dvalgrind=disabled \ .. && ninja

To check the results, issue ninja test .

Command Explanations

—buildtype=release : Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-Dudev=true : This parameter enables support for using Udev instead of mknod .

-Dvalgrind=disabled : This parameter disables building libdrm with valgrind support. This fixes building sysprof and other packages that use libdrm. Change this parameter to «enabled» (or remove it) if you need support for valgrind.

Contents

Installed Libraries: libdrm_amdgpu.so, libdrm_intel.so, libdrm_nouveau.so, libdrm_radeon.so, and libdrm.so

Short Descriptions

contains the AMDGPU specific Direct Rendering Manager functions

contains the Intel specific Direct Rendering Manager functions

contains the open source nVidia (Nouveau) specific Direct Rendering Manager functions

contains the AMD Radeon specific Direct Rendering Manager functions

contains the Direct Rendering Manager API functions

Источник

Оцените статью
Adblock
detector