scream on ubuntu 12.04 LTS

332 views
Skip to first unread message

Stephen Brewer

unread,
Apr 23, 2013, 3:49:48 PM4/23/13
to earthwo...@googlegroups.com
Has anyone successfully run scream on ubuntu 12.04 LTS ? I have tried both scream-4.5 and scream-4.4
Everything unpacks into a single directory. The v4.4 only has a single libborqt-6.6.0-qt2.3.so There is a scream.sh and scream binary. The scream.sh just sets LD_LIBRARY_PATH, CDs to the install directory and executes the binary. Here is the script, scream.sh

#!/bin/sh
scream_home="/ew/scream"
LD_LIBRARY_PATH="$scream_home/:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
cd $scream_home
exec $scream_home/scream $*

If you execute the shell scream.sh, it tells you that it cannot find the binary, which is in fact there. This makes no sense.

$ ./scream.sh
./scream.sh: 21: exec: /ew/scream/scream: not found

Here is the listing of the v4.4 scream, which has only the single library file. Anyone else have this problem? Is it just a bad binary?

sbrewer1@bombur:/ew/scream$ ll
total 9696
drwxr-xr-x 3 sbrewer1 sbrewer1    4096 Apr 23 14:28 ./
drwxr-xr-x 6 sbrewer1 sbrewer1    4096 Apr 23 14:28 ../
drwxr-xr-x 3 sbrewer1 sbrewer1    4096 Jan 12  2007 html/
-rwxr-xr-x 1 sbrewer1 sbrewer1 7526184 Jan 12  2007 libborqt-6.9.0-qt2.3.so*
-rwxr-xr-x 1 sbrewer1 sbrewer1    3807 Jan 12  2007 readme.txt*
-rwxr-xr-x 1 sbrewer1 sbrewer1 2366860 Jan 12  2007 scream*
-rwxr-xr-x 1 sbrewer1 sbrewer1     443 Apr 23 14:28 scream.sh*
-rwxr-xr-x 1 sbrewer1 sbrewer1    1098 Apr 23 14:19 scream.sh.distr*
-rw-r--r-- 1 sbrewer1 sbrewer1    3262 Jan 12  2007 scrfft.m

Stefan Lisowski

unread,
Apr 23, 2013, 3:59:56 PM4/23/13
to earthwo...@googlegroups.com
I assume you've gotten a recent version of Scream from Guralp?

In their README I was pointed to this tidbit about libraries needed:

"If the linux system is a 64 bit distribution, then you may need to
install the 32 bit libraries. On Ubuntu, this may be "ia32-libs" and
"libjpeg62:i386".

This didn't directly help ME since I was running CentOS but it may help
you. If it doesn't, you could try running 'strace scream' and see what
you get back. It may help you to pinpoint the libraries that you need to
apt-get install. (That's what allowed me to get Scream running on CentOS.)

- Stefan
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to earthwo...@googlegroups.com
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to earthworm_for...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Stephen Brewer

unread,
Apr 23, 2013, 4:14:29 PM4/23/13
to earthwo...@googlegroups.com
What version was this that had the README? In both versions 4.4 and 4.5
that I am looking at now there is only a readme.txt in the most top
level directory, where everything unpacks. That readme.txt file had no
mention of any of this. Let me check the link guralp sent in the email.
Perhaps there is an older version. The files that I tried are:

scream_4.5-1_i386.deb (seems the same as tar file but dbpkg puts it in
/usr/lib/scream-4.5
scream-4.5.tar.gz
scream-4.4.tar.gz

thanks, steve.
--
Stephen Brewer University of Memphis
3890 Central Ave.
Memphis TN, 38152
email: sbre...@memphis.edu thebr...@gmail.com
voice: 901-678-4732 fax: 901-678-4734

Stefan Lisowski

unread,
Apr 23, 2013, 4:18:42 PM4/23/13
to earthwo...@googlegroups.com
I was using 4.5.

Stephen Brewer

unread,
Apr 23, 2013, 4:20:09 PM4/23/13
to earthwo...@googlegroups.com
Sorry for my last post on this. The libraries Stefan mentioned are
described in the email link guralp sends for the download location. They
are not in the readme.txt which unpacks from the guralp distributed files.
steve


On 04/23/2013 02:59 PM, Stefan Lisowski wrote:

Amie Gibson

unread,
Apr 23, 2013, 4:22:06 PM4/23/13
to earthwo...@googlegroups.com
Hi Stefan,
   We've tried several times to get Scream working on 12.04 LTS but eventually decided to go back to Ubuntu 10.04 because we never could figure it out!

   If you come up with a work around please let me know.

Thanks,
Amie


Amie Gibson
Oklahoma Geological Survey
Observatory
Leonard, OK.


To post to this group, send an email to earthworm_forum@googlegroups.com


To unsubscribe from this group, send an email to


For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

---
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send

For more options, visit https://groups.google.com/groups/opt_out.


--
--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.

To post to this group, send an email to earthworm_forum@googlegroups.com


To unsubscribe from this group, send an email to


For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en

--- You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_forum+unsubscribe@googlegroups.com.

Murray McGowan

unread,
Apr 24, 2013, 5:12:25 AM4/24/13
to earthwo...@googlegroups.com

Oh course, I have run Scream on 12.04 LTS, as have many other users.

Can I first say, to anyone having issues with Scream, we have a proactive support service, which you can reach at sup...@guralp.com which will endeavour to sort out issues like this.

 

Whereas a Windows system is very predictable and consistent from machine to machine, a Linux system can be highly customised, and there are many distributions and package systems. This makes supporting an application on Linux intrinsically much more complicated. (I don't want to get into a Windows v Linux discussion, I'm just saying this is a difference).

 

Whilst I believe that the majority of users have had no issues, there are a few issues that have come to light. All of these issues to date have been fixed by installing the appropriate packages and/or sorting out the library references.

 

1) The Scream 4.5 distribution is a 32-bit application. If you have a 64-bit distribution, and you get the "not found" error when trying to run Scream (or any other 32bit app, for that matter), it means that you do not have the 32-bit subsystem installed on your 64-bit distro, and you need to install these. On Ubuntu, this is called "ia32-libs", but that package is missing the also needed "libjpeg62:i386" package.

Note that this requirement is not unique to Scream, it's necessary to run any 32-bit app on a 64-bit distro.

 

2) If you are on a 32-bit distro, and getting the "initPAnsiStrings" error, then you may need to install the "libjpeg62" package, as this package seems to have been dropped from recent distros.

 

3) Scream is developed on Delphi (Windows), and Kylix (Linux). These IDE's are produced by Borland (now Embarcadero), and offer cross-platform support by using a customised QT abstraction layer. Hence, the need for the libborqt library. (LIBrary for BORland QT). Again, this library is not unique to Scream, but will be necessary for any application written using Kylix. As Stephen Brewer found, "teamspeak" is one such application.

Normally, the scream rpm installation puts all files in the necessary places, and the scream.sh script accomplishes the last library path alterations that are necessary, and Scream "just runs". However, given the variants of Linux out there, there can be some cases where something derails. Stefan's is one such case, where he was using CentOS. On this occasion, he contacted sup...@guralp.com, and we worked through it, where he used strace to catch the point where the loading failed, to pinpoint the necessary libraries (This is not a trivial task, but we will help anyone through the process). The libraries were similar, but not the same as Ubuntu.

 

 

So, if you get "not found", you are on a 64-bit distro, and need the 32bit libraries.

If you are on a 32-bit distro, and getting "initPAnsiStrings", try installing "libjpeg62".

If you still get an "initPAnsiStrings" error, then you are probably not running scream.sh to launch the application.

Finally, if none of the above works, contact us, and we'll help sort it out.

 

Murray McGowan

Guralp Systems Ltd.

Stephen Brewer

unread,
Apr 24, 2013, 5:26:21 PM4/24/13
to earthwo...@googlegroups.com
Just wanted to make a final post concerning scream 4.5 on ubuntu 12.04 LTS. In a previous post I indicated that installing the ubuntu package "teamspeak-client:i386" had fixed the problem. It did, but only because installing this package also results in installing libjpeg62:i386. If you are using the "Synaptic Package Manager" gui tool, you will not see "libjpeg62:i386". You can though use the command (apt-get install libjpeg62:i386).

So, on a 64bit system, if you install "ia32-libs" (which you will see in the Synaptic Package Manager), and "libjpeg62:i386" with the command
(apt-get install libjpeg62:i386) The Synaptic tool will only offer "libjpeg62". Then you can unpack the scream tar archive where ever you like, and the scream.sh script will bring up scream without problems. I am also going to repeat Murray McGowan's explanation below.

Note that on a 32-bit system, you may need "libjpeg62", but on a 64-bit system, the library is "libjpeg62:i386" (in addition to i32-libs). The distinction is very important. "libjpeg62" will pull in the native architecture (32-bit on a 32-bit disto, 64-bit on a 64-bit distro), whereas "libjpeg62:i386" will force the 32-bit version on a 64-bit distro.

thanks, steve.

Glenda Besana-Ostman

unread,
May 23, 2014, 3:09:23 PM5/23/14
to earthwo...@googlegroups.com
Hi everyone,
We are also in the process of installing SCREAM on a 64-bit machine with CentOS 6.5. Does any happened to know the counterpart of "ia32-libs" and "libjpeg62:i386" for CentOS? Thanks in advance!
Glenda
Reply all
Reply to author
Forward
0 new messages