thanks a lot. it worked, but each time ý am writing export commands.<br><br>
<div><span class="gmail_quote">On 1/22/08, <b class="gmail_sendername">Martin Dobias</b> <<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>can you check that path /usr/local/share/qgis/python that there's<br>directory 'qgis' in which there are file
core.so, gui.so and<br>__init__.py ?</blockquote>
<div> </div>
<div>yes, these files exist in specified path.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">if you've installed qgis to /usr/local prefix, you actually don't need<br>to set LD_LIBRARY_PATH since /usr/local/lib (where are the files
<br>libqgis_core.so and libqgis_gui.so) is already in linker's search<br>path. Just make sure to call ldconfig after installing to update the<br>cache of system libraries.</blockquote>
<div> </div>
<div>my install is /usr/local, it is required to set every time to write "export LD_LIBRARY_PATH=/usr/local/lib" in terminal.</div>
<div>is there way to make this definition permanently?</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">when you do 'export' it will be working only in current shell. So you<br>have to do first export of PYTHONPATH variable and then in the same
<br>console open python interpreter. Or you can do the same in Python -<br>before importing qgis modules you can add that path to python's<br>sys.path array.</blockquote>
<div> </div>
<div>How can I add "PYTHONPATH=/usr/local/share/qgis/python" to python's sys.path array.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Martin<br></blockquote></div>
<div>Volkan Kepoglu</div>
<div>PHD Candidate<br> </div>