Hi again,

I did export LD_LIBRARY_PATH=/home/denis/opt/builds2/lib/ before running QGIS and it worked.

Thanks a lot!!!

One more thing, is there anyway to fix this permanently?
Is there anything I can change in make?



On 06/27/2012 09:07 AM, Marco Hugentobler wrote:
Hi Denis

Could it be your qgis executable does not use the libqgis_core.so you compiled? If so, you may set the LD_LIBRARY_PATH to point to the location of your qgis libs.

Regards,
Marco

Am 27.06.2012 08:45, schrieb Denis Rouzaud:
Hi all,

I am (almost) a complete newbie in c++. I am trying to get into it, by adding a new edit type for vector layers. I am adding something similar to valuerelation to have multi-attribute edit type (using a join table and an attribute table).

Basically, I reused almost exactly the same code as valuerelation, at first. It won't give anything working, but it allows me to learn.

I can compile, but when I run qgis, I have this python error at launch:

ImportError: /home/denis/opt/builds2/share/qgis/python/qgis/core.so: undefined symbol: _ZN10QgsProject21setTopologicalEditingEb


Then, when I opened the layer properties dialog and I try to change the edit type, QGIS crashes and I have the following output in the terminal: symbol lookup error: /home/denis/opt/builds2/bin/qgis: undefined symbol: _ZN14QgsVectorLayer14multiAttributeEi


I found a similar error on the list http://lists.osgeo.org/pipermail/qgis-developer/2012-May/020401.html, but uninstalling and deleting the share directory did nothing.

Does someone has any idea on what could be going wrong?

Thanks

Denis


_______________________________________________
Qgis-developer mailing list
[email protected]  <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
[email protected]  <mailto:[email protected]>  
http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to