From: Garey M. <gm...@li...> - 2011-10-28 17:14:34
|
Daniele - First let me apologize for having asked this question twice. I just plain forgot that I had encountered this problem before. Is the version of GDAL 1.7.3 essential? I could download GDAL 1.8.0-4? Garey On 10/28/2011 1:52 AM, Daniele Romagnoli wrote: > Hi Garey, > if my memory serves me right, you have already encountered this error > a few months ago which is mainly related to the underlying set of > libraries available on your machine. > I did a quick search on the web and I found several forum/discussions > talking about this issue, as well as several solutions/ways/attempts > to fix it. Some of them worked for some users while some others ways > worked for other ones. Look for "/usr/lib/libstdc++.so.6: version > `GLIBCXX_3.4.9' not found" on the web. I'll suggest to read some of > these threads to better investigate on which dependencies you have on > your machine and how to add/depends on the required ones. (Sometime > it's seems only matter of updating a few symbolic links). > > I'm sorry about not being able to provide you more helps on that topic > but I guess it's a typical dependencies problem which should be > analyzed case by case. > > Alternatively, you can build GDAL 1.7.3 by yourself on your system > (therefore using the set of libraries you have on your own machine). > I can forward you an email I sent to you a few months ago, with > pointers to the paragraphs of the ImageIO-Ext setup document referring > to how to build the GDAL native part. Just let me know. > > Anyway, let us know if you have both more questions as well as reports > on how you have fixed that problem too, so we can learn from your > experience. > > Best Regards, > Daniele > > > On Thu, Oct 27, 2011 at 10:49 PM, Garey Mills > <gm...@li... <mailto:gm...@li...>> wrote: > > Andrea - > > Thanks for the info. I downloaded gdal-1.7.3 and installed it > as suggested. I am now getting this error: > > Oct 27, 2011 1:42:35 PM > it.geosolutions.imageio.gdalframework.GDALUtilities loadGDAL > WARNING: Failed to load the GDAL native libs. This is not a > problem unless you need to use the GDAL plugins: they won't be > enabled.java.lang.UnsatisfiedLinkError: > /usr/local/jdk1.6.0_23/jre/lib/i386/libgdaljni.so: > /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found > (required by /usr/local/jdk1.6.0_23/jre/lib/i386/libgdal.so.1) > > in /usr/lib I have > > libstdc++.so.6.0.8 > > What's the best way of getting gdal working from here? > > Garey > > > > > On 10/27/2011 11:16 AM, Andrea Aime wrote: >> On Thu, Oct 27, 2011 at 7:04 PM, Garey Mills >> <gm...@li... >> <mailto:gm...@li...>> wrote: >> >> Robert - >> >> >> Thank you. Commenting out >> >> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> >> >> in server.xml worked! >> >> Now the next thing I want to do is to make the >> Imagecollection plugin work with MrSid images. Does anyone >> have any idea what the steps would be to do that? In the >> imagecollection module, the only mention of formats seems to >> be in Utils.java where the code checks the file extension. >> However, though I add in '.sid', there, when I try to publish >> a MrSid image, MrSid is not one of the image formats that >> show up. >> >> >> Hmm... do you have the support to read MrSid files to start with? >> It's part of the GDAL data sources, requires the right GDAL >> native libs to be installed, distributed >> along with imageio-ext itself. >> >> Anyways, don't know if having those is sufficient.. but for sure >> if don't have a MrSid store showing >> up in the store list when you try to create a new store you won't >> be able to open a .sid file >> >> Cheers >> Andrea >> >> >> -- >> ------------------------------------------------------- >> Ing. Andrea Aime >> GeoSolutions S.A.S. >> Tech lead >> >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> >> phone: +39 0584 962313 <tel:%2B39%200584%20962313> >> fax: +39 0584 962313 <tel:%2B39%200584%20962313> >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://www.youtube.com/user/GeoSolutionsIT >> http://www.linkedin.com/in/andreaaime >> http://twitter.com/geowolf >> >> ------------------------------------------------------- > > > > > -- > ------------------------------------------------------- > Ing. Daniele Romagnoli > GeoSolutions S.A.S. > Software Engineer > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it <http://www.geo-solutions.it/> > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://it.linkedin.com/in/danieleromagnoli > > > ------------------------------------------------------- > |