LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2014, 10:27 PM   #1
bcmillerway
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Rep: Reputation: Disabled
Installing Express Scribe - libgtk error


I'm running Linux Mint Debian Edition

NCH Software provides a linux version of Express Scribe installable with the following shell script:

#!/bin/sh
echo ""
echo "Please wait while installer is initialising....."

# create a temp directory to extract to.
export WRKDIR=`mktemp -d /tmp/selfextract.XXXXXX`

SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0`

# Take the TGZ portion of this file and pipe it to tar.
tail -n +$SKIP $0 | tar xz -C $WRKDIR

# execute the installation script

PREV=`pwd`
cd $WRKDIR
./install.sh $WRKDIR


# delete the temp files
cd $PREV
rm -rf $WRKDIR

exit 0

__ARCHIVE_FOLLOWS__
(binary)
(end script)

When I try executing the shell script with this cmd:

~/Downloads/temp $ sudo ./scribe

I get the following output:

Please wait while installer is initialising.....
Release Date: Fri Jan 30 00:51:58 IST 2009
Express Scribe 4.31
/tmp/selfextract.tLLGRi/bin/scribe: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Installation cancelled

************************************************
I was able to locate libgtk:

~/Downloads/temp $ locate libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22

but maybe the script is looking for libgtk in the wrong place? Or maybe the problem is elsewhere...

I'm pushing the limits of my linux abilities. Suggestions appreciated!!

Thanks
 
Old 04-09-2014, 01:01 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Just a wild guess but does Express Scribe come in both 32 and 64 bit versions? If not, then maybe it wants you to install the 32 bit version of libgtk-x11-2.0. I notice that I have both 32 and 64 bit versions installed (for something else).

Quote:
~$ locate libgtk-x11-2.0
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.22
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.22
jdk
 
1 members found this post helpful.
Old 04-09-2014, 07:23 PM   #3
bcmillerway
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
(Forgot to mention I'm using the 64bit Mate version of LMDE.)

Thanks jdkaye. I think you were right. I located and installed a 32bit version of libgtk and got past that error message.

However, there appears to be a series of similar shared libraries which the Express Scribe shell script can't open. I'm going through them one by one -wondering if there's a faster way ...

The current error message is:

/tmp/selfextract.bwjHCX/bin/scribe: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Using terminal cmd: ls /usr/lib/*, I can see libGL.so.1 in the /usr/lib/ directory.

Also, using: locate libGL.so.1, I get this output:

/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
/etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0
/usr/lib/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1

Curious that the file shown in /usr/lib/ isn't listed. The listed files appear to be 64bit.

I'd like to know if there's a way to determine where the shell script/installer is looking for these libraries.

Once again, suggestions appreciated. Thanks

Last edited by bcmillerway; 04-09-2014 at 08:36 PM.
 
Old 04-10-2014, 12:23 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
1. You might try using the code tags for the results of your commands. It will make your posts much more readable.
2. Our setups are different. I don't see any libGL in my /usr/lib/*. I only have libGLC... there.
Code:
~$ ls -l /usr/lib/libGL*
lrwxrwxrwx 1 root root     15 Dec 17 18:43 /usr/lib/libGLC.so.0 -> libGLC.so.0.0.7
-rw-r--r-- 1 root root 123632 Dec 17 18:43 /usr/lib/libGLC.so.0.0.7
3. Again regarding the libGL.so.1 file, could it require the 32bit version? I need them both for something.
Code:
~$ locate libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so.1.2.0
/usr/lib/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
jdk
 
1 members found this post helpful.
Old 04-10-2014, 11:46 AM   #5
bcmillerway
LQ Newbie
 
Registered: Apr 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
>> You might try using the code tags

Great idea, thanks.

I had installed the 32bit version of libGL, just couldn't locate it. It was appearing in /usr/lib/ but apparently it wasn't actually there. Finally found it in:
Code:
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
I created a symbolic link to it in /usr/lib/ and got past the error msg and actually got the app up and running.

Appreciate your help!

Last edited by bcmillerway; 04-10-2014 at 01:09 PM.
 
Old 04-10-2014, 12:14 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Glad to have been of service. Have fun!
As a service to others please use the Thread Tools menu located above the first post of this thread to mark this thread as [SOLVED]!
Thanks,
jdk
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in arch linux: symbol lookup error: /usr/lib/libgtk... armb78 Linux - Desktop 1 03-12-2012 09:02 AM
mp3 playback in Express Scribe skips and/or doesn't work chichiri47 Linux - Software 6 11-11-2011 09:26 PM
Express scribe in linux wont play audio files SBN Linux - Software 1 01-18-2007 12:15 AM
Installing Firefox - libgtk iqchicken Linux - Software 6 11-19-2005 12:42 PM
Problem installing Netscape 7.1 - libgtk-1.2.so.O abowling Linux - Software 0 12-12-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration