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]> 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]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
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