Re: Problems with pango



Ok, Mr. Olexiy,

You are right !. I just compiled Gtk+-2.8 (with Glib-2.8, Pango-1.10, Atk-1.10.1, including Cairo-0.9.2 and Glitz-0.4.4) from source without uninstalling old versions before and then, when tried to compile flin.c, the error was find. Also, I set $PKG_CONFIG_PATH, $LD_LIBRARY_PATH environment variables but not $LD_RUN_PATH.

I'm working on a FC3 (Heildelberg) OS (not updated, I'll do it right after). Could you tell me how can delete the old ones? Using rpm -e ? against with packages ? and.. After or before the compilation of Gtk+-2.8 ?

Thanks for your patience.

David Gasa i Castell


From: Olexiy Avramchenko <olexiy ctech cn ua>
To: David Gasa Castell <dgasacas7 hotmail com>
CC: gtk-list gnome org
Subject: Re: Problems with pango
Date: Fri, 19 Aug 2005 19:25:11 +0300

David Gasa Castell wrote:
Hello to all !,

Yesterday I send this message to the mail list:

I've tried to compile a program but I get the next error message:

[]$ gcc -Wall -g flin.c -o flin `pkg-config --cflags --libs gtk+-2.0`
/usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_renderer_get_type' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_renderer_set_matrix' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `g_assert_warning' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_renderer_draw_glyphs' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_renderer_draw_layout' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_renderer_draw_layout_line' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_size_is_absolute' /usr/local/lib/libpangoft2-1.0.so.0: undefined reference to `g_return_if_fail_warning'
collect2: ld va retornar l'estat de sortida 1

Could anyone help me ?

Now, I wonder if any kind of data is omitted... Do you need further information ?
Missing symbols are from glib-2.6.x and pango-1.8.x. This can happen when you have more than one GTK+ version installed.

Did you compile any package from source ? Looks like you did ("/usr/local" prefix). If so, have you removed old libraries and devel packages before ?

What system do you have ?
What GTK2 version was installed (including devel packages) ?
What about $PKG_CONFIG_PATH, $LD_LIBRARY_PATH, $LD_RUN_PATH ?

	Olexiy





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