[Qgis-developer] Configuring location for Shared library files (libqgis_gui.so)

Zirneklitis eko at lanet.lv
Sun May 20 19:21:06 PDT 2012


Hi,

You have to set $LD_LIBRARY_PATH to  ~/bin/qgis/lib/.

For a USER ONLY add it to your ~/.bashrc
-------------
LD_LIBRARY_PATH ="~/bin/qgis/lib/"
export LD_LIBRARY_PATH
--------------

Karlis

aruntheguy at gmail.com wrote:
> .. My install directory
> is  ~/bin/qgis/ Hence whenever I make install, the new .so files are
> put in the {INSTALL_DIR}/lib/. But when {INSTALL_DIR}/bin/qgis is run
> it doesn't take the .so files from {INSTALL_DIR}/lib/. Instead it
> always uses the /usr/lib/ files.
>
> I manually copy the .so files everytime into the /usr/lib into order
> to test and debug. I would like to know how can I configure or do
> something to make qgis use .so files from {INSTALL_DIR}/lib instead of
> /usr/lib
>..


More information about the Qgis-developer mailing list