[3ddesktop-dev] Re: segmentation fault




Sergey V. Udaltsov wrote:

> Actually, the problems seems to be with dynamic libraries loading. I
> would guess it's my system but other programs are ok. They use X,
> freetype etc without problems. Any ideas?
> 

Yeah that is what it looks like.  Not really sure what to suggest 
though.  What do you get with "ldd 3ddeskd"?  Anything look unusual?
Here is what I have on my system:

        libglut.so.3 => /usr/lib/libglut.so.3 (0x4002f000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40061000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40075000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400bc000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400c5000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400dd000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401bd000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401cb000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x401e1000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4022e000)
        libm.so.6 => /lib/libm.so.6 (0x40236000)
        libImlib2.so.1 => /usr/lib/libImlib2.so.1 (0x40259000)
        libttf.so.2 => /usr/lib/libttf.so.2 (0x402bc000)
        libdl.so.2 => /lib/libdl.so.2 (0x402e6000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x402ea000)
        libc.so.6 => /lib/libc.so.6 (0x4032d000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40462000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


On my system it doesn't link with libfreetype.so (libfreetype 
doesn't show up in my strace either) although I do have that lib
on my system.  I wonder if that is because of your more recent 
XFree86 (I'm using 4.0.3-5).

How about your link line when you compile.  Does it have -lfreetype?

--brad


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

Other related posts: