remove AM_PATH_GTK_2_0 from my configure.in solve the problem. KC On Sun, Jun 29, 2008 at 3:00 AM, Kuang-Chun Cheng <kcc1967 at gmail.com> wrote: > Hi, > > I just upgrade to CentOS 5.2. > I try to compile my gtk2 application using GNU autotools and found the > following error: > ... > grep: /usr/lib/libgtk-x11-2.0.la: No such file or directory > /bin/sed: can't read /usr/lib/libgtk-x11-2.0.la: No such file or directory > libtool: link: `/usr/lib/libgtk-x11-2.0.la' is not a valid libtool archive > ... > > I check both gtk2-devel-2.10.4-20.el5 & gtk-2.10.4-20.el5, the > /usr/lib/libgtk-x11-2.0.la is missing. > > Is this a CentOS 5.2 bug of packaging ? > Or how I can ask libtool not to look for libgtk-x11-2.0.la ? Thanks a lot. > > > > Regards > KC >