On 04/04/09 00:14, Mun Johl wrote: > > Hi, > > I complied vim v7.2.148 on Red Hat Enterprise Linux v5.3, but when I try > to run with the gui (GTK2), I get the following error: > > ./vim: symbol lookup error: /usr/local/lib/libgtk-x11-2.0.so.0: undefined > symbol: g_signal_new_class_handler > > > I updated my libs to glib-2.20.0 and gtk+-2.16.0, yet the problem > persists. I'm not really sure what I should try next. > > Any assistance would be greatly appreciated. > > Thanks, >
What's your gcc version? (as shown either by "gcc --version", or by the appropriate line in the output of "rpm -qa |grep gcc") I'm on openSUSE 11.1 with gcc 4.3.2 and my gvim 7.2.148 (with GTK2/Gnome2) compiles and runs flawlessly. But I don't have anything in /usr/local/lib whose filename includes "gtk". OTOH I have lots of GTK libraries in /usr/lib (without /local/). The following look most interesting: lrwxrwxrwx 1 root root 26 2009-03-10 18:32 libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1400.4* lrwxrwxrwx 1 root root 26 2009-03-10 18:07 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1400.4* -rwxr-xr-x 1 root root 4137476 2009-02-25 18:34 libgtk-x11-2.0.so.0.1400.4* Oh, and BTW: you do have the gtk2-devel package installed, and with the same version as your gtk2 package, don't you? (I have them both at 2.14.4-8.6.2, part of which could be a SuSE sub-versioning system.) Without them I don't expect that configure would enable the GTK2 GUI anyway. Try: rpm -qa|grep gtk2-[d2] and see if you get them both, with identical version numbers. (That's assuming that the package names don't differ too much between RedHat and SuSE. If they do, you may have to hunt.) Best regards, Tony. -- The New Testament offers the basis for modern computer coding theory, in the form of an affirmation of the binary number system. But let your communication be Yea, yea; nay, nay: for whatsoever is more than these cometh of evil. -- Matthew 5:37 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---