LinuxQuestions.org
Review your favorite Linux distribution.
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 08-24-2011, 10:00 AM   #1
Handtuch
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
Question curious: bash: not found (although its there and executable) - maybe 64bit related?


Hey!

i today tried to install Mozilla Thunderbird 6 but it didn't run. I thought ok it might be related to thunderbird. Now i have to face the same problem (same error message) with a game called AtomZombieSmasher. For both programs you are supposed to run bash starter script.

I figured out these scripts fail when trying to start the binaries!
It's not related to rights.
Code:
freddy@freddys:/opt$ sudo /opt/thunderbird/thunderbird
exec: 392: /opt/thunderbird/thunderbird-bin: not found
would there be the message "not found" if it is the wrong architecture or something?
i tried a bit with the game but i find it very curious:
Code:
freddy@freddys:/tmp/atomzombiesmasher/data$ ll
insgesamt 19700
drwxrwxrwx 3 freddy freddy    4096 2011-08-24 16:13 ./
drwxrwxrwx 3 freddy freddy    4096 2011-08-24 15:53 ../
-rwxrwxrwx 1 freddy freddy   10752 2010-04-22 23:04 Accessibility.dll*
-rwxrwxrwx 1 freddy freddy   14848 2011-02-11 20:13 atigktxx.dll*
-rwxrwxrwx 1 freddy freddy     239 2011-01-25 21:04 atomzombiesmasher*
drwxrwxrwx 9 freddy freddy    4096 2011-01-23 07:59 content/
-rwxrwxrwx 1 freddy freddy 1335560 2010-05-21 12:39 libc-2.11.1.so*
-rwxrwxrwx 1 freddy freddy     143 2011-01-25 05:50 libc-2.11.1.so.config*
-rwxrwxrwx 1 freddy freddy   40459 2009-05-29 18:35 libcsfml-audio.so*
-rwxrwxrwx 1 freddy freddy   84265 2009-05-29 18:35 libcsfml-graphics.so*
-rwxrwxrwx 1 freddy freddy   11271 2009-05-29 18:35 libcsfml-system.so*
-rwxrwxrwx 1 freddy freddy   19255 2009-05-29 18:35 libcsfml-window.so*
-rwxrwxrwx 1 freddy freddy  821768 2010-05-09 12:28 libglib-2.0.so.0.2400.1*
-rwxrwxrwx 1 freddy freddy  248080 2010-05-13 22:13 libopenal.so.1*
-rwxrwxrwx 1 freddy freddy  137614 2009-05-29 18:34 libsfml-audio.so.1.5*
-rwxrwxrwx 1 freddy freddy 1219595 2009-05-29 18:34 libsfml-graphics.so.1.5*
-rwxrwxrwx 1 freddy freddy   41132 2009-05-29 18:34 libsfml-system.so.1.5*
-rwxrwxrwx 1 freddy freddy   88309 2009-05-29 18:34 libsfml-window.so.1.5*
-rwxrwxrwx 1 freddy freddy  403988 2010-01-05 02:06 libsndfile.so.1*
-rwxrwxrwx 1 freddy freddy 2629092 2010-09-14 21:44 mono*
-rwxrwxrwx 1 freddy freddy      33 2011-08-24 16:13 mono.aaatest*
-rwxrwxrwx 1 freddy freddy  183808 2010-04-22 18:38 Mono.Posix.dll*
-rwxrwxrwx 1 freddy freddy  291840 2010-04-22 18:38 Mono.Security.dll*
-rwxrwxrwx 1 freddy freddy 2589696 2010-04-22 23:17 mscorlib.dll*
-rwxrwxrwx 1 freddy freddy  790528 2011-07-18 00:56 release.exe*
-rwxrwxrwx 1 freddy freddy   18944 2010-06-07 07:36 sfmlnet-audio.dll*
-rwxrwxrwx 1 freddy freddy   32768 2010-06-07 07:36 sfmlnet-graphics.dll*
-rwxrwxrwx 1 freddy freddy   18944 2010-06-07 07:36 sfmlnet-window.dll*
-rwxrwxrwx 1 freddy freddy  124416 2010-04-22 18:38 System.Configuration.dll*
-rwxrwxrwx 1 freddy freddy 1650688 2010-04-22 18:38 System.dll*
-rwxrwxrwx 1 freddy freddy  448000 2010-04-22 18:38 System.Drawing.dll*
-rwxrwxrwx 1 freddy freddy 3053568 2010-04-22 23:05 System.Windows.Forms.dll*
-rwxrwxrwx 1 freddy freddy 1264128 2010-04-22 18:38 System.Xml.dll*
-rwxrwxrwx 1 freddy freddy 2441216 2010-05-06 19:10 Tao.OpenGl.dll*
-rwxrwxrwx 1 freddy freddy     139 2011-01-26 02:49 Tao.OpenGl.dll.config*
-rwxrwxrwx 1 freddy freddy   10240 2010-12-11 00:10 Tao.OpenGl.ExtensionLoader.dll*
-rwxrwxrwx 1 freddy freddy     139 2011-01-26 02:49 Tao.OpenGl.ExtensionLoader.dll.config*
-rwxrwxrwx 1 freddy freddy   43008 2010-12-11 00:10 Tao.OpenGl.Glu.dll*
-rwxrwxrwx 1 freddy freddy     139 2011-01-26 02:49 Tao.OpenGl.Glu.dll.config*
freddy@freddys:/tmp/atomzombiesmasher/data$ ./mono
bash: ./mono: Datei oder Verzeichnis nicht gefunden
freddy@freddys:/tmp/atomzombiesmasher/data$ ./mono.aaatest 
this is my test
freddy@freddys:/tmp/atomzombiesmasher/data$
is this a bug of bash?
or wrong architecture?

Kind regards,
Handtuch

---
System:
Ubuntu 11.04 (natty) - 64bit
Kernel Linux 2.6.38-11-generic
GNOME 2.32.1

it's an amd64-desktop-version (i hope thats the right for my system! haha omg. read in debian faq their amd64 is the right for x86_64 (Intel i7). thought this must also be right for ubuntu as it is a child of debian! However debian installation process left my behind with kernel panic for both architectures amd64 and i386... so i installed ubuntu again)

Last edited by Handtuch; 08-24-2011 at 10:15 AM. Reason: better headline
 
Old 08-24-2011, 10:21 AM   #2
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
I run Debian so...

Most of my apps are in /usr/bin or /bin or /usr/sbin not /opt

Try changing to your home folder and running the apps with just a call to the app



$ sudo thunderbird



but you should not even need to use sudo


$ thunderbird


should work
 
Old 08-24-2011, 10:24 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
exec: 392: /opt/thunderbird/thunderbird-bin: not found means the script /opt/thunderbird/thunderbird can't find the file /opt/thunderbird/thunderbird-bin. This error occurs at line 392 in the script. It's not a ABI problem or a bash bug. Does the file /opt/thunderbird/thunderbird-bin exist? Also, why do you want to execute thunderbird with sudo?

As far as the other application, I don't know because I don't understand this "Datei oder Verzeichnis nicht gefunden"
 
Old 08-24-2011, 02:24 PM   #4
Handtuch
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi!

i used sudo to proof it doesn't depend on the rights. and there was a how-to telling me to run thunderbird as root for the first startup.

i tried same in /usr/bin/thunderbird-6.0/ made a symbolic link /usr/bin/thunderbird (in order to only type thunderbird in console) but the effect is the same. the bash is executed. but when it comes to the binary it fails
Code:
freddy@freddys:~$ thunderbird 
exec: 392: /usr/bin/thunderbird-6.0/thunderbird-bin: not found
The binary thunderbird-bin is at exactly the place and everyone has the right to execute it (didn't change anything). i just don't understand why it says "not found".

@weibullguy: Sorry! I did not recognize the output was German. "Datei oder Verzeichnis nicht gefunden" means "File or directory not found"

@rbees: i chose /opt because it's optional software and does not belong to the system. but it actually should not matter where it is. checkout: http://serverfault.com/questions/964...-in-var-or-opt

Kind regards,
Handtuch
 
Old 08-24-2011, 07:35 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Well, Googling a little bit I found this thread describing a similar problem with Google Earth. The solution for that problems was installing the lsb-core package. Might try that to see if it helps.
 
Old 08-25-2011, 06:02 AM   #6
Handtuch
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks a lot! Now i have a running Thunderbird!

After installing lsb-core it did run the binary but it resulted in another error while loading the libraries.
Code:
libdbus-glib-1.so.2: wrong ELF class: ELFCLASS64
In the end i found out that the version i download was 32bit and there is a 64bit version. I didn't find any official link to it but now found a deep path:
ftp://releases.mozilla.org/pub/mozil.../linux-x86_64/

Thanks again
 
Old 08-25-2011, 06:32 AM   #7
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
If you are running Ubuntu you should not need to download anything from a link on the web. It should be in your repo's.

Installing packages out of the repos will make sure that it is the correct version.
 
Old 05-03-2012, 10:29 AM   #8
PeterKelly
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Actually Ubuntu Software Centre (and apt-get) does not guarantee that you will get the latest version of the application
 
  


Reply

Tags
architecture, bash, binaries


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
stuck with error related to libpangocairo-1.0.so installing Firefox3 on 64bit SuSE lxnbie Linux - Server 5 03-26-2011 10:03 AM
Just curious: BASH variable $- stormcloud Linux - General 4 05-07-2009 02:37 AM
How do I resolve install DB2v9.5 64bit/RHEL 5 64bit (libstdc++.so.5 is not found)? okonita Linux - Newbie 2 11-13-2008 02:15 AM
executable not found, but is there plain as day Linux von Scratchen Linux - Software 15 07-27-2008 08:52 PM
Curious bash prompt editing question. xconspirisist Linux - Software 3 11-19-2005 07:24 PM

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

All times are GMT -5. The time now is 05:18 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