Hi Tony, Thanks very much for your reply. Please see my comments below.
On Fri, Apr 03, 2009 at 05:23 PM PDT, Tony Mechelynck wrote: TM> On 04/04/09 00:14, Mun Johl wrote: TM> > TM> > Hi, TM> > TM> > I complied vim v7.2.148 on Red Hat Enterprise Linux v5.3, but when I try TM> > to run with the gui (GTK2), I get the following error: TM> > TM> > ./vim: symbol lookup error: /usr/local/lib/libgtk-x11-2.0.so.0: undefined symbol: g_signal_new_class_handler TM> > TM> > TM> > I updated my libs to glib-2.20.0 and gtk+-2.16.0, yet the problem TM> > persists. I'm not really sure what I should try next. TM> > TM> > Any assistance would be greatly appreciated. TM> > TM> > Thanks, TM> > TM> TM> What's your gcc version? (as shown either by "gcc --version", or by the TM> appropriate line in the output of "rpm -qa |grep gcc") gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) TM> I'm on openSUSE 11.1 with gcc 4.3.2 and my gvim 7.2.148 (with TM> GTK2/Gnome2) compiles and runs flawlessly. But I don't have anything in TM> /usr/local/lib whose filename includes "gtk". OTOH I have lots of GTK TM> libraries in /usr/lib (without /local/). The following look most TM> interesting: TM> lrwxrwxrwx 1 root root 26 2009-03-10 18:32 libgtk-x11-2.0.so -> TM> libgtk-x11-2.0.so.0.1400.4* TM> lrwxrwxrwx 1 root root 26 2009-03-10 18:07 libgtk-x11-2.0.so.0 -> TM> libgtk-x11-2.0.so.0.1400.4* TM> -rwxr-xr-x 1 root root 4137476 2009-02-25 18:34 libgtk-x11-2.0.so.0.1400.4* TM> TM> TM> Oh, and BTW: you do have the gtk2-devel package installed, and with the TM> same version as your gtk2 package, don't you? (I have them both at TM> 2.14.4-8.6.2, part of which could be a SuSE sub-versioning system.) TM> Without them I don't expect that configure would enable the GTK2 GUI TM> anyway. Try: TM> TM> rpm -qa|grep gtk2-[d2] That is a good question. My system originally only came with the following gtk2 package: gtk2-2.10.4-20.el5 . Because I did not have the gtk2-devel package, vim's configure script was not enabling the gui. Therefore, I searched for what I could find regarding gtk2 on the RedHat site. It turns out that the v2.10.4 release was the most recent package they had for both gtk2 and gtk2-devel; and that release was dated Dec 2007 . Because that release was old, I downloaded the gtk2 v2.16 sources and compiled everything up and installed them. My assumption was that the sources (along with the list of dependencies) would of included everything that comes with the gtk2 and gtk2-devel packages. But I certainly don't know that for a fact. I'll try and see what comes in the gtk2 and gtk2-devel packages and ensure I have everything I need. I may also try uninstalling the old gtk2 package to ensure there isn't some incompatibility on my system. Thanks again, Tony. -- Mun TM> and see if you get them both, with identical version numbers. (That's TM> assuming that the package names don't differ too much between RedHat and TM> SuSE. If they do, you may have to hunt.) TM> TM> TM> Best regards, TM> Tony. TM> -- TM> The New Testament offers the basis for modern computer coding theory, TM> in the form of an affirmation of the binary number system. TM> TM> But let your communication be Yea, yea; nay, nay: for TM> whatsoever is more than these cometh of evil. TM> -- Matthew 5:37 TM> TM> TM> --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---