Thanks Stefan and Kimaidou
Setting LD_LIBRARY_PATH seems to work. It is strange. I was assuming
that /usr/local/lib was searched by default anyway. After all this is
the directory for libraries (next to /usr/lib )
Well - always some mysteries we can't understand ...
Thanks for helping me to solve the problem,
Andreas
On Fri, 25 May 2012 07:30:13 +0000, Ziegler Stefan wrote:
Hi Andi
I solved it by exporting LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
It's a bit strange since I think it used to work without this....
Regards
Stefan
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:qgis-developer-
[email protected]] Im Auftrag von Andreas Neumann
Gesendet: Freitag, 25. Mai 2012 09:25
An: qgis-developer
Betreff: [Qgis-developer] Library linking problems when release
changes - eg. 1.9 -->
1.8
Hi,
Whenever there is a change in the major version of QGIS, e.g. 1.7
to
1.9 and most recently the switch back from 1.9 to 1.8 I am running
into problems.
The compile runs fine but when I try to start it I get this
message:
error while loading shared libraries: libqgis_core.so.1.8.0: cannot
open shared object
file: No such file or directory
But the libqgis_core.so.1.8.0 is present in /usr/local/lib
I removed the build directory and ran ccmake .. and cmake .. again,
but
it doesn't solve this problem that it can't find the library that
obviously is present and recent on my machine.
I would very much appreciate if someone could help me out here.
Thanks a lot,
Andreas
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer