Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317087 - dev-tcltk/itcl and dev-tcltk/itk missing LDPATH
Summary: dev-tcltk/itcl and dev-tcltk/itk missing LDPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-25 08:40 UTC by Filippo Turato
Modified: 2010-06-07 15:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Turato 2010-04-25 08:40:53 UTC
Emerged plplot with use flags "X cairo examples fortran gd java jpeg latex octave pdf perl png python qt4 svg tcl threads tk truetype wxwidgets -ada -doc -elibc_FreeBSD -gnome -qhull -svga" successfully, but when I try tcl/tk examples they doesn't work.

Executing examples give the error:
"pltcl: error while loading shared libraries: libitcl3.4.so: cannot open shared object file: No such file or directory"
Neither tk output from C/C++ examples works.

I think it's a problem of dev-tcltk/itk and dev-tcltk/itcl ebuils. It seems to me that they install exactly the same package (take a look at the ebuilds), it could be a conflict issue.
However itcl is an optiona, it'snt necessary to have tcl/tk support working, I'll make some tries.    

ldd xtk01
        linux-vdso.so.1 =>  (0x00007fff32fff000)                        
        libplplottcltkd.so.9 => /usr/lib/libplplottcltkd.so.9 (0x00007fbb9946e000)
        libtclmatrixd.so.9 => /usr/lib/libtclmatrixd.so.9 (0x00007fbb99269000)    
        libtcl8.5.so => /usr/lib/libtcl8.5.so (0x00007fbb98f4e000)                
        libitcl3.4.so => not found                                                
        libtk8.5.so => /usr/lib/libtk8.5.so (0x00007fbb98c0a000)                  
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fbb98a01000)                    
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fbb987e5000)                  
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fbb984aa000)                  
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fbb98297000)                
        libitk3.4.so => not found                                                 
        libplplotd.so.9 => /usr/lib/libplplotd.so.9 (0x00007fbb9803d000)          
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007fbb97e33000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fbb97c2f000)
        libm.so.6 => /lib/libm.so.6 (0x00007fbb979ac000)
        libcsirocsa.so.0 => /usr/lib/libcsirocsa.so.0 (0x00007fbb977a4000)
        libqsastime.so.0 => /usr/lib/libqsastime.so.0 (0x00007fbb9759e000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fbb97306000)
        libc.so.6 => /lib/libc.so.6 (0x00007fbb96fad000)
        libitcl3.4.so => not found
        libitk3.4.so => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fbb96d91000)
        libXss.so.1 => /usr/lib64/libXss.so.1 (0x00007fbb96b8d000)
        libXft.so.2 => /usr/lib64/libXft.so.2 (0x00007fbb96978000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fbb96743000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fbb96539000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00007fbb96334000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fbb96116000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbb9969e000)
        libz.so.1 => /lib/libz.so.1 (0x00007fbb95f00000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fbb95cfc000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fbb95af6000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fbb958cc000)
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2010-04-27 05:42:50 UTC
It seems that itcl and itk do not install their shared libraries in the usual path. While this issue is resolved, you can add something like "export LD_LIBRARY_PATH=/usr/lib/itcl3.4:/usr/lib/itk3.4:$LD_LIBRARY_PATH" before running the examples

Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2010-06-03 16:40:51 UTC
@tcltk: ping
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-06-07 09:01:03 UTC
(In reply to comment #2)
> @tcltk: ping
> 

This is a dead herd. We have to fix the stuff ourself.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-06-07 15:07:26 UTC
Fixed.