Re: Runtime error on Linux (undefined symbol)
- From: Chris Vine <chris cvine freeserve co uk>
- To: Mun Johl <Mun Johl Emulex Com>
- Cc: gtk-list gnome org
- Subject: Re: Runtime error on Linux (undefined symbol)
- Date: Mon, 6 Apr 2009 00:37:34 +0100
On Sun, 5 Apr 2009 15:49:53 -0700
Mun Johl <Mun Johl Emulex Com> wrote:
> Hi,
>
> Thanks to folks on this list I was able to finally get gtk+ compiled
> on my Red Hat Enterprise Linux v5.3 system. However, I then complied
> vim v7.2.148 with the gui (GTK2), and I got the following error when
> I tried to run the vim with the gui:
>
> ./vim: symbol lookup error: /usr/local/lib/libgtk-x11-2.0.so.0:
> undefined symbol: g_signal_new_class_handler
>
>
> I compiled and installed into /usr/local the glib-2.20.0 and
> gtk+-2.16.0 packages (and all of their dependencies), Perhaps there
> is a conflict with what was installed on my computer initially?
>
> BTW, I'm using gcc v4.1.2 .
>
> Any information on 'g_signal_new_class_handler' and how to resolve the
> issue would be very much appreciated.
You have two versions of glib and gtk+ (and probably other libraries
such as pango, cairo and atk) installed on your system and the old
version, presumably in the /usr prefix, is being picked up by the
dynamic loader instead of the one you have placed in the /usr/local
prefix.
The best thing is not to go down this route at all, and to install your
updated libraries by building them as RHEL packages which replace your
existing ones. If however you insist on having two different versions of
the same libraries installed on your system you might want to google
for the LD_LIBRARY_PATH environmental variable.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]