ds9 does not work on intrepid amd64

Bug #292998 reported by rahman
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
saods9 (Ubuntu)
Fix Released
Undecided
Ole Streicher

Bug Description

Binary package hint: saods9

Description: Ubuntu 8.10
Release: 8.10

saods9:
  Installed: 4.0b7-2
  Candidate: 4.0b7-2
  Version table:

This build depends on libtk8.4, however while running 'ds9' from the command line, it fails with:

ds9: error while loading shared libraries: libtk8.5.so.0: cannot open shared object file: No such file or directory

After installing libtk8.5 it still fails with:

version conflict for package "Tcl": have 8.4, need 8.5
couldn't open "/usr/lib/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"

I'm running Intrepid on amd64.

Revision history for this message
Dominique Eckert (dom-eckert) wrote :

This bug also affects me. DS9 seems to expect Tcl 8.5, while only Tcl 8.4 is available in the repositories.

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Also affects me on 32-bit Intrepid.

8.5 is available in the repos for me and I've installed it, but no luck. I also tried creating symbolic links to the "missing" file, but it seemed to just look elsewhere:

version conflict for package "Tcl": have 8.4, need 8.5
couldn't open "/usr/local/lib/tcltk/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"

Revision history for this message
ivanmladek (pavel-jhu) wrote :

Also affects me on 64-bit inrepid.
Linux ivanmladek-laptop 2.6.27-7-generic #1 SMP Thu Oct 30 04:12:22 UTC 2008 x86_64 GNU/Linux

Revision history for this message
ivanmladek (pavel-jhu) wrote :

Found a workaround:
wget http://hea-www.harvard.edu/saord/download/ds9/source/ds9.5.4.tar.gz
tar xvf ds9.5.4.tar.gz

Revision history for this message
ivanmladek (pavel-jhu) wrote :

cd saods9
wget http://darkstar.ist.utl.pt/gentoo/portage/sci-astronomy/ds9/files/ds9-5.4-gcc43.patch
patch -p1 < ds9-5.4-gcc43.patch
ln -s make.linux64 make.include #(depending on your installation, see README)
make

Voila! It should work.

Revision history for this message
tmothe (mothe74-outros) wrote :

I cant make ivanmladek' solution work in my 64-bit intrepid. "make" gives lots of errors like:

~/saods9/tk8.4.18/unix/../generic/tk3d.c:1280: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
or

~/saods9/tk8.4.18/unix/../generic/tk3d.c:1222: error: invalid type argument of ‘->’ (have ‘int’)

Any idea?

Revision history for this message
bkloppenborg (bkloppenborg) wrote :

Again, another workaround but this one doesn't involve compiling anything... simply replace the executable.

Instructions below for 64-bit Linux (32-bit packages here: http://hea-www.harvard.edu/RD/ds9/)

wget http://hea-www.harvard.edu/saord/download/ds9/linux64/ds9.linux64.5.4.tar.gz
tar xvf ds9.linux64.5.4.tar.gz
sudo mv ./ds9 /usr/bin/ds9

Revision history for this message
tmothe (mothe74-outros) wrote :

Thanks!

Revision history for this message
JunCTionS (junctions) wrote :

Just to keep things current.
go to http://hea-www.harvard.edu/RD/ds9/ and download whatever is under the Linux64 link instead of wget the broken link.
It used to be working out of the box for Kubuntu but now it seems to fail with 9.10.
Thanks for this "workaround" I guess it'll get fixed when repositories update this piece of software.

Revision history for this message
Ole Streicher (olebole) wrote :

saods9 6.2+dfsg-2 was uploaded for Quantal which fixes the problem there.

Changed in saods9 (Ubuntu):
assignee: nobody → Ole Streicher (olebole)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.