[Ubuntu] Hello and question
Bill Kristan
wkristan at gmail.com
Thu Jun 4 12:30:34 EDT 2009
Hi Alan - I know there's at least one other user following this thread, so
I'll make my progress report on the list...
Your instructions worked great, I managed to get the plugin installed.
The next problem is that when I try to run either r.in.gdal or gdal_translate
I get an "undefined symbol" error
gdal_translate: symbol lookup error: /usr/lib/gdal16plugins/gdal_MrSID.so:
undefined symbol: _ZN12LTIVSIStreamC1Ev
The configure output (and the command I used) is here:
root at wkristanlt:/home/bill# gdal-mrsid-build /usr/local/GeExpress-7.0
grep: /usr/local/GeExpress-7.0/include/support/lt_base.h: No such file or
directory
Extracting GDAL/MrSID tarball
Building GDAL/MrSID plugin
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for g++ -shared ... yes
checking for gdal-config... /usr/bin/gdal-config
using /usr/lib/gdal16plugins as GDAL shared library autoload directory
checking for lt_base.h in /usr/local/GeExpress-7.0/include/support... not
found.
checking for lt_base.h in /usr/local/GeExpress-7.0/include... found MrSID DSDK
version 7.x or newer.
checking for MG3ImageWriter.h in
/usr/local/GeExpress-7.0/include/mrsid_writers... no encoding support.
checking for MrSID JPEG2000 support... disabled
checking for XTIFFClientOpen in -lgeotiff... yes
configure: creating ./config.status
config.status: creating Makefile
I don't see any problems there - maybe a problem with the gcc or g++ version
I'm using? I have several installed, but when I do g++ --version I get
g++ (Ubuntu 4.3.3-5ubuntu4) 4.3.3
and gcc --version gives me:
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Any ideas?
Thanks,
Bill
ps. If it's possible to enable jpeg2000 support in this process, I'd be
delighted get that working too.
On Wednesday 03 June 2009, Alan Boudreault wrote:
> Hi Bill,
>
> Here's the procedure that you have to do to build mrsid plugin:
>
> 1- apt-get update (just to be sure that you get the lastest UbuntuGIS
> packages list)
>
> 2- apt-get install gdal-mrsid-src
>
> 3- apt-get install gdal-bin (we'll use the utility gdalinfo to check if the
> plugin is properly installed)
>
> 4- Run gdalinfo: gdalinfo --formats | grep -i mrsid (at this point... you
> should not see any output because the plugin is not installed)
>
> 5- Download and extract the Lizard GeoSDK.
>
> 6- Build and install the plugin: gdal-mrsid-build
> /usr/local/Geo_DSDK-7.0.0.2167 (this is an example path... you can use any
> path you want.. just pass it to gdal-mrsid-build in argument)
>
> 7- Re-Run gdalinfo: gdalinfo --formats | grep -i mrsid (now, you should
> see the MrSID plugin entry)
>
>
> Let me know if all is ok.
>
> Regards,
> Alan
>
> On June 3, 2009 03:40:55 pm Bill Kristan wrote:
> > Hello UbuntuGIS!
> >
> > I'm pleased to see you're working on packages for open source GIS on
> > Ubuntu. I'm a GIS user on Kubuntu Jaunty, and it's great to have a source
> > of up to date debs.
> >
> > I've been trying various ways to import mrsid images into GRASS, and have
> > yet to find a linux-only solution (I've successfully exported sids to img
> > files on ArcInfo in Windows, then imported them into GRASS, but that's
> > less than ideal - Lizard Tech's mrsidgeodecode has small maximum file
> > sizes on all its output formats, which has been a problem, and so on). It
> > looks like the gdal-mrsid plugin on the ubuntugis ppa archive is just
> > what I need, but... I'm not getting it to compile right. I downloaded
> > Lizard Tech's SDK (Geo_DSDK-7.0.0.2167), and extracted it into
> > /usr/local, then renamed it GeExpress-7.0 (because that's what it was
> > called in the gdal-mrsid-build.in script...hoped that would work, since I
> > wasn't sure how to point to it with apt-get -b). I compiled the examples
> > in the sdk, which worked. I then tried to build the package with apt-get
> > -b source gdal-mrsid, which gave me a package called
> > gdal-mrsid-src_1.6.1-1_all.deb. Installing that with dpkg -i seemed to
> > work, but then r.in.gdal didn't recognize my test sid file, and doesn't
> > list mrsid as a supported format. Does anybody know where I might be
> > going wrong?
> >
> > Thanks,
> > Bill Kristan
More information about the Ubuntu
mailing list