[mapserver-users] PROJ problems

Stephane MOREL stephane.morel@vanoise.com
Fri, 05 Apr 2002 09:27:16 +0100


Il s'agit d'un message multivolet au format MIME.
--------------75D576EE291B73668E5AF3FD
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I got Proj from ftp://ftp.remotesensing.org/pub/proj/proj-4.4.5.tar.gz. 
I compile it
1)-with --prefix=/home/mapserver_3.5/proj-4.4.5/
./configure
make
make install (ok)
then I recompile mapserver --with-proj
./configure --with-proj=/home/mapserver_3.5/proj-4.4.5/
make (ok)
when I run ./mapserv
./mapserv: error while loading shared libraries : libproj.so.0: cannot
load share object file: No such file or directory


2)- without --prefix :
./configure
make 
make install

Evreything is fine.
Then I recompile mapserver with --proj
./configure --with-proj=/usr/local/lib/
configure: error: couldn't find projects.h or libproj.a/libproj.so in
/usr/local/lib/
libproj.a and libproj.so are in this directory BUT projects.h are in
/usr/local/include/


What am I missing ?

stef

Morten Hulden a écrit :
> 
> Get PROJ from
>         ftp://ftp.remotesensing.org/pub/proj/proj-4.4.5.tar.gz
> compile and install it and then rebuild your mapserver --with-proj
> 
> MHu
> 
> On Thu, 4 Apr 2002, Stephane MOREL wrote:
> 
> > Hi,
> > I ve installed mapserver 3.5 on a suse linux 7.2 with proj support.
> > When I run ./mapserv -v i have :
> > Mapserver version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORT=PROJ
> > SUPPORTS=TTF SUPPORT=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
> > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE.
> > I understand that proj support is supported.
> > But when I put a projection clause in may mapfile I got the following
> > message :
> >
> > Warning: MapServer Error in loadProjection(): Projection support is not
> > available
> >
> > If someone can explain this to me or tell where I can find something
> > about using the proj clause even with mapscript....
> >
> > Thanks
> >
> > Stef
> >
> > PS : excuse me for my poor english!!!!!;o))))
--------------75D576EE291B73668E5AF3FD
Content-Type: text/x-vcard; charset=us-ascii;
 name="stephane.morel.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Carte pour Stephane MOREL
Content-Disposition: attachment;
 filename="stephane.morel.vcf"

begin:vcard 
n:MOREL;Stéphane
tel;fax:04 79 96 37 18
tel;work:04 79 62 30 54
x-mozilla-html:FALSE
url:www.vanoise.com
org:Parc national de la Vanoise
version:2.1
email;internet:stephane.morel@vanoise.com
title:Chargé de mission SIG
adr;quoted-printable:;;135 rue Dr Julliand=0D=0ABP 705;CHAMBERY Cedex;;73007;FRANCE
fn:Stéphane MOREL
end:vcard

--------------75D576EE291B73668E5AF3FD--