[odf-discuss] Problem with Google Code

Peter Vandenabeele peter at vandenabeele.com
Thu Jan 11 09:14:18 EST 2007


On 1/11/07, Daniel Carrera <daniel.carrera at zmsl.com> wrote:
...
> http://dist.opendocumentfellowship.org/ODF-Viewer-Linux-Beta1-p5.tgz
>
> The installation is almost entirely by hand, and it shouldn't require
> anything more than a POSIX shell and python.
>
> To install:
> 1. tar -zxvf ODF-Viewer-Linux-Beta1-p5.tgz
> 2. cd odfviewer-0install
> 3. ./odfviewer
>
> You'll see some GUI dialogs (or if not, some console output). The viewer
> is installed in ~/.local/bin/odfviewer and you'll get a desktop icon.
>
> This package does use something called "Zero Install", but that's not an
> installer in the sense that Autopackage is. What Zero Install really
> provides is:
> 1. Automatic upgrades when new versions are released.
> 2. Checks SHA1 digests and digital signatures automatically.
>
> Let me know if this one works. I am still testing, but at this point I
> expect it to be reliable. Reliability was a major design goal.

Just tested on a Debian Sid system (update/upgrade up to 10 minutes ago):

[hint: "long mail, happy end"]

All works until:

user at debian-SID-001:~/data/ODF/odf-viewer/odfviewer-0install$ ls -l
total 8
drwxr-xr-x 2 user user 4096 2007-01-11 01:11 data-01a1236688
-rwxr-xr-x 1 user user  871 2007-01-11 01:07 odfviewer

user at debian-SID-001:~/data/ODF/odf-viewer/odfviewer-0install$ ./odfviewer
/home/user/.cache/0install.net/implementations/sha1=4768dce2b9f06ca42a8ea47560b4abcb94d5f077/xulrunner-bin:
error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory

[I did see the GUI dialog, clicked OK when asked ...]

user at debian-SID-001:~/data/ODF/odf-viewer/odfviewer-0install$ cd
/home/user/.local/bin/

user at debian-SID-001:~/.local/bin$ ls -l
total 16
-rwxr-xr-x 1 user user 3032 2007-01-10 21:10 0alias
-rwxr-xr-x 1 user user   93 2007-01-10 21:11 0launch
-rwxr-xr-x 1 user user 2187 2007-01-10 21:10 0store
-rwxr-xr-x 1 user user  311 2007-01-11 15:00 odfviewer

user at debian-SID-001:~/.local/bin$ ./odfviewer
/home/user/.cache/0install.net/implementations/sha1=4768dce2b9f06ca42a8ea47560b4abcb94d5f077/xulrunner-bin:
error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory

user at debian-SID-001:~/.local/bin$ dpkg -l libstd*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
un  libstdc++-dev       <none>              (no description available)
un  libstdc++2.10-dev   <none>              (no description available)
un  libstdc++2.8-dev    <none>              (no description available)
un  libstdc++2.9-dev    <none>              (no description available)
un  libstdc++2.9-glibc2 <none>              (no description available)
un  libstdc++3.0-dev    <none>              (no description available)
ii  libstdc++6          4.1.1-21            The GNU Standard C++ Library v3
ii  libstdc++6-4.1-dev  4.1.1-21            The GNU Standard C++
Library v3 (development files)
un  libstdc++6-4.1-doc  <none>              (no description available)

user at debian-SID-001:~/.local/bin$ apt-cache search libstdc++
lib64stdc++6 - The GNU Standard C++ Library v3 (64bit)
lib64stdc++6-4.1-dbg - The GNU Standard C++ Library v3 (debugging files)
libg++2.8.1.3-dbg - The GNU C++ extension library - debugging files
libgmp3-dev - Multiprecision arithmetic library developers tools
libstdc++2.10-dbg - The GNU stdc++ library (debugging files)
libstdc++2.10-dev - The GNU stdc++ library (development files)
libstdc++2.10-glibc2.2 - The GNU stdc++ library
libstdc++5 - The GNU Standard C++ Library v3
libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
libstdc++6 - The GNU Standard C++ Library v3
libstdc++6-4.1-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++6-4.1-dev - The GNU Standard C++ Library v3 (development files)
libstdc++6-4.1-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++6-4.1-pic - The GNU Standard C++ Library v3 (shared library subset kit)
libstdc++6-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++6-dev - The GNU Standard C++ Library v3 (development files)
libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++6-pic - The GNU Standard C++ Library v3 (shared library subset kit)

[different console as root]
debian-SID-001:~# apt-get install libstdc++5
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gcc-3.3-base
The following NEW packages will be installed:
  gcc-3.3-base libstdc++5
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 447kB of archives.
After unpacking 1085kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.belnet.be sid/main gcc-3.3-base 1:3.3.6-15 [151kB]
Get:2 http://ftp.belnet.be sid/main libstdc++5 1:3.3.6-15 [296kB]
Fetched 447kB in 4s (100kB/s)
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 112503 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-15_i386.deb) ...
Selecting previously deselected package libstdc++5.
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-15_i386.deb) ...
Setting up gcc-3.3-base (3.3.6-15) ...
Setting up libstdc++5 (3.3.6-15) ...

[different console]

user at debian-SID-001:~/.local/bin$ ./odfviewer

[the application runs OK :-) ]

user at debian-SID-001:~/.local/bin$ dpkg -l libstdc*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
un  libstdc++-dev       <none>              (no description available)
un  libstdc++2.10-dev   <none>              (no description available)
un  libstdc++2.8-dev    <none>              (no description available)
un  libstdc++2.9-dev    <none>              (no description available)
un  libstdc++2.9-glibc2 <none>              (no description available)
un  libstdc++3.0-dev    <none>              (no description available)
ii  libstdc++5          3.3.6-15            The GNU Standard C++ Library v3
ii  libstdc++6          4.1.1-21            The GNU Standard C++ Library v3
ii  libstdc++6-4.1-dev  4.1.1-21            The GNU Standard C++
Library v3 (development files)
un  libstdc++6-4.1-doc  <none>              (no description available)
user at debian-SID-001:~/.local/bin$

HTH,

Peter



More information about the odf-discuss mailing list