lock [Solved] Ubuntu 64 bit 10.04 - modelio can't load 'libmodelio.so'

7 years 3 months ago #290 by porchrat
Actually looks more like it has to do with libxerces-c.so.28

Installed the libxerces-c28 package and I get the same error. Does this perhaps have to do with the version of jre I'm running?
The topic has been locked.
7 years 3 months ago - 7 years 3 months ago #291 by ffe
Hi Porchrat,

Do you use the modelio.sh script launcher to run the Modelio? This script is located in the modelio root directory. It initialize some environment variables as LD_LIBRARY_PATH.
The topic has been locked.
7 years 3 months ago - 7 years 3 months ago #292 by porchrat
Haha looks like we're getting somewhere!

I was using that 'modelio' executable but now that I try the 'modelio.sh' script I get the following error echoed to the terminal (silly me I really should have tried that sooner):
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

The system then seems to hang like that showing me an empty frame with the title "Modelio". I have to ctrl+C to break it.

Looks like it doesn't like the 64bit library?

I can see the script mentioning LD_LIBRARY_PATH at 2 points, one initial export then again in an 'if' statement a little further down.
The topic has been locked.
7 years 3 months ago #300 by ffe
I think you need the xulrunner version 1.9.2 for platform i386.

Please read the following post:
www.modelio.org/forum/8-installation/269...untu-64-bit.html#273

Before running modelio, you should set the MOZILLA_FIVE_HOME environment variable with the path to the xulrunner directory.
The topic has been locked.
7 years 3 months ago #301 by porchrat
I read that thread before getting started here. I made sure I had xulrunner and ia32-libs installed before even attempting to run Modelio.

I double checked just in case and I do have the xulrunner-1.9.2 package installed. In fact I think I've always had it installed because I don't remember ever explicitly installing it.

I will try setting that variable to the path to my xulrunner directory and see what happens. I will report back.

Thanks so much for your help so far ffe it is much appreciated.
The topic has been locked.
7 years 3 months ago #302 by porchrat
Do I just create a new export for MOZILLA_FIVE_HOME in the modelio.sh script?

I found what looks to be my xulrunner directory under /usr/lib/xulrunner-1.9.2.24.

Then I added this line to the modelio.sh script:
export MOZILLA_FIVE_HOME="/usr/lib/xulrunner-1.9.2.24"
but it had no effect. I still get the same error echoed to the terminal as before.

Note though that there is no mention of MOZILLA_FIVE_HOME in this script before I added it.
The topic has been locked.
Moderators: oslcde
Time to create page: 0.039 seconds
^ Back to Top