[gtkmm] (no subject)



> i am using suse 8.x to compile gtkmm progs. the sample prog intutorial did
> compile  but when I tried to run it this is what i get this
> 'error while loading shared libraries: libgtkmm-2.0.so.1: Cannot open shared
> object file: No such file or directory'
> But that file is there sitting in my /usr/local/lib
> What can I do to get it loaded ?

Make sure /usr/local/lib is listed in /etc/ld.so.conf and re-run
/sbin/ldconfig

Hope that helps,
~Ainsley

Well i did it.. i ran /sbin/ldconfig and ran /etc/ldconfig as root. Then
recompiles the simple.cc fron tutorials, it did compile but when i run it as
root i get

Xlib: Connection to ":0.0" refused by server
Xlib: No protocol specified


(simple:1286):Gtk-WARNING: ** Cannot open display:
Then if i compile it as non-rrot and run it i get
/simple



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