[Uml-user] libcodegenerator.la Not found

Darren Williams dsw at gelato.unsw.edu.au
Wed Oct 22 20:05:27 UTC 2003


Hi 

When starting Umbrello the follow messages is displayed

Could not find a code generator. Is the code generation library out of date?
Please (re-)install libcodegenerator.

dsw at quasar:~$ /usr/local/kde/bin/umbrello-CVS --version
Qt: 3.2.1
KDE: 3.1.92 (CVS >= 20031019)
Umbrello UML Modeller: 1.2-beta
dsw at quasar:~$

dsw at quasar:~$ ldd /usr/local/kde/bin/umbrello-CVS
        libcodegenerator.so.0 => /usr/local/kde/lib/libcodegenerator.so.0 (0x40016000)
        libkdeprint.so.4 => /usr/local/kde/lib/libkdeprint.so.4 (0x400b0000)
        libkparts.so.2 => /usr/local/kde/lib/libkparts.so.2 (0x4017a000)
        libkio.so.4 => /usr/local/kde/lib/libkio.so.4 (0x401c0000)
        libkdeui.so.4 => /usr/local/kde/lib/libkdeui.so.4 (0x40507000)
        libkdesu.so.4 => /usr/local/kde/lib/libkdesu.so.4 (0x407b7000)
        libkdecore.so.4 => /usr/local/kde/lib/libkdecore.so.4 (0x407d1000)
        libDCOP.so.4 => /usr/local/kde/lib/libDCOP.so.4 (0x409da000)
        libdl.so.2 => /lib/libdl.so.2 (0x40a1e000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40a21000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x40a34000)
        libkdefx.so.4 => /usr/local/kde/lib/libkdefx.so.4 (0x40a4a000)
        libqt-mt.so.3 => /usr/share/qt3/lib/libqt-mt.so.3 (0x40a76000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x41133000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41154000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41162000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4116c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x41183000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x411d3000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x411db000)
        libutil.so.1 => /lib/libutil.so.1 (0x412a2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x412a5000)
        libfam.so.0 => /usr/lib/libfam.so.0 (0x412b5000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x412bd000)
        libm.so.6 => /lib/libm.so.6 (0x41374000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41396000)
        libc.so.6 => /lib/libc.so.6 (0x4139e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x414cd000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x414f4000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x41507000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x41558000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x415c1000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x415d8000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x415e0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x415f2000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x4165c000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x41679000)
dsw at quasar:~$


Debug output:

dsw at quasar:~$ ./start-umbrello-CVS
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: KDockWidgetHeader::showUndockButton(false)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: : KDockWidget::setHeader
umbrello: KDockWidgetHeader::showUndockButton(true)
umbrello: Known lib: libcodegenerator
QImage::pixel: x=0 out of range
umbrello: WARNING: UMLWidget::setID(int id) called!
umbrello: WARNING: UMLWidget::setID(int id) called!
umbrello: WARNING: UMLWidget::setID(int id) called!
umbrello: WARNING: UMLWidget::setID(int id) called!
kdecore (KLibLoader): library libcodegenerator.la not found under 'module' but under 'lib'
umbrello: CodeGeneratorFactory created
umbrello: Trying to create object of type CppWriter
umbrello: CodeGeneratorFactory:: cannot create object of type CppWriter. Type unknown
umbrello: could not create object
umbrello: Trying to create object of type CppWriter
umbrello: CodeGeneratorFactory:: cannot create object of type CppWriter. Type unknown
umbrello: could not create object
umbrello: Trying to create object of type CppWriter
umbrello: CodeGeneratorFactory:: cannot create object of type CppWriter. Type unknown
umbrello: could not create object
kdecore (KLibLoader): The KLibLoader contains the library libcodegenerator (0x83eb878)
dsw at quasar:~$


where ./start-umbrello-CVS is:
#!/bin/sh

KDEDIRS=/usr/local/kde
QTDIR=/usr/share/qt3
PATH=/$QTDIR/bin:$KDEDIRS/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export PATH QTDIR KDEDIRS MANPATH  LD_LIBRARY_PATH

exec umbrello-CVS

exit(0)

I have removed old references to /usr/lib/libcodegenerator.la

Thanks
--------------------------------------------------
Darren Williams <dsw at gelato.unsw.edu.au>
Gelato at UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------




More information about the umbrello mailing list