[Qgis-user] QGIS 0.9 cannot find libqgis_core.so

Tim Sutton tim at linfiniti.com
Fri Jul 27 12:37:15 EDT 2007


Hi Folks

This should be fixed now in the recently tagged preview 1 (r7108).
Credit should go to Magnus as I shamelessly used his rpath work from
0.8.1 release :-) It was basically same as my suggestion below except
I needed to apply it to src/app/CMakeLists.txt

Regards

Tim

2007/7/26, Tim Sutton <tim at linfiniti.com>:
> Hi Magnus!
>
> Doesnt adding this to src/gui/CMakeLists.txt fix the issue?
>
>
> SET_TARGET_PROPERTIES(qgis PROPERTIES
>   INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib
>   INSTALL_RPATH_USE_LINK_PATH true
> )
>
> I seem to recall you did some magic like this in 0.8.x ?
>
> Regards
>
> Tim
>
>
> Em 22/07/2007, às 17:56, Magnus Homann escreveu:
>
>
> Maciej Sieczka wrote:
>
>
> I added the /usr/local/qgis09/lib/ to my /etc/ld.so.conf, run sudo
> ldconfig and it works. However, I wonder why this was necessary for
> 0.9, while for 0.8.1, which is installed in parallel in
> /urs/local/qgis08 with the same directory structure, it was not?
>
> There was some discussion half a year ago on how this should be done.
>
> The consensus (then) was that no special path should be compiled into
> the binary, but the use LD_LIBRARY_PATH et. al. is preferred.
>
> Magnus
> --
> Magnus Homann
> magnus at homann.se
> +46 702 399 558
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
>
>
> Tim Sutton
>
> QGIS Project Steering Committee Member - Release  Manager
> Visit http://qgis.org for a great open source GIS
>
> openModeller Desktop Developer
> Visit http://openModeller.sf.net for a great open source ecological niche
> modelling tool
>
> Home Page: http://tim.linfiniti.com
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
>
>
>
>


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-user mailing list