You are not logged in.
I use XNView on my W2K system and it answers all my graphic needs, has done for some years now.
I want to have the same functionality on my EEE but each time I install it, sudo apt-get install xnview, when I try to run it I get a segmentation fault.
After days of searching in here and on Google I was led to this site which seems to have some answers to do with making a successful installation. The problem is that I have no idea if these requirements are met, or can be met, on a standard OS Install.
On http://td-e.com/tip/xnview-installation.php he says:
Xnview installation on Ubuntu 7.04 Feisty Fawn
Hints to install the image viewer Xnview on an Ubuntu Linux box.
Get the tarball
First go to http://perso.orange.fr/pierre.g/xnview/ … linux.html and download XnView-x86-unknown-linux2.x-static-fc4.tgz
Unpack it with file roller which is called archive manager in the context menu of thunar or nautilus.
Prerequisites
XnView requires Linux 2.0.x, XFree86-3.2 and Lesstif v0.91 or openMotif v2.1.30
* libXxf86dga1, libXxf86misc1 and libXxf86vm1, listed in synaptic, are already installed here. Not sure if all 3 are necessary for xnview, but I suppose that libXxf86misc1 at least might be necessary.
* Lesstif2 version 1:0.94.4-2 is listed in synaptic (Ubuntu 7.04) and contains OSF/Motif 2.1
Important:
Create the directory /usr/lib/X11/app-defaults/ as root, if it does not yet exist, else the installation will not be successful.
Installation
* open a root terminal
* change the current directory to the folder where the tar ball has been unpacked
* type : sh install
xnview will be installed at /usr/local/bin/
Type in a terminal : xnview
A very small window opens in a corner. If you don't notice it, you may believe that xnview doesn't work.
In the menu select the browser and maximize or resize the program to your taste
Later in the menu tools/options under browser check the box "Launch browser at start"
Create a new object "xnview" in the main menu of gnome under "Applications/Graphics".
So can I follow his instructions or do I have to do something else?
Any help I can get would be much appreciated.
Offline
Just in case anybody asks, I have tried to install it but I keep getting this message...
/> apt-get install xnview Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: xnview 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 0B/2517kB of archives. After unpacking 5658kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! xnview Install these packages without verification [y/N]? y Selecting previously deselected package xnview. (Reading database ... 73555 files and directories currently installed.) Unpacking xnview (from .../xnview_1.70-2_i386.deb) ... Setting up xnview (1.70-2) ...
Then when I try to run it I get this message...
/> xnview xnview: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
Offline
To run xnview, you can install the package libstdc++2.10-glibc2.2, then create a symbolic link of /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so to /usr/lib/libstdc++-libc6.1-1.so.2.
For me, I have been running IrfanView with WINE. That's my favourite image viewer.
Offline
Thanks albkwan, I know Irfan View, have used it a few times before I found XNView and decided to stick with it.
I know you said I can install that library but I don't recall how to do it, I have been around Linux since mid-90s but have not been consistently using it. Techniques for installing libraries and making symbolic links are not my everyday tasks ![]()
I'm going to Search in here and then Google for them to see if I can nut it out but perhaps for anybody following this topic, or picking it up later on, you could also point to the techniques so they can learn from it too?
----------------------------------------------------------
Later:
OK, install is straightforward
/home/user> sudo apt-get install libstdc++2.10-glibc2.2
You said:
then create a symbolic link of /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so to /usr/lib/libstdc++-libc6.1-1.so.2.
and then to make a symbolic link I have found that I need to
ln -s whatever-you-want-the-link-to-be so I entered this sudo ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.1-1.so.2
and it worked and I have XNView. Now toset it up as an icon, but I know there are resources showing how to do that on here, at least this part is done ![]()
Last edited by ilox (2008-01-20 5:04:50 pm)
Offline