On Thu, Aug 13, 2009 at 11:13 AM, John McCabe-Dansted<gma...@gmail.com> wrote:
> On Thu, Aug 13, 2009 at 4:17 AM, zweetsmoel<zweetsm...@gmail.com> wrote:
>> only another error message...
>> src/lyx: symbol lookup error: src/lyx: undefined symbol:
>> _ZN8QPainter10drawPixmapERK7QPointFRK7QPixmap
>>
>> ok, this is definitely a qt error. even qtconfig won't launch, it
>> gotta be qt related. but what exactly? i tried removing &
>> re-installing all qt packages and many others; and i wasn't able to
>> find duplicate qt libs, but i'm not really an expert in libs and devs.
>
> OK, since we are both using Ubuntu 9.04 our ldd's should be pretty
> much the same*. I have put my  my results from ldd below, what are
> yours?
>
> * I have installed qt4.5.2, which may change some of the 0x stuff. If
> you get other wise similar results, a
>  sudo apt-get install libqt4
> May help.
>
> --
>
> $ ldd `which lyx`
>        linux-vdso.so.1 =>  (0x00007fff88ffe000)
>        libaspell.so.15 => /usr/lib/libaspell.so.15 (0x00007ff580af5000)
>        libdl.so.2 => /lib/libdl.so.2 (0x00007ff5808f1000)
>        libz.so.1 => /lib/libz.so.1 (0x00007ff5806d9000)
>        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007ff57fb26000)
>        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007ff57f6ef000)
>        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff57f3e2000)
>        libm.so.6 => /lib/libm.so.6 (0x00007ff57f15d000)
>        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ff57ef45000)
>        libc.so.6 => /lib/libc.so.6 (0x00007ff57ebd3000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff57e9b7000)
>        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007ff57e6b0000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007ff580db3000)
>        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00007ff57e497000)
>        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007ff57e270000)
>        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007ff57dfea000)
>        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 
> (0x00007ff57dda4000)
>        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007ff57db9b000)
>        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007ff57d980000)
>        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007ff57d6bb000)
>        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007ff57d4b1000)
>        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007ff57d27f000)
>        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007ff57d06d000)
>        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 
> (0x00007ff57ce68000)
>        librt.so.1 => /lib/librt.so.1 (0x00007ff57cc60000)
>        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007ff57ca44000)
>        libXt.so.6 => /usr/lib/libXt.so.6 (0x00007ff57c7de000)
>        libpcre.so.3 => /lib/libpcre.so.3 (0x00007ff57c5ae000)
>        libuuid.so.1 => /lib/libuuid.so.1 (0x00007ff57c3a9000)
>        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007ff57c17f000)
>        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007ff57bf7c000)
>        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007ff57bd77000)
>
> --
> John C. McCabe-Dansted
>

issue has been resolved! by running: ldd `which lyx` in a shell, i was
able to see that libQtCore.so.4 was loaded from /usr/local/lib instead
of /usr/lib, which suggests duplicate and wrong usage of libs.
deleting two qt-lib files residing at /usr/local/lib actually resolved
the issue. i must have missed those files when i searched for
duplicate libs yesterday. and as andre suggested it was indeed a
system install issue. most important of all, lyx is working again, i
just checked it. same goes for qt-config and smplayer :)

you guys are great. thanks a lot.

regards,
michael

Reply via email to