[Thuban-list] Implementation of GDAL
sholl at gmx.net
Sun Oct 5 19:02:05 CEST 2003
At Tue, 30 Sep 2003 15:29:36 +0200 Bernhard Herzog wrote:
> This looks like some library was missing when linking gdalwarp.so.
> According to google this is probably because gdalwarp.cpp is compiled
> as c++ but linked by gcc which doesn't automatically include
> libstdc++. We don't have problem because we still mostly use gcc 2.95.
> This seems to be a bug in distutils in Python < 2.3. There doesn't
> seem to be an easy fix, unfortunately, but there are several options:
> - Use the distutils from Python 2.3 which automatically use the c++
> compiler for linking extensions written in C++
> I just tried this by creating a symbolic link to the directory
> containing distutils in the thuban source directory and then
> running the setup.py script normally (after removing the build
> subdirectory to make sure everything is rebuilt properly)
> ln -s path/to/python/lib/python2.3/distutils/ .
> rm -r build/
> python2.2 setup.py build
> This works for me but all I can easily check is it does indeed call
> the c++ compiler. I don't have a system with gcc 3.0 where all the
> other stuff Thuban requires is already available. The distutils of
> Python 2.3 work fine with Python 2.2 apparently.
Thank you for your quick help with compiling thuban from source.
The problem I was struggeling with was solved by some apt-getting
(python2.3, python2.3.-dev) and setting the correct link as mentioned
Now it works fine.
GnuPG Key-ID: 11946A09
18:00:08 up 7:18, 1 user, load average: 0.32, 0.13, 0.04
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://intevation.de/pipermail/thuban-list/attachments/20031005/08e18362/attachment.bin
More information about the Thuban-list