Re: [gtkmm] error loading shared libraries



On Fri, Dec 05, 2003 at 12:19:54PM -0500, Bradley Marts wrote:
> When I try to compile and run the simple example 
> (http://gtkmm.sourceforge.net/gtkmm2/docs/tutorial/html/ch03.html) it 
> compiles but gives the following run-time error:
> error while loading shared libraries: libgtkmm-2.0.so.1: cannot open 
> shared object file: No such file or directory
> 
> I don't have root priveleges on my system so I installed gtkmm in my home 
> directory. When I look at the output of pkg-config gtkmm-2.0 --cflags 
> --libs it has -L and -I options to all the directories with the gtkmm 
> libraries in them.
> 
> Anybody know what the problem might be?
> 
> Brad

try to set PKG_CONFIG_PATH to <path/lib/pkgconfig>
and LD_LIBRARY_PATH to <path/lib>

where 'path' is whatever you specified as 'prefix'.

hope this helps,
Vlad

> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

-- 
______________________________________________________
Vladislav Grinchenko    e-mail (w): vgrinche integ com
Software Engineer            (h): 3rdshift comcast net
Integral Systems, Inc.

   Focus on quality, and productivity will follow.
______________________________________________________



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