AuthorTopic: Confirmed: Fails to start on Ubuntu Feisty; wx error  (Read 7782 times)

0 Members and 1 Guest are viewing this topic.

Offline seeitcoming

  • Normal Member
  • Posts: 1
  • Helpfulness: 0
Confirmed: Fails to start on Ubuntu Feisty; wx error
« on: April 15, 2007, 12:17:12 PM »
Code: [Select]
./RoRconfig.bin: error while loading shared libraries: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No such file or directory
Yet I *do* have wxwidgets installed:
Code: [Select]
/usr/lib/libwx_baseu-2.6.so.0
/usr/lib/libwx_baseu-2.6.so.0.3.1
/usr/lib/libwx_baseu_net-2.6.so.0
/usr/lib/libwx_baseu_net-2.6.so.0.3.1
/usr/lib/libwx_baseu_xml-2.6.so.0
/usr/lib/libwx_baseu_xml-2.6.so.0.3.1
/usr/lib/libwx_gtk-2.4.so.1
/usr/lib/libwx_gtk-2.4.so.1.0.0
/usr/lib/libwx_gtk2u_adv-2.6.so
/usr/lib/libwx_gtk2u_adv-2.6.so.0
/usr/lib/libwx_gtk2u_adv-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_adv-2.8.so.0
/usr/lib/libwx_gtk2u_adv-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_animate-2.6.so
/usr/lib/libwx_gtk2u_animate-2.6.so.0
/usr/lib/libwx_gtk2u_animate-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_aui-2.8.so.0
/usr/lib/libwx_gtk2u_aui-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_core-2.6.so
/usr/lib/libwx_gtk2u_core-2.6.so.0
/usr/lib/libwx_gtk2u_core-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_core-2.8.so.0
/usr/lib/libwx_gtk2u_core-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_deprecated-2.6.so
/usr/lib/libwx_gtk2u_deprecated-2.6.so.0
/usr/lib/libwx_gtk2u_deprecated-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_fl-2.6.so
/usr/lib/libwx_gtk2u_fl-2.6.so.0
/usr/lib/libwx_gtk2u_fl-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_fl-2.8.so.0
/usr/lib/libwx_gtk2u_fl-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_gizmos-2.6.so
/usr/lib/libwx_gtk2u_gizmos-2.6.so.0
/usr/lib/libwx_gtk2u_gizmos-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so
/usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0
/usr/lib/libwx_gtk2u_gizmos_xrc-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_gl-2.6.so
/usr/lib/libwx_gtk2u_gl-2.6.so.0
/usr/lib/libwx_gtk2u_gl-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_gl-2.8.so.0
/usr/lib/libwx_gtk2u_gl-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_html-2.6.so
/usr/lib/libwx_gtk2u_html-2.6.so.0
/usr/lib/libwx_gtk2u_html-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_html-2.8.so.0
/usr/lib/libwx_gtk2u_html-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_media-2.6.so
/usr/lib/libwx_gtk2u_media-2.6.so.0
/usr/lib/libwx_gtk2u_media-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_media-2.8.so.0
/usr/lib/libwx_gtk2u_media-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_mmedia-2.6.so
/usr/lib/libwx_gtk2u_mmedia-2.6.so.0
/usr/lib/libwx_gtk2u_mmedia-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_mmedia-2.8.so.0
/usr/lib/libwx_gtk2u_mmedia-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_ogl-2.6.so
/usr/lib/libwx_gtk2u_ogl-2.6.so.0
/usr/lib/libwx_gtk2u_ogl-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_ogl-2.8.so.0
/usr/lib/libwx_gtk2u_ogl-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_plot-2.6.so
/usr/lib/libwx_gtk2u_plot-2.6.so.0
/usr/lib/libwx_gtk2u_plot-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_plot-2.8.so.0
/usr/lib/libwx_gtk2u_plot-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_qa-2.6.so
/usr/lib/libwx_gtk2u_qa-2.6.so.0
/usr/lib/libwx_gtk2u_qa-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_qa-2.8.so.0
/usr/lib/libwx_gtk2u_qa-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0
/usr/lib/libwx_gtk2u_richtext-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_stc-2.6.so
/usr/lib/libwx_gtk2u_stc-2.6.so.0
/usr/lib/libwx_gtk2u_stc-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_stc-2.8.so.0
/usr/lib/libwx_gtk2u_stc-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_svg-2.6.so
/usr/lib/libwx_gtk2u_svg-2.6.so.0
/usr/lib/libwx_gtk2u_svg-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_svg-2.8.so.0
/usr/lib/libwx_gtk2u_svg-2.8.so.0.0.0
/usr/lib/libwx_gtk2u_xrc-2.6.so
/usr/lib/libwx_gtk2u_xrc-2.6.so.0
/usr/lib/libwx_gtk2u_xrc-2.6.so.0.3.1
/usr/lib/libwx_gtk2u_xrc-2.8.so.0
/usr/lib/libwx_gtk2u_xrc-2.8.so.0.0.0
/usr/lib/libwx_gtk_gl-2.4.so.1
/usr/lib/libwx_gtk_gl-2.4.so.1.0.0

So, do I need to install a different version of wx? Why are my libs gtk2u rather than gtk2? Help greatly appreciated :)
« Last Edit: April 29, 2007, 12:44:13 PM by Seggons »

Offline Sweetman

  • Normal Member
  • Posts: 1402
  • Helpfulness: 10
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #1 on: April 15, 2007, 05:01:26 PM »
you don't have the right gtk2 installed.

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #2 on: April 16, 2007, 04:38:13 PM »
you don't have the right gtk2 installed.

More specifically you have the unicode version installed, looks like RoR uses the non-unicode version.

Perhaps some one else here knows how to do that but you might want to check with the ubuntu forums about installing the non-unicode version of wxwindows,or wxwidgets, or wxGTK, wx(Whatever name they use)

Offline snooty974

  • Normal Member
  • Posts: 1
  • Helpfulness: 0
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #3 on: April 18, 2007, 08:37:42 AM »
 ???

Oki, but how to install the good ones ??? (I'm also interest by this)

Please, help. I played RoR for the first time this morning on WinXp and would like to test on ubuntu edgy... (I promess to shortly definively migrate)

Hope I'll find help here.

Thanks

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #4 on: April 18, 2007, 04:46:59 PM »
just as a possibly stupid suggestion try executing this inside the the RoR directory.
Code: [Select]
export LD_LIBRARY_PATH=/usr/lib ./RoRconfig

Offline tdev

  • Administrator
  • Posts: 8974
  • Helpfulness: 4
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #5 on: April 18, 2007, 08:42:39 PM »
just as a possibly stupid suggestion try executing this inside the the RoR directory.
Code: [Select]
export LD_LIBRARY_PATH=/usr/lib ./RoRconfig

if you want multiple paths, you could try-out this:

file RoRconfig:
Code: [Select]
#!/bin/bash
export LD_LIBRARY_PATH="./:/usr/lib"
./RoRconfig.bin
just separate with :

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #6 on: April 18, 2007, 11:59:56 PM »
if you want multiple paths, you could try-out this:

file RoRconfig:
Code: [Select]
#!/bin/bash
export LD_LIBRARY_PATH="./:/usr/lib"
./RoRconfig.bin
just separate with :

but can't you just execute the RoRconfig without running that file? I mean
file RoRconfig:
Code: [Select]
#!/bin/bash
export LD_LIBRARY_PATH="./:/usr/lib"
./RoRconfig.bin
is the same as
Code: [Select]
LD_LIBRARY_PATH=./:/usr/lib ./RoRConfigthe difference is that you don't have an environment variable set, which will retain it's value after you exit the game. The second method just sets the env variable for that program.

on the other hadn perhaps you just shouldn't use LD_LIBRARY_PATH at all...

Offline tdev

  • Administrator
  • Posts: 8974
  • Helpfulness: 4
Re: Fails to start on Ubuntu Feisty; wx error
« Reply #7 on: April 19, 2007, 07:40:58 AM »
but can't you just execute the RoRconfig without running that file? I mean
file RoRconfig:
Code: [Select]
#!/bin/bash
export LD_LIBRARY_PATH="./:/usr/lib"
./RoRconfig.bin
is the same as
Code: [Select]
LD_LIBRARY_PATH=./:/usr/lib ./RoRConfigthe difference is that you don't have an environment variable set, which will retain it's value after you exit the game. The second method just sets the env variable for that program.


that is the same, but my variant is setting the variable only for the game too. Just test this for yourself:

Code: [Select]
#!/bin/sh -x
export PS1="#"
and then just execute
Code: [Select]
export PS1="#" in the standalone console by hand.

on the other hadn perhaps you just shouldn't use LD_LIBRARY_PATH at all...



Quote
Why setting LD_LIBRARY_PATH is considered harmful
For the following reasons:
    * LD_LIBRARY_PATH is used in preference to any run time or default system linker path. If (God forbid) you had it set to something like /dcs/spod/baduser/lib, if there was a hacked version of libc in that directory (for example) your account could be compromised. It is for this reason that set-uid programs completely ignore LD_LIBRARY_PATH.


this is exactly the same point as the game uses it. i do not think everyone wants to "install" RoR into /usrl/lib with root privileges :-)

if you want to play RoR and RoRconfig is not worling for you, maybe this helps: http://forum.rigsofrods.com/index.php/topic,236.msg1505.html#msg1505

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #8 on: August 05, 2007, 11:31:36 PM »
extract ubuntu-deps.tar.bz2 to your base RoR directory and see if it works.

Offline zipppy

  • Normal Member
  • Posts: 1882
  • Helpfulness: 7
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #9 on: August 06, 2007, 02:27:45 AM »
Now I can use that on my dad's secondary hard drive on his laptop ;D

Official Rigs of Rods Forums

Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #9 on: August 06, 2007, 02:27:45 AM »

Offline sano

  • Invited Member
  • Posts: 1013
  • Helpfulness: 0
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #10 on: October 30, 2007, 10:22:21 PM »
All kinds of missing deps on 0.33:

ldd RoRConfig.bin:
Code: [Select]
        libwx_gtk2_aui-2.8.so.0 => not found
        libwx_gtk2_xrc-2.8.so.0 => not found
        libwx_gtk2_qa-2.8.so.0 => not found
        libwx_gtk2_html-2.8.so.0 => not found
        libwx_gtk2_adv-2.8.so.0 => not found
        libwx_gtk2_core-2.8.so.0 => not found
        libwx_base_xml-2.8.so.0 => not found
        libwx_base_net-2.8.so.0 => not found
        libwx_base-2.8.so.0 => not found
« Last Edit: October 30, 2007, 10:35:23 PM by sano »

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #11 on: October 31, 2007, 07:07:58 AM »
All kinds of missing deps on 0.33:

ldd RoRConfig.bin:
Code: [Select]
        libwx_gtk2_aui-2.8.so.0 => not found
        libwx_gtk2_xrc-2.8.so.0 => not found
        libwx_gtk2_qa-2.8.so.0 => not found
        libwx_gtk2_html-2.8.so.0 => not found
        libwx_gtk2_adv-2.8.so.0 => not found
        libwx_gtk2_core-2.8.so.0 => not found
        libwx_base_xml-2.8.so.0 => not found
        libwx_base_net-2.8.so.0 => not found
        libwx_base-2.8.so.0 => not found



looks like RoR updated versions, do you have the wxwidgets package installed?

Edit: NM it's the linking to non-unicode libraries when distros only provide unicode, I'll try to have the libs compiled and available soon

Edit: Ok I got the deps, but for some reason I can't upload them to the forum, or the repo... so for now I'm hosting them on my site: http://www.chrisnem.com/RoR/wx-deps.tar.bz2
expand this file to your RoR directory, it will replace your RoR and RoRConfig files and place anew directory called wx and things should  be good to go! have fun.
« Last Edit: October 31, 2007, 08:03:58 AM by Aperion »

Offline wuxarn

  • Normal Member
  • Posts: 2
  • Helpfulness: 0
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #12 on: December 06, 2007, 07:55:03 AM »
Hi, I'm new to Ubuntu and I used to play RoR on Windows...

Here's the thing: I've tested the pack Aperion linked to, but it still doesn't work, so I tried to use getlibs but then I get this. I've got gutsy and I'm running the 32-bit version on an AMD64 if that matters.
Quote
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ getlibs RoRConfig.bin
No match found for package libOgreMain-1.4.3.so
No match found for package libOIS-1.0.0.so
No match found for package libwx_base-2.8.so.0
No match found for package libwx_base_net-2.8.so.0
No match found for package libwx_base_xml-2.8.so.0
No match found for package libwx_gtk2_adv-2.8.so.0
No match found for package libwx_gtk2_aui-2.8.so.0
No match found for package libwx_gtk2_core-2.8.so.0
No match found for package libwx_gtk2_html-2.8.so.0
No match found for package libwx_gtk2_qa-2.8.so.0
No match found for package libwx_gtk2_xrc-2.8.so.0
No libraries to download.
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ getlibs RoR.bin
No match found for package liblua.so.5
No match found for package libOgreMain-1.4.3.so
No match found for package libOIS-1.0.0.so
No libraries to download.


If I try to run RoR i get this:
Quote
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ ./RoR
./RoR.bin: error while loading shared libraries: libCg.so: cannot open shared object file: No such file or directory
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ ./RoR.bin
./RoR.bin: error while loading shared libraries: libOIS-1.0.0.so: cannot open shared object file: No such file or directory
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ ./RoRConfig
./RoRConfig.bin: error while loading shared libraries: libCg.so: cannot open shared object file: No such file or directory
wuxarn@wuxarn-desktop:~/Desktop/RoR-0.33d-linux$ ./RoRConfig.bin
./RoRConfig.bin: error while loading shared libraries: libOgreMain-1.4.3.so: cannot open shared object file: No such file or directory

« Last Edit: December 06, 2007, 07:58:06 AM by wuxarn »

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #13 on: December 06, 2007, 08:21:58 AM »
Hi, I'm new to Ubuntu and I used to play RoR on Windows...

Here's the thing: I've tested the pack Aperion linked to, but it still doesn't work, so I tried to use getlibs but then I get this. I've got gutsy and I'm running the 32-bit version on an AMD64 if that matters.
If I try to run RoR i get this:

don't forget the LD_LIBRARY_PATH variable. the actual executable should probably be LD_LIBRARY_PATH="./" getlibs RoR.bin and LD_LIBRARY_PATH="./:wx/" getlibs RoRConfig.bin the libCg.so is provided by the nvidia-cg-toolkit package

you can't just run the .bin files without the LD_LIBRARY_PATH variable set to include the location of the libOgre etc. files, otherwise the .bin file won't know where to look for them. the LD_LIBRARY_PATH variable is additional location the system should look for libraries.

hope that helps.

Offline wuxarn

  • Normal Member
  • Posts: 2
  • Helpfulness: 0
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #14 on: December 07, 2007, 01:57:51 PM »
Thanks now I can finally play RoR again. =)

Offline Aperion

  • Invited Member
  • Posts: 2288
  • Helpfulness: 1
    • Chrisnem.com
Re: Confirmed: Fails to start on Ubuntu Feisty; wx error
« Reply #15 on: December 07, 2007, 10:02:16 PM »
Thanks now I can finally play RoR again. =)

oh good :)  do you know what was wrong?