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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-08-2014, 10:27 PM
|
#1
|
LQ Newbie
Registered: Apr 2014
Posts: 3
Rep:
|
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
|
|
|
04-09-2014, 01:01 AM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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.
|
04-09-2014, 07:23 PM
|
#3
|
LQ Newbie
Registered: Apr 2014
Posts: 3
Original Poster
Rep:
|
(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.
|
|
|
04-10-2014, 12:23 AM
|
#4
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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.
|
04-10-2014, 11:46 AM
|
#5
|
LQ Newbie
Registered: Apr 2014
Posts: 3
Original Poster
Rep:
|
>> 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.
|
|
|
04-10-2014, 12:14 PM
|
#6
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|