[ask] how to configure library path
Hi
i'm using slackware 13.0 with glib2-2.18.4-i486-1 and gtk+2-2.14.7-i486-4 i need to install newer gtk+2, i've installed glib-2.25.7, but in my home directory, so how do i configure the gtk+2, so it points to the glib library path in my home directory. i've tried this command Code:
./configure BASE_DEPENDENCIES_LIBS=/home/sadlie/.testapp/usr/lib Code:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.18.4 |
Quote:
You'll most likely find that it's checking the output of pkgconfig. What you need to do in that case is to point PKG_CONFIG_PATH to pick your local version of the .pc file first. Cheers, Tink |
Assume all new glib, atk, etc. in /home/sadlie/.testapp/usr/lib/
export PKG_CONFIG_LIBDIR=/home/sadlie/.testapp/usr/lib/pkgconfig:/usr/lib/pkgconfig/ ... Which will set /home/sadlie/.testapp/usr/lib/ first in the path. And /usr/lib/ as the second search path. ... The export command is temporary, will be reset, when you close the terminal window. ... |
thanks a lot sir, it works perfect :)
|
All times are GMT -5. The time now is 11:39 PM. |