Problems with upgrade from 1.0.1 to 1.0.6




I have RedHat 5.2 which came with the rpm file gtk+-1.0.1-2.i386.rpm.
I recently downloaded and installed gtk+-1.0.6.tar.gz.

1.0.1 was in /usr, 1.0.6 is in /usr/local

'which gtk-config' returns
/usr/local/bin/gtk-config

and everything "looks" ok to me, but when I compile the "cool button"
example from the tutorial, I get:
./a.out: error in loading shared libraries
: undefined symbol: __register_frame_info

I grep'ed through the sources, and can't seem to find
'register_frame_info'.  Does anyone know what library I'm failing to link
to properly?  

The compile command was:
g++ -Wall -g test.cc -o a.out `gtk-config --cflags` `gtk-config --libs`

Thanks,

Sean C. Rhea
http://www.ece.utexas.edu/~srhea

                  --- Please respond to srhea@ieee.org ---




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