Error while loading shared libraries libx11 so 6

Чем лечится "error while loading shared libraries: libX11.so.6" ? - Ubuntu.ru
  • Печать

Страницы: [1]   Вниз

Тема: Чем лечится «error while loading shared libraries: libX11.so.6» ?  (Прочитано 4667 раз)

0 Пользователей и 2 Гостей просматривают эту тему.

Оффлайн
Electricity

Kubuntu 18.04 amd64, Qt: 5.9.5, KDE Frameworks: 5.44.0, plasmashell 5.12.7, корпус чёрный, клава белая


Оффлайн
ARTGALGANO

так libx11.so в другом пакете — libx11-dev


alang

Вот это не помогло:

libc и libX11 — это, конечно, одно и то же :)

Нужный тебе пакет называется libx11-6.

так libx11.so в другом пакете — libx11-dev

Нет там такого.


Оффлайн
ARTGALGANO


Оффлайн
Electricity

Установлены и libx11-dev и libx11-6.

Kubuntu 18.04 amd64, Qt: 5.9.5, KDE Frameworks: 5.44.0, plasmashell 5.12.7, корпус чёрный, клава белая


alang

Установлены и libx11-dev и libx11-6.

С путями, значит, разбирайся.


Оффлайн
ARTGALGANO

find /usr/lib -type f -iname ‘libx11.*’


citu

sudo apt install libx11-dev:i386 libx11-6:i386


Оффлайн
Electricity

ARTGALGANO, вот:

citu, да, оно! Поставил.
Теперь не может найти libgtk-x11-2.0.so.0

Какой из этих?

Установил libgtkglextmm-x11-1.2-0v5:i386, не знаю правильно или нет.
При запуске открылось окно с сообщением:

А в Konsole:

apt install libfbclient2:i386 libfbclient2
Теперь вот что:

« Последнее редактирование: 29 Декабря 2018, 22:16:07 от Electricity »

Kubuntu 18.04 amd64, Qt: 5.9.5, KDE Frameworks: 5.44.0, plasmashell 5.12.7, корпус чёрный, клава белая


citu

Electricity

А вы что делаете?


Оффлайн
Electricity

Запускаю стороннюю прогу. Бинарник. Исходного кода нет

Kubuntu 18.04 amd64, Qt: 5.9.5, KDE Frameworks: 5.44.0, plasmashell 5.12.7, корпус чёрный, клава белая


citu

Запускаю стороннюю прогу

Какую?


  • Печать

Страницы: [1]   Вверх

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Specialised Support
  • Gaming & Leisure
  • [SOLVED] Head Over Heels — missing libX11.so.6 ?

  1. Head Over Heels — missing libX11.so.6 ?

    I’ve just installed the Linux remake of Head Over Heels (all-time classic ZX Spectrum game) from here http://retrospec.sgn.net/games/hoh/

    It’s about 10 years old now, and I’ve previously installed it on loads of Linux distros over the years with no problem.

    However, on my 64 bit Xubuntu 13.04, when I try to run it I get this error (HoH is the executable that the startup script runs) :- ./HoH: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

    A quick search on the net shows that libX11.so.6 is in the package libX11-6, however apt-get install libX11-6 returns with libx11-6 is already the newest version.

    So I already have the library that’s missing — I’ve found it in /usr/lib/x86_64-linux-gnu

    What do I need to do?

    Registered Linux User #426227


  2. Re: Head Over Heels — missing libX11.so.6 ?

    is the game compiled for 64bit? if not then you need libraries to run 32bit programmes.: https://help.ubuntu.com/community/32bit_and_64bit

    i didn’t know they’ve made these for linux. i need to check them out.


  3. Re: Head Over Heels — missing libX11.so.6 ?

    Quote Originally Posted by Carl H
    View Post

    A quick search on the net shows that libX11.so.6 is in the package libX11-6, however apt-get install libX11-6 returns with libx11-6 is already the newest version.

    Try like that to get the 32bit version:

    Code:

    sudo apt-get install libx11-6:i386

  4. Re: Head Over Heels — missing libX11.so.6 ?

    Quote Originally Posted by kostkon
    View Post

    Try like that to get the 32bit version:

    Code:

    sudo apt-get install libx11-6:i386

    That’s got it working, thank you! Unfortunately, there’s no sound…. it was made in the days of OSS, and doesn’t work with ALSA. Don’t suppose there’s any way to add OSS, is there?

    BTW, this is by no means the first 64 bit distro I’ve played this game on, and none of the others needed 32 bit libraries installing. I’ve just checked on my Debian 7.3 box and the i386 libraries are there already. Must be an new-ish Ubuntu thing to remove them?

    Registered Linux User #426227


  5. Re: Head Over Heels — missing libX11.so.6 ?

    Quote Originally Posted by Carl H
    View Post

    That’s got it working, thank you! Unfortunately, there’s no sound…. it was made in the days of OSS, and doesn’t work with ALSA. Don’t suppose there’s any way to add OSS, is there?

    Actually, there is. PulseAudio provides a utility that can «emulate» OSS for you, just run the game like this:

    Code:

    padsp game_executable

  6. Re: Head Over Heels — missing libX11.so.6 ?

    So close, but …

    ERROR: ld.so: object ‘/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so’ from LD_PRELOAD cannot be preloaded: ignored.
    Failed to initialise sound driver!
    Insufficient digital voices available

    Registered Linux User #426227


  7. Re: Head Over Heels — missing libX11.so.6 ?

    Code:

    sudo apt-get install pulseaudio-utils:i386 osspd:i386

    This crashed and raised an error report, but running the game through padsp does produce sound now. The game sound effects seem more or less alright but the background music is a bit odd.

    Thanks for your help, kostkon.

    Registered Linux User #426227


  8. Re: Head Over Heels — missing libX11.so.6 ?

    I enjoy the game Head Over Heals too. Make sure you have alsa-oss installed, then start the game with aoss.
    aoss hoh


Bookmarks

Bookmarks


Posting Permissions

I tried to make && make install package, but I get an error:

libX11.so.6 not found

Where can I get this library?

Jeff Schaller's user avatar

Jeff Schaller

65.2k34 gold badges106 silver badges240 bronze badges

asked Aug 24, 2010 at 5:41

0xAX's user avatar

2

You need to install the libX11 package:

$ rpm -qf /usr/lib/libX11.so.6
libX11-1.3.1-3.fc13.i686

Just go

$ yum -y install libX11  

One more thing though: if you don’t know how to find and install a library package, care to share why you are trying to compile a piece of software that is officially packaged for Fedora 13 in the most recent version?

$ yum info gpicview
Available Packages
Name        : gpicview
Arch        : x86_64
Version     : 0.2.1
Release     : 3.fc13
Size        : 93 k
Repo        : fedora
Summary     : Simple and fast Image Viewer for X
URL         : http://lxde.sourceforge.net/gpicview/
License     : GPLv2+
Description : Gpicview is an simple and image viewer with a simple and intuitive interface.
            : It's extremely lightweight and fast with low memory usage. This makes it
            : very suitable as default image viewer of desktop system. Although it is
            : developed as the primary image viewer of LXDE, the Lightweight X11 Desktop
            : Environment, it only requires GTK+ and can be used in any desktop environment.

answered Aug 24, 2010 at 6:30

wzzrd's user avatar

wzzrdwzzrd

3,66022 silver badges19 bronze badges

I bet a more appropriate response would be to install libX11-devel…

answered Aug 24, 2010 at 22:11

lucabotti's user avatar

lucabottilucabotti

2351 silver badge1 bronze badge

«Libraries are missing» error when installing SEP Linux onto 64-bit Linux

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

«Libraries are missing» error when installing SEP Linux onto 64-bit Linux

Example errors:

[email protected]:/# ./install.sh -i
Starting to install Symantec Endpoint Protection for Linux
Performing pre-check…
Error: Installation requires 32bits glibc library. Please install it and try again.
Warning: X11 libraries are missing, GUI component will not be installed!
Pre-check failed.
[email protected]:/#

or…

Error: Could not launch ‘Symantec AntiVirus’
Failed to execute child process «/opt/Symantec/symantec_antivirus/savtray» (No such file or directory)

bash: /opt/Symantec/symantec_antivirus/savtray:
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

AutoProtect is disabled; «symev: unable to load kernel support module» in /var/log/messages

Environment

SEP 14.3 MP1 and earlier, 64-bit Linux

Cause

The SEP Linux client requires 32-bit Linux libraries.

Resolution

On Ubuntu or Debian Linux distros:

sudo dpkg —add-architecture i386; sudo apt-get update
sudo apt-get install libc6:i386 libx11-6:i386 libdbus-1-dev:i386

On Red Hat base Linux distros (RHEL, CentOS, Scientific Linux):

sudo yum install glibc.i686 libgcc.i686 libX11.i686

Feedback

thumb_up
Yes

thumb_down
No

Support Center > Search Results > SecureKnowledge Details

Linux SNX CLI fails to run

Technical Level

Solution ID sk108184
Technical Level

Product SSL Network Extender, Mobile Access / SSL VPN
Version All
OS Linux
Date Created

2015-10-14 01:48:02.0

Last Modified 2015-10-15 05:05:33.0

Symptoms

  • Running Linux SNX CLI fails with an error:
    «snx: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory»

Cause

Missing dependencies in /usr/bin/snx.

Solution


Note: To view this solution you need to

Sign In
.

Понравилась статья? Поделить с друзьями:
  • Error while loading shared libraries libwbclient so 0
  • Error while loading shared libraries libtinfo so 6
  • Error while loading shared libraries libtiff so 3
  • Error while loading shared libraries libstdc so 6
  • Error while loading shared libraries libssl so