DebianThis forum is for the discussion of Debian Linux.
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.
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.
* apt-get install alien (oops, why didn't I have that?)
* alien -d XnView-static-fc4.i386.rpm
Then:
Code:
# dpkg -i xnview_1.70-2_i386.deb
Selecting previously deselected package xnview.
(Reading database ... 118735 files and directories currently installed.)
Unpacking xnview (from xnview_1.70-2_i386.deb) ...
dpkg: error processing xnview_1.70-2_i386.deb (--install):
trying to overwrite `/usr/share/man/man1/nview.1.gz', which is also in package nvi
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
xnview_1.70-2_i386.deb
If you use the tar.gz package instead, then you can comment out/edit the line in the Install file, and if necessary rename the manual page, or append it to the Xnview manual. You miss out on the advantages of APT, but it still works. Or...
If you use the tar.gz package instead, then you can comment out/edit the line in the Install file, and if necessary rename the manual page, or append it to the Xnview manual. You miss out on the advantages of APT, but it still works. Or...
Code:
apt-get install gqview
Cheers,
Michael
Well it worked, but there was a library conflict. Then I had to go through the script line by line and make sure I deleted all of the installed files by hand.
I tried moving the offending manpage entry (nview.1.gz is just a link to nvi.1.gz anyway), but the deb package still complains, since in its database the nview file is still there.
I tried out the gqview; it will do in the meantime, but it's nicer to have the app I'm used to and also use in Windows.
I've picked this back up. I got a response from a query at the xnview forum, and simply decided on the following:
Code:
# dpkg -i --force-overwrite xnview_1.70-2_i386.deb
(Reading database ... 124243 files and directories currently installed.)
Unpacking xnview (from xnview_1.70-2_i386.deb) ...
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/share/man/man1/nview.1.gz', which is also in package nvi
dpkg - warning, overriding problem because --force enabled:
trying to overwrite `/usr/bin/nview', which is also in package nvi
Setting up xnview (1.70-2) ...
According to the manpage for nview (shared with vi/ex/view), it is (was) essentially the same as running nvi read-only.
So now the package is installed, but unfortunately, I also have the following problem:
Quote:
$ xnview
xnview: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Here's what I have installed already, and what Sarge has available:
Now, I don't know much about C++ libraries, but I'm pretty sure I'd be asking for trouble if I updated the gcc base package, since it should be the one my kernel was compiled on (these should usually agree for source compilation, as I understand it):
# apt-get install libstdc++6 -s
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
gcc-3.4-base
The following NEW packages will be installed:
gcc-3.4-base libstdc++6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst gcc-3.4-base (3.4.3-13 Debian:3.1r1/stable)
Inst libstdc++6 (3.4.3-13 Debian:3.1r1/stable)
Conf gcc-3.4-base (3.4.3-13 Debian:3.1r1/stable)
Conf libstdc++6 (3.4.3-13 Debian:3.1r1/stable)
Here's the APT package info on xnview:
Quote:
# apt-cache show xnview
Package: xnview
Status: install ok installed
Priority: extra
Section: alien
Installed-Size: 5852
Maintainer: michapma
Architecture: i386
Version: 1.70-2
Depends: libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:3.4.1-3), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), libxp6 | xlibs (>> 4.1.0), libxt6 | xlibs (>> 4.1.0)
Description: XnView an easy graphics viewer / converter.
XnView is a program for viewing and converting your graphics files.
It supports more than 400 file formats (PNG, Jpeg, Targa, Alias, Softimage, Tdi, Gif,
Unix bitmap, windows, Iff, Rgb, Sun raster, Fits, Photo CD, Photoshop and
more).
It offers the possiblity to apply filters (blur, average, emboss...) and
effects (lens, waves, ...).
Picture browser, Slide Show, Thumbnail create and RAW/YUV import.
.
(Converted from a rpm package by alien version 8.52.)
So somehow libstdc++6 isn't a dependency, but the program doesn't run without it. Hmm...
As I see it, there are two solutions:
1) Upgrade to libstdc++6, dragging along a new version of gcc, probably causing trouble later on.
2) Use the older version of xnview (1.6.8.1) that is not linked against libstdc++6.
The second solution seems better, even though I'll lose any new functionality in version 1.70. What do you think?
After you suggested it, I thought it would. I removed the aliened xnview 1.6.8 that I had installed, added the debian unofficial sources, and did apt-get update. Then I installed their version of xnview:
# apt-get install xnview-binary
Unfortunately, I get the same error as before:
Quote:
$ xnview
xnview: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I'll leave the Debian Unofficial there, since I'd never actually tried it and it looks like it has some useful packages.
I did an apt-get libstdc++.so.6 but got another error:
stein@arcadia:~$ xnview
** XnView v1.70 Copyright 1991-2005 Pierre-E Gougelet (Sep 6 2005/15:28:24) **
Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)
Type xnview -help, for more information
xnview: relocation error: xnview: symbol __sprintf_chk, version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.