[csw-users] Kicad app broke with upgrade pkg-get -Uu

William Bonnet william at wbonnet.net
Tue Jul 7 00:43:27 CEST 2009


Hi Paul
>> BTW the problem is not directly related to kicad. I did a fresh 
>> install in a VM about an hor ago, and the link problem does not 
>> exist. We will look more deeply to this issue. Thanks for reporting it.
>>
> OK, I didn't fully report what was observed.  Everything I reported in 
> the past was correct. 
Oh no :) it's not what i meant ;)

You reported well what happened on your box. I just did some testing and 
installed kicad on a fresh VM. Having nothing but pkg-get installed. It 
helps to track dependencies and lib problems since every package install 
is a "fresh and minimal install". Of course i don't expect you do this 
on your box. Just some testing on our side ;)

What i noticed, is that kicad is certainly broken on your box after an 
update, but is not broken on fresh install (installing only kicad and 
its depend, nothing else from opencsw).  Thus, the problem is certainly 
a side effect of another lib. Thus it may also happens with other 
software than kicad.

> $ ldd /opt/csw/bin/kicad |grep not
>    libX11.so.6 =>     (file not found)
>    libxcb-xlib.so.0 =>     (file not found)
>    libxcb.so.1 =>     (file not found)
>    libX11.so.6 =>     (file not found)
>    libxcb-xlib.so.0 =>     (file not found)
>    libxcb.so.1 =>     (file not found)
> $ LD_LIBRARY_PATH=$PATH:/opt/csw/X11/lib
> $ export LD_LIBRARY_PATH
> $ ldd /opt/csw/bin/kicad |grep not
>    libxcb-xlib.so.0 =>     (file not found)
>    libxcb-xlib.so.0 =>     (file not found)
>
> So I was able to restore some libraries using LD_LIBRARY_PATH.  But 
> for CSW libs, I shouldn't have to do that, unless in the past these 
> missing libraries were supplied by SXCE.  I am now on SXCE 117, the 
> last time I opened up Kicad was around SXCE 114 or 115.
I have update the libxcb packages, but libxcb-xlib does not exist. Can 
you please download it and give it a try ? (not the packages you 
downloaded around 22:00 it was not the final version, and they have been 
updated).

kicad on my box (amd64) is not linked to libxcb-xlib. Here is the output 
of the ldd command :

[william at cyaegha:~/community/opencsw/work]$ ldd /opt/csw/bin/kicad
        libwx_gtk2u-2.8.so.0.2.0 =>      
/opt/csw/lib/libwx_gtk2u-2.8.so.0.2.0
        libCstd.so.1 =>  /usr/lib/libCstd.so.1
        libCrun.so.1 =>  /usr/lib/libCrun.so.1
        libm.so.1 =>     /lib/libm.so.1
        libthread.so.1 =>        /lib/libthread.so.1
        libc.so.1 =>     /lib/libc.so.1
        libz.so =>       /opt/csw/lib/libz.so
        librt.so.1 =>    /lib/librt.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
        libgtk-x11-2.0.so.0 =>   /opt/csw/lib/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /opt/csw/lib/libgdk-x11-2.0.so.0
        libatk-1.0.so.0 =>       /opt/csw/lib/libatk-1.0.so.0
        libgdk_pixbuf-2.0.so.0 =>        /opt/csw/lib/libgdk_pixbuf-2.0.so.0
        libpango-1.0.so.0 =>     /opt/csw/lib/libpango-1.0.so.0
        libgobject-2.0.so.0 =>   /opt/csw/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /opt/csw/lib/libgmodule-2.0.so.0
        libgthread-2.0.so.0 =>   /opt/csw/lib/libgthread-2.0.so.0
        libpthread.so.1 =>       /lib/libpthread.so.1
        libglib-2.0.so.0 =>      /opt/csw/lib/libglib-2.0.so.0
        libintl.so.3 =>  /opt/csw/lib/libintl.so.3
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libpng12.so.0 =>         /opt/csw/lib/libpng12.so.0
        libjpeg.so.62 =>         /opt/csw/lib/libjpeg.so.62
        libtiff.so.3 =>  /opt/csw/lib/libtiff.so.3
        libexpat.so.0 =>         /opt/csw/lib/libexpat.so.0
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libXrender.so.1 =>       /opt/csw/lib/libXrender.so.1
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libpangocairo-1.0.so.0 =>        /opt/csw/lib/libpangocairo-1.0.so.0
        libcairo.so.2 =>         /opt/csw/lib/libcairo.so.2
        libsunmath.so.1 =>       /opt/csw/lib/libsunmath.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libfontconfig.so.1 =>    /opt/csw/lib/libfontconfig.so.1
        libintl.so.8 =>  /opt/csw/lib/i386/libintl.so.8
        libICE.so.6 =>   /usr/openwin/lib/libICE.so.6
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libpangoft2-1.0.so.0 =>  /opt/csw/lib/libpangoft2-1.0.so.0
        libm.so.2 =>     /lib/libm.so.2
        libfreetype.so.6 =>      /opt/csw/lib/libfreetype.so.6
        libpixman-1.so.0 =>      /opt/csw/lib/i386/libpixman-1.so.0
        libxcb-render-util.so.0 =>       
/opt/csw/X11/lib/libxcb-render-util.so.0
        libxcb-render.so.0 =>    /opt/csw/X11/lib/libxcb-render.so.0
        libxcb.so.1 =>   /opt/csw/X11/lib/libxcb.so.1
        libX11.so.6 =>   /opt/csw/X11/lib/libX11.so.6
        libexpat.so.1 =>         /opt/csw/lib/i386/libexpat.so.1
        libsec.so.1 =>   /lib/libsec.so.1
        libXau.so.6 =>   /opt/csw/X11/lib/libXau.so.6
        libXdmcp.so.6 =>         /opt/csw/X11/lib/libXdmcp.so.6
        libavl.so.1 =>   /lib/libavl.so.1

Can you please send me the full output of the following commands :

ldd /opt/csw/bin/kicad
pkginfo -l CSWkicad

Thanks in advance.

cheers
W.

-- 
William                  http://www.wbonnet.net

http://www.sunwizard.net Le site français des amateurs de stations Unix
http://www.opencsw.org 	 Community SoftWare for Solaris
http://www.guses.org     French speaking Solaris User Group





More information about the users mailing list