Micha Silver wrote:
On 03/06/2010 05:37 PM, Micha Silver wrote:



I opened a ticket on Redhat's bugzilla system [1], and immediately got a reply that the bug is a duplicate of a similar Gnome bug [2] from nearly a year ago.
While the results seem similar, I doubt it's the same bug as all library versions have bumped up since then.
But I'll try the patch suggested [3] to gdal (!) to see if it helps.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=570768
[2] https://bugzilla.redhat.com/show_bug.cgi?id=498111
[3] https://bugzilla.redhat.com/attachment.cgi?id=341828&action="">

Well, surprise, surprise. This segfault problem does indeed seem to be an old GDAL bug that has somehow resurfaced!
I made the small change suggested in the above bugzilla report (id=498111). It's a minor change to the configure.in script.  I wiped the whole source directory of gdal, applied the suggested change, then ./configure; make; sudo make install.
Then I rebuilt qgis and presto it worked!

Why this problem cropped up now and not earlier? only <enter your favorite deity> knows...
I try to always use rpms keeps things cleaner if I have to delete something :<)

So I tried to rebuild the gdal rpm with the patch but that caused some undefined symbols and swig has been updated since the gdal build and it fails as well!  So I just disabled grass for the gdal build (I don't use grass much so I think it's OK for me)  and fixed the swig issue (found a patch on a ubuntu forum) and that built.  Once I updated gdal qgis works again!  You don't even have to rebuild qgis since it's using libgdal.so.  From reading the forum I suspect that a real fix needs to be done for the proj library so it doesn't leave it's symbols open but I'm not sure if I get a chance I'll play around with that.

Regards,
Micha

-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to