[Qgis-developer] Build compile error

volkan kepoglu vkepoglu at gmail.com
Tue Jan 22 10:01:06 EST 2008

thanks a lot. it worked, but each time ı am writing export commands.

On 1/22/08, Martin Dobias <wonder.sk at gmail.com> wrote:
> can you check that path /usr/local/share/qgis/python that there's
> directory 'qgis' in which there are file core.so, gui.so and
> __init__.py ?

yes, these files exist in specified path.

if you've installed qgis to /usr/local prefix, you actually don't need
> to set LD_LIBRARY_PATH since /usr/local/lib (where are the files
> libqgis_core.so and libqgis_gui.so) is already in linker's search
> path. Just make sure to call ldconfig after installing to update the
> cache of system libraries.

my install is /usr/local, it is required to set every time to write "export
LD_LIBRARY_PATH=/usr/local/lib" in terminal.
is there way to make this definition permanently?

when you do 'export' it will be working only in current shell. So you
> have to do first export of PYTHONPATH variable and then in the same
> console open python interpreter. Or you can do the same in Python -
> before importing qgis modules you can add that path to python's
> sys.path array.

How can I add "PYTHONPATH=/usr/local/share/qgis/python" to python's

Volkan Kepoglu
PHD Candidate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080122/f2337e7e/attachment.html

More information about the Qgis-developer mailing list