LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-28-2006, 07:23 AM   #1
fedora_user
Member
 
Registered: Jan 2006
Posts: 112

Rep: Reputation: 15
error "Nautilus has no installed viewer capable of displaying directory"


Dear ppl

I am trying to install Helix server on my redhat 9.
When double-clicking on the helix-server-retail-11.01-rhel4-setup.bin icon file i get the following error:

Nautilus has no installed viewer capable of displaying "/root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin"

In some of the previous posts it was suggested to install KDE, which i did and when i went to click on the above file i got the same result.

I am sure how to get round this error.
Any input will be much appreciated..
Regards
 
Old 02-28-2006, 02:03 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
That isn't an error. It means that there is no file association for that file type. You want to run this program in a terminal window. Here is how to find out.

First make sure that you have permission to execute the file.

Second open a terminal window.

Third type in the full path to the file and the file name itself.
/root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin

If it runs in the terminal window then you know that it wants a terminal window to run. If it opens a new graphic window then you know that it isn't a curses or ncurses program.

Either way the instructions below to associate a file type to be opened in a terminal window can be modified slightly if your applications doesn't want to run in a terminal window.

Here is how you can create a file association to run this in a window. In this case I am using Nautilus as the file browser in the Gnome environment. Keep in mind that file associations are not kept system wide. They are kept in Gnome or KDE or in individual applications like Midnight Commander. Setting a file association in Gnome will not create the same file association in KDE or any other environment or application.

Open the directory where the executable exists.

Check the permissions to be sure that the file is executable and that you have permission to execute it.

Put the mouse pointer over the name of the file and press the right mouse button. A menu will appear. Bring the mouse pointer down to the 'Open with' menu item. A small box will appear to the right of this line. This small menu will say 'An application'. Click on that.

A new window will appear. There will be several small sections. One of the sections will be labeled 'File Types and Programs'. There will be a button in that section labeled 'Go There'. Click on that button.

A new window will appear with the title 'Edit file type'. Near the bottom of that window is a line with the label 'Program to run'. Put the name of your favorite terminal window executable in there. Some possibilities are gnome-terminal, konsole, or xterm.

Click the 'OK' button at the bottom right of the window.

Now when you double click on that file type when you are using a file browser then Gnome will run the program in a terminal window.

I just tried this with a shell script. I set the file name extension '.sh' to be opened by the konsole program. I did not specify any profile to use when invoking konsole so it opens its default profile. The default profile for konsole in this user account is to open a bash shell and act like a new login. The result is that konsole opens a window and runs the program. Then it opens a second window with a normal bash startup. I could create a konsole profile to not act like a new login. That would probably make double clicking on the '.sh' file simply open a window and run.

When I talked about the application to open in a terminal window I don't mean the icon. I mean the file /root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin.

The point is that you may have some tweaking to do when you want to create a file association to run a type of application that wants to run in a terminal window. The tweaking depends on what terminal window you choose and what it normally does when you simply start that terminal window. If it acts like a new login then you may want to create a second profile for your terminal window software that doesn't act like a new login and give that profile a name. Then have your file association open that profile when you double click on the application.

I noticed that you have your binary under the root account's home directory. That may cause a problem. I don't know. It is unusual.

Last edited by stress_junkie; 02-28-2006 at 02:12 PM.
 
Old 02-28-2006, 02:32 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
You have to set executable bit before executing it or execute it directly using shell.
 
Old 02-28-2006, 04:13 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I covered that, Emerson.

Quote:
Check the permissions to be sure that the file is executable and that you have permission to execute it.
 
Old 02-28-2006, 05:15 PM   #5
fedora_user
Member
 
Registered: Jan 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Hey Stress_junkie, thanks alot for the lenghty reply dude. I am gonna give it a shot when i go into work tomorrow. Much obliged.
 
Old 03-01-2006, 05:00 AM   #6
fedora_user
Member
 
Registered: Jan 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Hi, the following is the result from stress_junkie's post:

I first made sure I had execute permission.

Then I executed the following from a terminal(gnome):
/root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin

The error I got was:

[root@localhost realnetowrks]# /root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin/root/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[root@localhost realnetowrks]#

Then I tried doing the file association by right clicking on file icon and selecting a favorite terminal, iegnome-terminal, but all that would happen after double-clicking on icon is that the terminal flashed up and disappeared. So then i did a file assocation with another application KDE. Right clicking on the bin file and 'opening with' the KDE terminal just caused the terminal to appear. Its weird. Im thinking whether there is something a little more fundimentally wrong....not sure.
As a last try I moved the bin file to an account rather than the root, as you suggested there maybe issues with trying to do the above whilst in root. However running the programs from terminal command line prompt gave the following error:

[root@localhost realnetowrks]# /home/aqibkhan/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin
/home/aqibkhan/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[root@localhost realnetowrks]#


Basically running via file association was the same problem.

I hope this feedback is good enough for you to give me further steps to resolving this. Your help will be much appreciated.
 
Old 03-01-2006, 07:33 AM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Your system either doesn't have the required shared object file libstdc++.so.6 or the helix-server...setup.bin cannot find it. I looked at the Fedora web page and entered a search for this shared object library. Here is the result.

https://www.redhat.com/search/ui.jsp...tdc%2B%2B.so.6

The headlines of the results appear to indicate that this shared object library has something to do with Netscape. That could include Mozilla or Firefox. In any case you may have to find a package that includes this shared object library and install that.

It is possible that you already have this shared object library but it is in a location that the system cannot find it. This recently happened to me with the CUPS printer software. You can look for the file by entering the following command.

find / -name libstdc\*

If you see a match that is the correct version, libstdc++.so.6, then you have to see if it is just a link or if it is a whole file. This is because new versions of shared object files are often just links to older versions of the same file. Example: if you find a copy of this file in /opt/gnome/lib then enter the following command.

ls -l /opt/gnome/lib/libstdc++.so.6

If it is a link then look at the file that it points to. You can copy that file into /usr/lib and give it the name that you want. First make sure that there isn't a file in /usr/lib with the correct name. Then copy the file to /usr/lib while renaming it at the same time.

cp -v /opt/gnome/lib/<old-version> /usr/lib/libstdc++.so.6

Then set the owner and the permission bits to match the other shared object (.so) files in /usr/lib. This is usually root, root, 755.

If you find a copy of it that is the correct version, libstdc++.so.6, then you can just copy that into /usr/lib, then set the file ownership and the permission bits to match the other shared object files in /usr/lib.

Here is what happened when I performed the find command on my SuSE system.

Quote:
root> find / -mount -name libstdc\*
/usr/share/doc/packages/libstdc++-devel
/usr/share/doc/packages/libstdc++-devel/html/17_intro/libstdc++-assign.txt
/usr/share/locale/de/LC_MESSAGES/libstdc++.mo
/usr/share/locale/fr/LC_MESSAGES/libstdc++.mo
/usr/lib/libstdc++-3-libc6.1-2-2.10.0.so
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.1-1.so.2
/usr/lib/libstdc++-libc6.1-2.so.3
/usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++.so.2.7.2
/usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++.so.2.8.0
/usr/lib/libstdc++.so.2.9
/usr/lib/libstdc++.so.2.9.0
/usr/lib/libstdc++.so.5.0.7
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.a
/usr/lib/libstdc++.la
/usr/lib/libstdc++.so
/opt/openoffice.org2.0/program/libstdc++.so.6.1
/opt/openoffice.org2.0/program/libstdc++.so.6
root>
We can see on the last line that the Open Office dot Org v2.0 release version application tree is the only place on my computer that has the correct version of the file that you want. If another application such as the Helix installer wanted to use this shared object file it wouldn't find it because /opt/openoffice.org2.0/program isn't in the path for system modules. If I wanted that file to be available to the entire system then I would copy it into the /usr/lib directory.

Don't be confused by my use of the -mount paramater in the find command. That is just because I have several partitions mounted and I wanted to restrict the search to the partition that holds the root file system.

===

Errata: When I wrote that keeping the executable file in the root directory was unusual I didn't realize that it was a software installation kit. Sorry. Naturally you can put a software installation kit anywhere that you want.

Last edited by stress_junkie; 03-01-2006 at 01:15 PM.
 
Old 03-02-2006, 03:18 AM   #8
fedora_user
Member
 
Registered: Jan 2006
Posts: 112

Original Poster
Rep: Reputation: 15
stress_junkie, thanks once again for the lengthy reply. I noticed on my machine that I dont have Open Office installed, so I am gonna give that a go and see whether that includes the required lib file.
Much appreciated for the help
 
Old 03-02-2006, 09:35 AM   #9
fedora_user
Member
 
Registered: Jan 2006
Posts: 112

Original Poster
Rep: Reputation: 15
hi stress_junkie

asically i installed the openoffice software only to be confronted with the following errorL

[root@localhost /]# /home/aqibkhan/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin
/home/aqibkhan/realnetowrks/helix-server-retail-11.01-rhel4-setup.bin: /lib/libgcc_s.so.1: version `GCC_3.3' not found
(required by /usr/lib/libstdc++.so.6)
[root@localhost /]#

I did a search for libgcc_s.so.1 and pasted it into usr/lib however it didnt work as its looking for some version 'gcc_3.3' something. Its getting kinda frustrating but iam tryana hang in there.
DO you have any thing which may contain this lib, so i can download it from the internet and install it?
thanks in advance.
 
Old 03-02-2006, 04:15 PM   #10
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
This time the installer is looking for the GNU C compiler, gcc. You can see if it is installed on your system and what version is installed by entering the following command.

gcc --version

This is what I get when I enter that command on my SuSE v9.2 system.
Quote:
$ gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The gcc software is located in this area.
Quote:
$ locate gcc
/lib/libgcc_s.so.1
/usr/bin/gcc
/usr/bin/gccbug
/usr/bin/winegcc
/usr/include/linux/compiler-gcc+.h
/usr/include/linux/compiler-gcc.h
/usr/include/linux/compiler-gcc2.h
/usr/include/linux/compiler-gcc3.h
/usr/lib/gcc-lib
/usr/lib/gcc-lib/i586-suse-linux
/usr/lib/gcc-lib/i586-suse-linux/3.3.4
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/cc1
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/cc1plus
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/collect2
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/crtbegin.o
etc.
The above list is only a partial listing.

If you don't have these things then you need to install the gcc software. If you are using Fedora then you will probably install gcc by using the yum utility.
 
  


Reply


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
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
Nautilus has no viewer installed capable of displying /mnt/cdrom/setup.exe Format Linux - Software 1 06-03-2004 09:13 AM
Application "nautilus" (process 5342) has crashed due to a fatal error. zorr0 Linux - General 1 05-10-2004 07:56 PM
Nautilus - "automatic updating" of directory contents Locura Linux - Software 0 12-03-2003 04:29 AM
Error message "Nautilus has no installed viewer capable of displaying" oracle_37 Linux - Software 1 08-02-2003 01:27 AM

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

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