Re: compiling gtk 2.4 problems



Matthias Clasen wrote:
On Tue, 2004-04-13 at 02:18, Conrad Gittins wrote:

While trying to compile gtk 2.4 I get the following problem:

./.libs/libgtk-x11-2.0.so: undefined reference to
`g_type_instance_get_private'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_completion_complete_utf8'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_param_spec_get_redirect_target'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_object_class_override_property'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_type_class_add_private'
./.libs/libgtk-x11-2.0.so: undefined reference to
`g_object_interface_install_property'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_markup_printf_escaped'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_value_take_string'
./.libs/libgtk-x11-2.0.so: undefined reference to `g_markup_vprintf_escaped'
/usr/local/lib/libpango-1.0.so: undefined reference to
`g_unichar_get_mirror_char'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1

And so forth.

Not knowing c programming, I've no way of telling whether this is due to
a potential bug or not having all of the necessary libraries or correct
versions installed. This is also on the Debian Sarge release and it is possible that something is wrong (more likely my doing). I have installed the packages (both .deb and tar files) that supposedly are required.

Any tips?



For some reason, your gtk got linked against a too old version of glib. gtk 2.4 depends on glib 2.4.

I have suspected something like this. Even though ./configure finds glib2.4 I think that either a link or something that Debian does differently is the cause. I have checked /etc/ld.so.conf and run ldconfig. Is there something in the way that Debian records what is on the system that could be causing the problem.

Regards,

Conrad.



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