[Qgis-developer] Re: Qgis Trunk r15027 - /qgis/core.so: undefined symbol: _ZN19QgsComposerScaleBar16applyDefaultSizeEv

Noli Sicad nsicad at gmail.com
Sat Jan 15 02:48:43 EST 2011


Still this undefined symbol: _ZN19QgsComposerScaleBar16applyDefaultSizeEv is in

Quantum GIS - 1.7.0-Trunk 'Trunk' (15050M)

Anybody can fix this undefined symbol?

~~~~~
Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in
ImportError: /usr/lib/python2.6/dist-packages/qgis/core.so: undefined
symbol: _ZN19QgsComposerScaleBar16applyDefaultSizeEv

~~~~~

Thanks.

Noli

On 1/14/11, Noli Sicad <nsicad at gmail.com> wrote:
> I am using Lucid Nightly build.
>
> http://www.qgis.org/wiki/Download#Ubuntu
>
> I am not compiling. I am using the Synaptic Package Manager.
>
> However, in console / terminal is saying the right version.
>
> ~~~~~~~~
> noli at noli-laptop:~$ qgis --help
> Quantum GIS - 1.7.0-Trunk 'Trunk' (15038M)
> Quantum GIS (QGIS) is a viewer for spatial data sets, including
> raster and vector data.
> Usage: qgis [options] [FILES]
>   options:
> 	[--snapshot filename]	emit snapshot of loaded datasets to given file
> 	[--width width]	width of snapshot to emit
> 	[--height height]	height of snapshot to emit
> 	[--lang language]	use language for interface text
> 	[--project projectfile]	load the given QGIS project
> 	[--extent xmin,ymin,xmax,ymax]	set initial map extent
> 	[--nologo]	hide splash screen
> 	[--noplugins]	don't restore plugins on startup
> 	[--optionspath path]	use the given QSettings path
> 	[--configpath path]	use the given path for all user configuration
> 	[--help]		this text
>
>   FILES:
>     Files specified on the command line can include rasters,
>     vectors, and QGIS project files (.qgs):
>      1. Rasters - Supported formats include GeoTiff, DEM
>         and others supported by GDAL
>      2. Vectors - Supported formats include ESRI Shapefiles
>         and others supported by OGR and PostgreSQL layers using
>         the PostGIS extension
> ~~~~~~
>
> Who is responsible for this nightly build? Is it done automatically?
>
> Thanks.
>
> Noli
>
> On 1/14/11, Marco Hugentobler <marco.hugentobler at sourcepole.ch> wrote:
>>> The funny thing, it is reporting a very old QGIS 14993M and GDAL 1.6.3
>>
>> Could it be that you are linking to an old version of libqgis_core.so?
>> Because
>> QgsComposerScaleBar::applyDefaultSize was added after 14993, so a
>> conflict
>> between two library versions could be the reason.
>>
>> Regards,
>> Marco
>>
>> Am Freitag, 14. Januar 2011, um 07.21:49 schrieb Noli Sicad:
>>> Updated to 1.7. SVN r15038. Ubuntu 10.04 a few minutes ago.
>>>
>>> I still got the same problem.
>>>
>>> The funny thing, it is reporting a very old QGIS 14993M and GDAL 1.6.3
>>>
>>> ~~~~~~~~~~~~~~
>>> Couldn't load PyQGIS.
>>> Python support will be disabled.
>>>
>>>
>>> Traceback (most recent call last):
>>>   File "", line 1, in
>>> ImportError: /usr/lib/python2.6/dist-packages/qgis/core.so: undefined
>>> symbol: _ZN19QgsComposerScaleBar16applyDefaultSizeEv
>>>
>>>
>>> Python version:
>>> 2.6.5 (r265:79063, Apr 16 2010, 13:28:26)
>>> [GCC 4.4.3]
>>>
>>> QGIS version:
>>> 1.7.0-Trunk 'Trunk', 14993M
>>>
>>> ~~~~~~~~~~~~~
>>>
>>> I hope it will be fixed in the next version.
>>>
>>> Noli
>>>
>>> On 1/14/11, Noli Sicad <nsicad at gmail.com> wrote:
>>> > Hi,
>>> >
>>> > I got this error,
>>> >
>>> >  /qgis/core.so: undefined symbol:
>>> > _ZN19QgsComposerScaleBar16applyDefaultSizeEv
>>> >
>>> > in Qgis Trunk r15027 Ubuntu 10.04.
>>> >
>>> > ~~~~~~~~
>>> > Couldn't load PyQGIS.
>>> > Python support will be disabled.
>>> >
>>> > Traceback (most recent call last):
>>> >   File "", line 1, in
>>> >
>>> > ImportError: /usr/lib/python2.6/dist-packages/qgis/core.so: undefined
>>> > symbol: _ZN19QgsComposerScaleBar16applyDefaultSizeEv
>>> >
>>> >
>>> > Python version:
>>> > 2.6.5 (r265:79063, Apr 16 2010, 13:28:26)
>>> >
>>> > ~~~~~~~~~~`
>>> >
>>> > Noli
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> --
>> Dr. Marco Hugentobler
>> Sourcepole -  Linux & Open Source Solutions
>> Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
>> marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
>> Technical Advisor QGIS Project Steering Committee
>>
>


More information about the Qgis-developer mailing list