More on: libcairo.so: undefined reference to `FT_GlyphSlot_Embolden'
- From: "Peter" <sw98234 hotmail com>
- To: garnome-list gnome org
- Subject: More on: libcairo.so: undefined reference to `FT_GlyphSlot_Embolden'
- Date: Thu, 28 Sep 2006 12:33:44 +0000 (UTC)
On my test system: Slackware 11, garnome 2.16.0, the following error
continues to occur with desktop/ekiga.
g++ -g -I/opt/gnome/2.16.0/include -O2 -pipe -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -Wl,--export-dynamic -o ekiga accounts.o
addressbook.o callbacks.o callshistory.o chat.o config.o druid.o history.o
main.o misc.o preferences.o tools.o statusicon.o audio.o fakevideoinput.o
videoinput.o videooutput.o accountshandler.o ekiga.o manager.o h323.o
pcss.o sip.o urlhandler.o stun.o bonobo.o avahi.o -pthread -pthread
-Wl,-rpath -Wl,/usr/lib -L/opt/gnome/2.16.0/lib ../lib/.libs/libekiga.a
/usr/lib/libstdc++.so -L/usr/i486-slackware-linux/bin
-L/usr/i486-slackware-linux/lib
-L/usr/lib/gcc/i486-slackware-linux/../../../i486-slackware-linux/lib
-L/usr/lib/gcc/i486-slackware-linux/../.. -lc -lgcc_s -L/usr/X11R6/lib
/opt/gnome/2.16.0/lib/libesd.so /opt/gnome/2.16.0/lib/libaudiofile.so
/opt/gnome/2.16.0/lib/libgnomeui-2.so -lSM -lICE
/opt/gnome/2.16.0/lib/libbonoboui-2.so
/opt/gnome/2.16.0/lib/libgnome-keyring.so
/opt/gnome/2.16.0/lib/libgnomecanvas-2.so
/opt/gnome/2.16.0/lib/libart_lgpl_2.so
/opt/gnome/2.16.0/lib/libpangoft2-1.0.so
/opt/gnome/2.16.0/lib/libgtk-x11-2.0.so
/opt/gnome/2.16.0/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama -lXext
/opt/gnome/2.16.0/lib/libatk-1.0.so
/opt/gnome/2.16.0/lib/libgdk_pixbuf-2.0.so
/opt/gnome/2.16.0/lib/libpangocairo-1.0.so
/opt/gnome/2.16.0/lib/libfontconfig.so -lXcursor -lXfixes
/opt/gnome/2.16.0/lib/libpango-1.0.so /opt/gnome/2.16.0/lib/libcairo.so
/opt/gnome/2.16.0/lib/libXrender.so -lX11
/opt/gnome/2.16.0/lib/libebook-1.2.so /opt/gnome/2.16.0/lib/libgnome-2.so
/usr/lib/libpopt.so /opt/gnome/2.16.0/lib/libedataserver-1.2.so
/opt/gnome/2.16.0/lib/libgnomevfs-2.so
/opt/gnome/2.16.0/lib/libgobject-2.0.so /opt/gnome/2.16.0/lib/libxml2.so
-lz /opt/gnome/2.16.0/lib/libgconf-2.so
/opt/gnome/2.16.0/lib/libbonobo-2.so
/opt/gnome/2.16.0/lib/libbonobo-activation.so
/opt/gnome/2.16.0/lib/libORBit-2.so -lm
/opt/gnome/2.16.0/lib/libgmodule-2.0.so
/opt/gnome/2.16.0/lib/libgthread-2.0.so
/opt/gnome/2.16.0/lib/libavahi-common.so
/opt/gnome/2.16.0/lib/libavahi-client.so
/opt/gnome/2.16.0/lib/libavahi-glib.so
/opt/gnome/2.16.0/lib/libglib-2.0.so -L/usr/lib /usr/lib/libSDL.so -lpt
-lopal -ldl -lpthread -Wl,--rpath -Wl,/opt/gnome/2.16.0/lib -Wl,--rpath
-Wl,/opt/gnome/2.16.0/lib /opt/gnome/2.16.0/lib/libcairo.so: undefined
reference to `FT_GlyphSlot_Embolden'
Now, both freetype and cairo are provided by garnome:
root mars:/opt/gnome/2.16.0/lib# objdump -t libfreetype.so |grep FT_GlyphSlot
00012c10 g F .text 0000016e FT_GlyphSlot_Embolden
00012bb0 g F .text 0000005e FT_GlyphSlot_Oblique
root mars:/opt/gnome/2.16.0/lib# objdump -t libcairo.so |grep FT_GlyphSlot
00000000 F *UND* 0000016e FT_GlyphSlot_Embolden
I tried remaking cairo thinkng perhaps it was compiled before freetype2.
>From the cairo configure:
configure: creating src/cairo-ft.pc
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_Load_Sfnt_Table... yes
Cairo makes and installs fine. Then, I go back to ekiga to recompile, yet
the same error. Looking again at the cairo library:
root mars:/opt/gnome/2.16.0/lib# objdump -t libcairo.so |grep FT_Glyph
00000000 F *UND* 0000016e FT_GlyphSlot_Embolden
root mars:/opt/gnome/2.16.0/lib# ldd libcairo.so
linux-gate.so.1 => (0xffffe000)
libfreetype.so.6 => /opt/gnome/2.16.0/lib/libfreetype.so.6 (0xb7e6d000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7e41000)
libfontconfig.so.1 => /opt/gnome/2.16.0/lib/libfontconfig.so.1 (0xb7e0b000)
libglitz.so.1 => /opt/gnome/2.16.0/lib/libglitz.so.1 (0xb7de3000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7daa000)
libXrender.so.1 => /opt/gnome/2.16.0/lib/libXrender.so.1 (0xb7da2000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7d98000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7d80000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7cb3000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7c90000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7b61000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7b41000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7b3c000)
/lib/ld-linux.so.2 (0x80000000)
At first, I thought this was a Slackware thing, but as you can see, most
libraries are coming from the garnome suite.
Is it possible that the order of library lookups might be incorrect,
because I know Slackware does not define that symbol in cairo or freetype.
Good luck!
--
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via
jabber: pete4abw at jabber.org
ICQ: 73676357
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]