Opened 3 years ago

Closed 3 years ago

#751 closed issue (handled)

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

Reported by: guest Owned by: devel
Priority: normal Milestone:
Component: Library (other) Version:
Keywords: libXm.so.4 Cc:

Description (last modified by westram)

Hi,

I just recently installed ARB (arb-6.0.6) onto Linux Ubuntu 16.04 LTS. I followed the sh arb_install.sh instructions. When I run arb, I get an error about No such file or directory in terms of the libXm.so.4 library. Can you please let me know how I can correct this to move forward with using ARB?

Thanks, Vanessa

Below is the error:

arb
Using ARBHOME='/home/vanessavaraljay/arb'
Using properties from /home/vanessavaraljay/.arb_prop
Please wait while the program ARB is starting .....
Waiting for '/home/vanessavaraljay/.arb_tmp/sockets/arb_launcher.11172'..
[arb_launcher[0]: Starting 'arb_ntree'..]
arb_ntree: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory
[arb_launcher[0]: 'arb_ntree' has terminated with error 127]
[arb_launcher[0]: Still have 1 arb processes..]
[arb_launcher[0]: All launched processes terminated]

Session log has been stored in /home/vanessavaraljay/.arb_prop/logs/session.20170501_095418.11185.tgz
    and is also accessible via /home/vanessavaraljay/ARB_last_session.tgz

ARB crashed :-(
To report this goto http://bugs.arb-home.de/wiki/BugReport
Please include the session log mentioned above

[press ENTER]

Attachments (1)

run.log (323 bytes) - added by guest 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by guest

comment:1 Changed 3 years ago by guest

As further clarification, I was able to get ARB to run by installing via sudo apt get (with GUI). I'm not sure if this is the ideal way to run it.

When I try to install via the pre-compiled binaries, that is when I run into issues. I can't seem to get it to install the libmotif3. I tried yum search libmotif3 (and yum search libmotif), but it states Warning: No matches found. I also tried to install openmotif but it errors out with invalid filename extension.

Thanks for the help in advance.

From README.txt file: On Ubuntu 13.04, use:

sudo apt-get install gnuplot gv libmotif3 xfig transfig \

xterm libxpm4 libtiff4 libx11-6 libxaw7 libxext6 libxml2-utils \ libxt6 lynx libreadline6

If any of the packages is not available on your system, it might just have a slightly differing name. Try using "yum search" or "apt-cache search" to search for packages matching the base name (e.g. "yum search libxpm") and pick the one that's available. The only known issue is that you must not use "lesstif" instead of motif/openmotif (if you do, the interface will look broken).

Last edited 3 years ago by guest (previous) (diff)

comment:2 Changed 3 years ago by westram

Hello Vanessa,

I've just installed the precompiled arb-6.0.6.ubuntu1404-amd64.tgz into ubuntu-16.04. Libraries needed by arb can be installed using the script SH/arb_installubuntu4arb.sh. With parameter arb_noOpenGL it will run the following apt command:

apt-get -y install gnuplot gv libmotif-common libxerces-c3.1 transfig xterm

which should install libXm.so.4 and other needed packages.

Ralf

comment:3 Changed 3 years ago by westram

  • Description modified (diff)

comment:4 follow-up: Changed 3 years ago by guest

Excellent, thank you! Can you let me know where I can find the arb_installubuntu4arb.sh? I found the arb_install.sh but not the ubuntu specific one. Thanks!

comment:5 in reply to: ↑ 4 Changed 3 years ago by westram

Replying to guest:

Can you let me know where I can find the arb_installubuntu4arb.sh?

It is inside the arb-installation directory - so it depends on where you have installed it. If you installed arb to /usr/arb you can find the script in directory /usr/arb/SH.

Anyway, you can as well just execute the apt-get...-line i mentioned above - it should do the same.

comment:6 Changed 3 years ago by westram

  • Resolution set to handled
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.