Re: Garnome fails to build ekiga



Maximilian,

Let's peel back the onion another layer...

Run 'nm' on the GARNOME version of libfreetype.so and look for the
errant symbol.  

On my system, the symbol is found in the text section

   00017684 T FT_GlyphSlot_Embolden

>From the source code for freetype-2.1.10, this function is defined in

    freetype-2.1.10/src/base/ftsynth.c

The object file should be in

   freetype-2.1.10/obj/.libs


If the symbol is not defined in libfreetype2, the question is "why
not?".  A missing external dependency, perhaps?

If the symbol is there, I suspect a distro .la file has pulled in some
system lib that is causing mischief.

-Joseph

==========================================================================
On Wed, 2006-09-20 at 16:45 +0200, Maximilian-Clemens Anderer wrote:
> On Wednesday 20 September 2006 14:24, Joseph E. Sacco, Ph.D. wrote:
> > Maximilian,
> >
> > Run 'ldd' on libcairo.so and look for libfreetype.so. You should see a
> > full path to the installed GARNOME version of libfreetype.  If not,
> > something is amiss.
> >
> > -Joseph
> >
> > =========================================================================
> >
> > On Wed, 2006-09-20 at 14:03 +0200, Maximilian-Clemens Anderer wrote:
> > > Garnome 2.16.0 fails to build ekiga with the following error message:
> > >
> > > /home/max/garnome/lib/libcairo.so: undefined reference to
> > > `FT_GlyphSlot_Embolden'
> > > collect2: ld returned 1 exit status
> > > make[5]: *** [ekiga] Error 1
> > > make[4]: *** [all] Error 2
> > > make[3]: *** [all-recursive] Error 1
> > > make[2]: *** [all] Error 2
> > > make[1]: *** [build-work/main.d/ekiga-2.0.3/Makefile] Error 2
> > > make: *** [paranoid-install] Error 2
> 
> Hi Joseph :)
> 
> Here is the output of 'ldd /home/max/garnome/lib/libcairo.so':
> 
>         linux-gate.so.1 =>  (0xffffe000)
>         libfreetype.so.6 => /home/max/garnome/lib/libfreetype.so.6 
> (0xb7e6c000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb7e3f000)
>         libfontconfig.so.1 => /home/max/garnome/lib/libfontconfig.so.1 
> (0xb7e09000)
>         libglitz.so.1 => /home/max/garnome/lib/libglitz.so.1 (0xb7de1000)
>         libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7da8000)
>         libXrender.so.1 => /home/max/garnome/lib/libXrender.so.1 (0xb7da0000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7d96000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7d7e000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7cb1000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7c8e000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7b5f000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7b3f000)
>         libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b3a000)
>         /lib/ld-linux.so.2 (0x80000000)
> 
> Seems ok for me, libfreetype.so.6 is a symlink to libfreetype.so.6.3.8.
> 
> This is really a strange error, it "should" work, but it doesn't! I have 
> recompiled freetype and then cairo using 'make clean' and 'make install' 
> in 'bootstrap/freetype' and 'freedesktop/cairo', without success 
> the "undefined reference" error remains :(
> 
> I am compiling on Slackware-11.0RC5 with a 2.6.17.13 kernel and headers (so I 
> suppose it shouldn't be a /usr/include/linux issue.). Thanks for your help!
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]