HAHA, thanks Ian.  I think we need to stick with RHEL…due to some other 
dependency.

Anyone else have any ideas or some documentation for install that worked on 
RHEL 6.5?

From: Ian Turton [mailto:[email protected]]
Sent: Thursday, March 10, 2016 8:15 AM
To: Cradit, Jason <[email protected]>
Cc: [email protected]
Subject: Re: [Geoserver-users] GDAL Install

To be honest this is starting to remind me why I gave up using Centos :-) I 
think that you will need to use the exact file that is pointed to in the 
tutorial gdal192-Ubuntu11-gcc4.5.2-x86_64.tar.gz and ignore all other gdal 
installs that you might see on your machine

Ian

On 10 March 2016 at 14:06, Cradit, Jason 
<[email protected]<mailto:[email protected]>> wrote:
Hey Ian,

I have and you are right, it’s not.  Yet, it’s also nowhere on my system.  So 
that’s the question, how do I get all the dependencies or is there something 
wrong with my install process?  Or something I missed in documentation.

I’ve actually added the OpenGeo repo and installed Geos 3.5 and now I’m passed 
that particular file and now it wants 
‘libgeos-3.3.3.so<http://libgeos-3.3.3.so>’ as the previous file was installed 
from the OpenGeo repo.  Yet, yet, the OpenGeo repo installed version 3.5 of 
GEOS and it appears that gdalinfo wants version 3.3.3 , why?

So lost…

Thanks for the help!

Jason

From: Ian Turton [mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, March 10, 2016 7:57 AM
To: Cradit, Jason <[email protected]<mailto:[email protected]>>
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Geoserver-users] GDAL Install

Have you looked in /opt/gdal-1.9.2_x64_rh6 to see if libgeos_c.so.1 is there? 
if it isn't then your LD_LIBRARY_PATH is wrong and you need to hunt down the 
shared libraries and add that path to it.

Ian

On 10 March 2016 at 13:32, Cradit, Jason 
<[email protected]<mailto:[email protected]>> wrote:
I need help!  I’m trying to get GeoServer up and running on an EC2 instance and 
can do so using the WAR install.  However, when I go to install GDAL so that I 
can read jp2 files, I fail miserably using this documentation: 
http://docs.geoserver.org/latest/en/user/data/raster/gdal.html.


Here is my process:
Deploy RHEL 6.5 ec2 instance

Install tomcat6
Cd to /opt


GeoServer:

sudo wget 
http://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/geoserver-2.8.2-war.zip<https://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/geoserver-2.8.2-war.zip/download>

sudo unzip 
geoserver-2.8.2-war.zip<https://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/geoserver-2.8.2-war.zip/download>
 -d 
geoserver-2.8.2-war<https://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/geoserver-2.8.2-war.zip/download>
sudo cp 
geoserver-2.8.2-war<https://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/geoserver-2.8.2-war.zip/download>/*.war
 /var/lib/tomcat6/webapps/

                sudo service tomcat6 restart


GDAL:

sudo wget 
https://sourceforge.net/projects/geoserver/files/GeoServer/2.8.2/extensions/geoserver-2.8.2-gdal-plugin.zip

sudo unzip geoserver-2.8.2-gdal-plugin.zip -d geoserver-2.8.2-gdal-plugin

sudo cp geoserver-2.8.2-gdal-plugin/* 
/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib


ImageIO JAR files:

sudo wget 
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/imageio-ext-1.1.12-jars.zip

sudo unzip imageio-ext-1.1.12-jars.zip -d imageio-ext-1.1.12-jars

sudo cp imageio-ext-1.1.12-jars /usr/lib/jvm/jre/lib/amd64



CRS Definitions:

sudo wget 
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/native/gdal/gdal-data.zip

sudo unzip 
gdal-data.zip<http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/native/gdal/gdal-data.zip>
 -d ./


Native Libaries

sudo wget 
http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/native/gdal/linux/gdal192-Redhat6.0-gcc4.4.4-x86_64.tar.gz

sudo tar -zxvf 
gdal192-Redhat6.0-gcc4.4.4-x86_64.tar.gz<http://demo.geo-solutions.it/share/github/imageio-ext/releases/1.1.X/1.1.12/native/gdal/linux/gdal192-Redhat6.0-gcc4.4.4-x86_64.tar.gz>


export GDAL_DATA=/opt/gdal-data

export LD_LIBRARY_PATH=/opt/gdal-1.9.2_x64_rh6

export 
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ec2-user/bin:/opt/gdal-1.9.2_x64_rh6:/opt/imageio-ext-1.1.12-jars:/usr/lib/jvm/jre/lib/amd64


Pretty sure that is just as is documented…but if I’m wrong, please let me know. 
 Once this is done and I run gdalinfo, I receive a message telling me

“/opt/gdal-1.9.2_x64_rh6/.libs/lt-gdalinfo: error while loading shared 
libraries: libgeos_c.so.1: cannot open shared object file: No such file or 
directory”

After some review I found the GEOS library contained that file.  I don’t see 
that as a required dependency anywhere and/or where to install that from.  Is 
it required?  Is there any documentation that shows how and where to install 
it?  Are there other dependencies or am I just doing something wrong.  Also, 
when logging into geoserver the new raster formats just don’t show up.

Any direction would be GREATLY appreciated.

Thanks,
Jason



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Ian Turton



--
Ian Turton
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to