Error while loading shared libraries libgconf 2 so 4 cannot open shared object file

I want to install chromedriver in one of the AWS EC2 instance which is linux(Red Hat Enterprise Linux Server release 6.7 Santiago - 64 bit). While installing the chromedriver, we ran into issue due...

I want to install chromedriver in one of the AWS EC2 instance which is linux(Red Hat Enterprise Linux Server release 6.7 Santiago - 64 bit). While installing the chromedriver, we ran into issue due to missing packages. I could find the package here but this in turn requires many other packages. Using any other AMI is not an option.

Error is —

error while loading shared libraries libgconf-2.so.4 cannot open shared object file

asked Jun 3, 2016 at 22:15

Pankaj's user avatar

PankajPankaj

3,45216 gold badges48 silver badges81 bronze badges

1

I am using Ubuntu x64 and yum didn’t work for me. But I found somebody mentioning simply use
$sudo apt install libgconf-2-4
worked for me to install the libgconf.

Keval Domadia's user avatar

answered Mar 28, 2018 at 18:55

JCQian's user avatar

JCQianJCQian

8096 silver badges10 bronze badges

2


Please ask yum for the file, libgconf-2.so.4 : $ yum provides */libgconf-2.so.4

Install GConf2 : # yum install GConf2

Packages http://mirror.centos.org/centos/6.8/os/ … and updates http://mirror.centos.org/centos/6.8/updates/

The chromedriver depends on the same packages / files as GConf2, and then some. Please see for yourself : $ ldd chromedriver , where ‘chromedriver’ is the unzipped executable.


EDIT :

Solution for the chromedriver issue : Install a chromedriver for RHEL 6, chromedriver-31.0.1650.63-1.el6.x86_64.rpm https://drive.google.com/file/d/0B7S255p3kFXNX1c0UWlGOWpZOHM/view?usp=sharing

Please download the package, and 1) cd Downloads/ 2) yum install chromedriver-31.0.1650.63-1.el6.x86_64.rpm … and you have /usr/local/bin/chromedriver


P.S. : The EL6 chromedriver was built from the source package chromium-31.0.1650.63-1.el6.src.rpm


answered Jun 3, 2016 at 22:33

Knud Larsen's user avatar

Knud LarsenKnud Larsen

5,6302 gold badges14 silver badges19 bronze badges

5

You might want to read this CentOS thread about your GLIBCXX_3.4.15. Especially apropos is this answer on the thread, especially the FAQ it references.

CentOS (which aims to be as compatible with RHEL as possible) is a curated LTS distribution (as is RHEL). You might find a version of chromedriver compiled for RHEL 6 in one of the many repositories. If not, you’ll probably have to build it yourself.

answered Jun 3, 2016 at 23:18

ldav1s's user avatar

ldav1sldav1s

15.6k2 gold badges52 silver badges56 bronze badges

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


Closed

maxogden opened this issue

Apr 28, 2015

· 15 comments

Comments

@maxogden

to reproduce:

$ wget https://github.com/atom/electron/releases/download/v0.25.1/electron-v0.25.1-linux-x64.zip
$ unzip electron-v0.25.1-linux-x64.zip
$ ./electron
./electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

this is on Ubuntu:

$ uname -a
Linux burrito 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

@maxogden



Copy link


Contributor

Author

workaround is apt-get install libgconf-2-4 but I figured since this isn’t mentioned anywhere in the docs or previous issues it might be a bug

n0nick, SalathielGenese, teja42, Fornacula, beevabeeva, chiching, NPellet, grogy, SeppPenner, imharvol, and 180 more reacted with thumbs up emoji
Adnan9011, SaundersB, pierre42100, ta-dah, AntoniaMouawad, phtn, MwirabuaTim, tranquoclongt1, Splode, sromberg, and 5 more reacted with laugh emoji
vasyl-shumskyi, naufdotal, hawksprite, Adnan9011, SaundersB, AntoniaMouawad, SalvadorRom21, MwirabuaTim, tranquoclongt1, Splode, and 10 more reacted with hooray emoji
pierre42100, EdoardoLaGreca, and hsusanoo reacted with confused emoji
Adnan9011, amirhfarzaneh, GagandeepS, SaundersB, dunaevskiy, eciancio, 7013145, HeshamEG, foridur-kayes, MwirabuaTim, and 16 more reacted with heart emoji

@zcbenz

After Chrome 42 libgconf has become a requirement for running on Linux.

n0nick, teja42, ashu05may, Lauriy, DreadKnight, maziyarpanahi, EikeNi, DenysVuika, MadLittleMods, dnlup, and 16 more reacted with thumbs up emoji
FRdevs, GagandeepS, kevin-huet, mcorrig4, and evertiro reacted with heart emoji

@huan
huan

mentioned this issue

Oct 28, 2016

@zeke
zeke

mentioned this issue

Jun 12, 2017

@Martialhimanshu

Try this trick, It worked for me:
after unzipping postman type following command in your terminal
sudo apt-get install libgconf-2-4
after running above command your postman will work for definitely. Surving to Ubuntu happily..

astudd, GagandeepS, risurina, GSculerlor, loudedtwist, AntoniaMouawad, DanielaNarvaez, kspearrin, imprevo, 0xINT3, and 17 more reacted with thumbs up emoji
0xINT3 and aditya-y reacted with hooray emoji
hellosrinath and aditya-y reacted with heart emoji

@Yogesh9900

sudo apt -y install libgconf2-4

This was referenced

Apr 4, 2019

@Stevengu999

It’s worked for me. Ubuntu18.
Linux i386 4.18.0-20-generic #21~18.04.1-Ubuntu SMP Wed May 8 08:43:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@nitin7068

workaround is apt-get install libgconf-2-4 but I figured since this isn’t mentioned anywhere in the docs or previous issues it might be a bug

if this is not working then try with » sudo apt-get install libgconf-2-4″

@pranavsuresh7

Yeah, this solved my issue with this. sudo apt-get install libgconf-2-4
thanks @maxogden

@NickkoG

I tried this but on a fresh install of LUbuntu 19.10 it don’t work.

@sanket143

@KevinWelton

What exactly requires libgconf? Electron? We don’t want users to have to
depend on _any_ external library being installed separately from Unity. CEF
used to require this in the editor, but the CEF dependency is finally gone.

I don’t think _any_ of our supported distros (*only *Ubuntu 16.04/18.04 and
CentOS 7) have libgconf installed by default.

@ZishanAdThandar

Here is the simplest solution

sudo ln -s /usr/lib/libre2.so /usr/lib/libre2.so.4

Replace the last digit as in error.

LIKE THIS COMMENT IF IT SOLVES THE ISSUE.

@sep2

What about arch linux?

sudo pacman -S gconf

@W1N3

This was referenced

Mar 7, 2021

This was referenced

Mar 12, 2021

@immortalt

apt-get install libgconf-2-4

This works. Thanks!

@kkofler

According to the comments on the AUR gconf package:

flying-sheep commented on 2020-01-06 19:20
Most of the packages that “require” it are actually Electron apps that copy&pasted their dependency lists from elsewhere or failed to update them: Chromium (and subsequently Electron) haven’t been dependent on this for years.

So if you still get pointed to this bug, it is probably a red herring.

ff не зависит от гномобиблиотек, в убунте есть firefox-gnome-support, вот он зависит

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от anotheranonymous 20.01.10 15:08:00 MSK

Хрена он тогда не запускается? Это не убунта — это slackware 13. Причем файла libgconf-2.so.4 в MANIFEST.bz2 вообще нет.

  • Ссылка

Ответ на:

комментарий
от as33 20.01.10 15:40:09 MSK

denis@laptop:~$ ldd /usr/lib/firefox-3.7a1pre/firefox-3.7
	linux-vdso.so.1 =>  (0x00007fffa45ff000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0330c65000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f0330a61000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0330751000)
	libm.so.6 => /lib/libm.so.6 (0x00007f03304cd000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f03302b6000)
	libc.so.6 => /lib/libc.so.6 (0x00007f032ff47000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0330e81000)
denis@laptop:~$ 
denis@laptop:~$ ldd /usr/lib/firefox-3.5.8pre/firefox-3.5
	linux-vdso.so.1 =>  (0x00007fff715ff000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8b105f7000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f8b10317000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f8b10113000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f8b0fe03000)
	libm.so.6 => /lib/libm.so.6 (0x00007f8b0fb7f000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f8b0f968000)
	libc.so.6 => /lib/libc.so.6 (0x00007f8b0f5f9000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8b10813000)
	librt.so.1 => /lib/librt.so.1 (0x00007f8b0f3f1000)
denis@laptop:~$ 

шлака такая шлака..

isden ★★★★★

(20.01.10 16:10:17 MSK)

  • Показать ответ
  • Ссылка

кривой репозиторий или мейнтейнер. лиса может обираться без гномовских приблуд.

  • Ссылка

Ответ на:

комментарий
от kirik-88 20.01.10 16:06:47 MSK

Наверное, тебе не нужна слака.

А вообще фуррифокс падает, пытается сгенерить репорт, а генерилка собрана со сказложопыми зависимостями.

as33 ★☆☆

(20.01.10 16:49:02 MSK)

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от isden 20.01.10 16:10:17 MSK

login@localhost:~$ ldd /usr/lib/firefox-3.5.7/firefox-bin
        linux-gate.so.1 =>  (0xffffe000)                                                
        libpthread.so.0 => /lib/libpthread.so.0 (0xb8096000)                            
        libxul.so => not found                                                          
        libmozjs.so => not found
        libxpcom.so => not found
        libplds4.so => not found
        libplc4.so => not found
        libnspr4.so => not found
        libdl.so.2 => /lib/libdl.so.2 (0xb8090000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7d04000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7ce9000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7c60000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7c48000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7c3e000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7bfd000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7b8e000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b54000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7b51000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7a7e000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7963000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb789c000)
        libm.so.6 => /lib/libm.so.6 (0xb7873000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb778b000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb776d000)
        libc.so.6 => /lib/libc.so.6 (0xb75fb000)
        /lib/ld-linux.so.2 (0xb80b7000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb75f8000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb75f4000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb75ef000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb758b000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7564000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74ee000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb74c4000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb74b6000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb74ad000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb74aa000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb74a1000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7499000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7490000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb743f000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb73fe000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb73ea000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb73d1000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb73ce000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73c9000)
        librt.so.1 => /lib/librt.so.1 (0xb73c0000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb73a0000)
login@localhost:~$ ldd /usr/lib/firefox-3.5.7/crashreporter 
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f44000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7e7e000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7e79000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7aed000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7ad2000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7a49000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7a31000)
        libm.so.6 => /lib/libm.so.6 (0xb7a08000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb79fe000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb79bc000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb794e000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7914000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7911000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb783e000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb783a000)
        libgconf-2.so.4 => not found
        libORBit-2.so.0 => not found
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7751000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7733000)
        libc.so.6 => /lib/libc.so.6 (0xb75c1000)
        /lib/ld-linux.so.2 (0xb7f65000)
        librt.so.1 => /lib/librt.so.1 (0xb75b7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb749c000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7499000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7496000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7491000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb742c000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7405000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb738f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7366000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7358000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb734e000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb734b000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb7342000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb733b000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7332000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb72e0000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb729f000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb728b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7273000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7270000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb726a000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb724a000)

У меня больше.

  • Показать ответы
  • Ссылка

Ответ на:

комментарий
от kirik-88 20.01.10 16:50:30 MSK

в данном случае, длиннее != лучше. имхо.

isden ★★★★★

(20.01.10 16:56:43 MSK)

  • Ссылка

Ответ на:

комментарий
от as33 20.01.10 16:49:02 MSK

А вообще фуррифокс падает, пытается сгенерить репорт, а генерилка собрана со сказложопыми зависимостями.

        libxul.so => not found                                                           
        libmozjs.so => not found 
        libxpcom.so => not found 
        libplds4.so => not found 
        libplc4.so => not found 

Они все лежат в /usr/lib/firefox-3.5.7/

Наверное, тебе не нужна слака.

Так поиграться поставил в qemu.

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от kirik-88 20.01.10 16:50:30 MSK

кстати, обрати внимание —

libxul.so => not found
libmozjs.so => not found
libxpcom.so => not found
libplds4.so => not found
libplc4.so => not found
libnspr4.so => not found

isden ★★★★★

(20.01.10 16:57:59 MSK)

  • Ссылка

Ответ на:

комментарий
от kirik-88 20.01.10 16:56:50 MSK

> Они все лежат в /usr/lib/firefox-3.5.7/

попробуй

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox-3.5.7/ && firefox

isden ★★★★★

(20.01.10 16:59:24 MSK)

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от isden 20.01.10 16:59:24 MSK

Ответ на:

комментарий
от kirik-88 20.01.10 17:11:18 MSK

Ответ на:

комментарий
от kirik-88 20.01.10 17:18:42 MSK

Ответ на:

комментарий
от isden 20.01.10 19:07:31 MSK

В том то все и дело, что из реп. Поставил с локального зеркала, потом скачал с ftp.slackware.com, сравнил — одинаковые.
Слаку я поставил, только категорию A, и то не всю, потом доставил всякую мелоч и иксы, dwm и огнелис, скорее всего чегот-то нехватает из зависимостей. Хотя я думал где-то должно вылезти что именно.
Попробую сам собрать, может тогда заработает.

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от kirik-88 20.01.10 21:51:17 MSK

могу порекомендовать два способа решения — 1. написать багрепорт мейнтейнеру, и 2. снести слаку и юзать нормальные дистры.

isden ★★★★★

(20.01.10 22:15:12 MSK)

  • Показать ответ
  • Ссылка

Ответ на:

комментарий
от isden 20.01.10 22:15:12 MSK

1.Баг репорт попробую, но думаю через пару дней уже сами решат эту проблему.
2.Слаку поставил просто на виртуальную машину, поиграться.
так дебиан анстабл/экспериментал — не жалуюсь. Тут такие вещи googloм обычно решаются.

Ну да ладно, спасибо за участие.

  • Ссылка

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.

#1 2013-08-30 04:44:56

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

[SOLVED] Natural Selection 2 not launching

NS2 was just released on Steam, and a lot of users have reported it working. Hooray!

Unfortunately when I launch the game, nothing happens. I ran ns2_linux32 manually and it reported a bunch of missing lib32 dependencies. So, I installed all of them, and now it just segfaults.

gdb reports:

Program received signal SIGSEGV, Segmentation fault.
0xf42b8c55 in XGetICValues () from /usr/lib32/libX11.so.6
(gdb) bt
#0  0xf42b8c55 in XGetICValues () from /usr/lib32/libX11.so.6
#1  0x08189ffa in X11_CreateWindow (_this=0x851d000, window=0x88ddb80) at /home/dushan/SDL2Release/src/video/x11/SDL_x11window.c:573
#2  0x08177e27 in SDL_CreateWindow (title=<optimized out>, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, flags=<optimized out>)
    at /home/dushan/SDL2Release/src/video/SDL_video.c:1248
#3  ShouldUseTextureFramebuffer () at /home/dushan/SDL2Release/src/video/SDL_video.c:170
#4  0x081782ec in SDL_VideoInit (driver_name=<optimized out>) at /home/dushan/SDL2Release/src/video/SDL_video.c:516
#5  0x0813f074 in SDL_InitSubSystem (flags=16416) at /home/dushan/SDL2Release/src/SDL.c:166
#6  0x08076c24 in M4::ClientGame::Initialize (this=0xe86e5008) at ../Source/Spark_Client/ClientGame.cpp:430
#7  0x0806bded in M4::ClientEngine::Initialize (this=0xf4581170, commandLine=…) at ../Source/Spark_Client/ClientEngine.cpp:74
#8  0x0806a1c0 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>)
    at ../Source/ShooterExe/Main.cpp:76

Any ideas?

Last edited by aport (2013-08-30 04:58:42)

#2 2013-08-30 04:58:32

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

Re: [SOLVED] Natural Selection 2 not launching

Looks like it’s a problem with GNOME 3 and ibus.

running

unset XMODIFIERS && /usr/bin/steam

allows the game to start.

#3 2013-08-30 20:51:00

LyCC
Member
Registered: 2012-09-05
Posts: 152

Re: [SOLVED] Natural Selection 2 not launching

Hi everyone,
i get a different problem

ns2_linux32: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Game removed: AppID 4920 "Natural Selection 2", ProcID 2897

i have checked what package contains that, and it’s

pkgfile libgconf-2.so.4
extra/gconf

and i do have gconf installed, and the lib is there

whereis libgconf-2.so.4
libgconf-2.so: /usr/lib/libgconf-2.so /usr/lib/libgconf-2.so.4

any ideas? thanks.

Last edited by LyCC (2013-08-30 21:03:38)

#4 2013-08-30 22:56:18

conley
Member
Registered: 2013-01-09
Posts: 18

Re: [SOLVED] Natural Selection 2 not launching

LyCC wrote:

Hi everyone,
i get a different problem

ns2_linux32: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Game removed: AppID 4920 "Natural Selection 2", ProcID 2897

i have checked what package contains that, and it’s

pkgfile libgconf-2.so.4
extra/gconf

and i do have gconf installed, and the lib is there

whereis libgconf-2.so.4
libgconf-2.so: /usr/lib/libgconf-2.so /usr/lib/libgconf-2.so.4

any ideas? thanks.

You need the 32-bit library: https://aur.archlinux.org/packages/lib32-gconf/

#5 2013-08-31 07:40:56

LyCC
Member
Registered: 2012-09-05
Posts: 152

Re: [SOLVED] Natural Selection 2 not launching

Thanks,
unfortunately it’s a failure, i can’t makepkg that, it requires lib32-polkit, which requires lib32-pam, which can’t compile (dies with error, and i can’t find any solution) sad
so that’s that, i give up, thanks anyway.

edit: i realized that some deps ware compiled like before the dinosaurs walked the earth, so i recompiled all dependencies, now it starts, except maybe some bug, when i start the game after a couple of seconds in-game it runs out of the 4G memory i have and the kernel kills the process, oh well, there is an easy and cheap solution for this, buy another 4G memory smile thanks for the help.

Last edited by LyCC (2013-08-31 09:51:06)

#6 2013-08-31 13:43:10

beidl
Member
Registered: 2013-08-31
Posts: 6

Re: [SOLVED] Natural Selection 2 not launching

Got a different kind of problem… I already have all dependencies installed, including everything multilib related & lib32-gconf + its dependencies.
But the game segfaults.

[   94.172283] ns2_linux32[2807]: segfault at 3c ip 00000000f39f4fa6 sp 00000000ff9d0990 error 4 in libpthread-2.18.so[f39ec000+18000]

EDIT: Screw that, got it working. Ran the ns2_linux binary through gdb, installed every missing dependency on the host side (just to be sure, I don’t trust that Ubuntu-based Steam-Runtime).
Found out that it required OpenGL 3.1 which Mesa 9.2 doesn’t support yet, installed lib32-nvidia-utils for my Optimus setup (Kernel 3.9.9)… everything works now!! Stupid me.

Last edited by beidl (2013-08-31 14:48:42)

#7 2013-08-31 15:22:15

xpander
Member
Registered: 2013-01-23
Posts: 56

Re: [SOLVED] Natural Selection 2 not launching

you dont need to compile gconf anymore.
its included in steam runtime now.. just have to opt into beta client iirc

#8 2013-08-31 17:03:37

LyCC
Member
Registered: 2012-09-05
Posts: 152

Re: [SOLVED] Natural Selection 2 not launching

xpander wrote:

you dont need to compile gconf anymore.
its included in steam runtime now.. just have to opt into beta client iirc

excelent, thanks for the info, the question is now, is there an easy way to remove all these packages? (i will start a new thread on this, later on)

#9 2013-09-01 12:31:27

torarg
Member
Registered: 2013-06-29
Posts: 1

Re: [SOLVED] Natural Selection 2 not launching

Hm my steam client is configured to participate in beta updates but I still get that missing libgconf error.. Any ideas?
I thought of installing it myself, but phew there really are a few dependencies.

#10 2013-09-02 01:32:04

aport
Member
From: San Diego
Registered: 2008-02-20
Posts: 99

Re: [SOLVED] Natural Selection 2 not launching

torarg wrote:

Hm my steam client is configured to participate in beta updates but I still get that missing libgconf error.. Any ideas?
I thought of installing it myself, but phew there really are a few dependencies.

Same here. I get Steam updates every few days it seems, and have STEAM_RUNTIME=1, but the game still threw the libgconf error.

#11 2013-12-16 03:39:31

Rob_H
Member
Registered: 2012-06-19
Posts: 63

Re: [SOLVED] Natural Selection 2 not launching

Resurrecting an old thread. Steam runtime seems to have all the required bits now. I can launch the game through the client and get as far as loading the «Optimize» or «Tutorial» map. But then it crashes with errors in the console:

(Awesomium:11756): Pango-WARNING **: /home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so: failed to map segment from shared object: Cannot allocate memory
(Awesomium:11756): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
/home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so: failed to map segment from shared object: Cannot allocate memory
Failed to load module: /home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
[1215/223442:ERROR:browser_main_loop_impl.cc(126)] Gdk: shmat failed: error 12 (Cannot allocate memory)
mmap() failed: Cannot allocate memory

Apparently, some people have been able to get it working by installing the linux-lts kernel, but I don’t want to install a special kernel just to run a Steam game. Anyone managed to get past this? I’m running the stock 64-bit 3.12 kernel right now with 12 GB of RAM.

#12 2013-12-21 15:01:44

LyCC
Member
Registered: 2012-09-05
Posts: 152

Re: [SOLVED] Natural Selection 2 not launching

Hi Rob,
I have no trouble launching the game, and i have only 4gig of mem., the game doesn’t start at all or it starts and exits with out of memory when loading a level (if so, then try to lower the resolution and/or the graphics detail — running it with everything on high, i too get out of mem., so i set it to medium and it runs fine — also try to close any other program than you are running, beside steam and ns).

#13 2013-12-21 16:05:26

Rob_H
Member
Registered: 2012-06-19
Posts: 63

Re: [SOLVED] Natural Selection 2 not launching

Thanks for the suggestion. Unfortunately, turning down graphics quality didn’t fix it for me. I’ve got 12 GB of RAM, although it seems NS2 is 32-bit so it’s not getting all of it.

  • Печать

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

Тема: Не запускается SRWare Iron на kUbuntu 13.04  (Прочитано 2561 раз)

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

Оффлайн
matt

Установил с офф сайта (New Iron-Version: 29.0.1600.1 Stable for Linux)при запуске не чего не происходит гугление показала пара подобных тем но не одна не помогает.
Вопрос 1. может кто решал проблему ?
Вопрос 2. Где можно посмотреть логи ошибок, может хоть это поможет.’

PS в Linux’е еще зеленый, не кидайте кирпичами, а помогите по человечески


Оффлайн
JmAbuDabi

запусти из консоли, там будет проблема описана получше, чем ты это сделал)
и запости сюда, под спойлер

И что за Ось? версия.

Покой – это не место, где тихо и мирно, где нет шума и беспокойства.
Покой – это когда при всем этом, вы сохраняете мир и спокойствие в своем сердце.


Оффлайн
matt

В заголовке вроде бы описал, Kubuntu 13.04 x64

вот сразу подумал в консоле запустить но вот по обычному не получается (командой iron) пишет команда не найден… если подскажите путь запуска, буду весьма благодарен


Пользователь решил продолжить мысль 22 Сентября 2013, 15:04:10:


Вам уважаемый, большое спасибо, сработали как «пинок» под зад…
Для тех у кого будет подобная беда

ошибка была «error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory»

Решается установкой пакета:
sudo apt-get install libgconf2-4

« Последнее редактирование: 22 Сентября 2013, 15:04:10 от matt »


Оффлайн
surprisean

Таже проблема.
При запуске из консоли
/usr/share/iron/iron
выдает такую ошибку
/usr/share/iron/iron: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
пыталсяустановить libudev.so.1

какие еще будут советы?


Оффлайн
JmAbuDabi

surprisean,

sudo apt-get install libudev0 -f
Вообщем ТАБ поможет написать правильно.

Покой – это не место, где тихо и мирно, где нет шума и беспокойства.
Покой – это когда при всем этом, вы сохраняете мир и спокойствие в своем сердце.


Оффлайн
А_л_е_к_с_е_й

Думаю вот это поможет

sudo apt-get install libudev1))))


Оффлайн
surprisean

не помогло.
Какие еще будут предложения?

« Последнее редактирование: 03 Октября 2013, 14:43:14 от surprisean »


ElectroPeople

Кстати, маялся с подобной проблемой ещё с начала релиза Kubuntu 13.04 — перепробовал всё что мог — не работало. В итоге забил и окончательно опять на Хромиум соскочл.
Тем более что в Айроне баг на баге и синхрон с Гуглом не очень ещё давно так и не работал (долгое время уже) сидел из за этого и других багов на каком то Айрон старье.
Но самый прикол в том, что если допустим нактить Айрон ещё в Kubuntu 12.10 и обновить до 13.04 — всё работает.
А  с чисой установкой 13.04 и Айрон — как только не изворачивался — и ни как.


Оффлайн
surprisean

Понятно, проблема затягивается. Тода вопрос, от новичка. Как удалить iron? В центре приложений его нет.


Пользователь решил продолжить мысль 03 Октября 2013, 15:13:23:


Нашел решение проблемы

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/libudev.so.1

« Последнее редактирование: 03 Октября 2013, 15:13:23 от surprisean »


Оффлайн
JmAbuDabi

Как удалить? Как ставили))

Решение костыль(ИМХО)
надо было не -f думал поможет, а

sudo apt-get install --reinstall libudev0

Покой – это не место, где тихо и мирно, где нет шума и беспокойства.
Покой – это когда при всем этом, вы сохраняете мир и спокойствие в своем сердце.


Оффлайн
BoyFriend

И я словил:

/usr/share/iron/iron: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
Вылечилось через:

ln -s /lib/x86_64-linux-gnu/libudev.so.0.13.0 /lib/x86_64-linux-gnu/libudev.so.1


  • Печать

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

Понравилась статья? Поделить с друзьями:
  • Error while loading shared libraries libdl so 2
  • Error while loading shared libraries libcurl gnutls so 4
  • Error while loading shared libraries libcups so 2
  • Error while transferring data in reading kess v2
  • Error while submitting sas code