[Mapserver-users] mapserv SDE 8.3 interface

Pryor, Clayton J CJPRYOR at sandia.gov
Mon Oct 6 11:21:14 PDT 2003


Yes!  That did it.

Thank you very much.  I had seen a suggestion like this before but I could
not make sense out of it (I am a Windows programmer and have only been
working on this Linux Open Source project since last Monday (1 week) and
have had to learn Linux (from installation to configuration to installation
of applications to reconfiguration, etc.) as I go).  Your description was
very clear to me.

BTW, I do not have email on my Linux box so I hand typed my configuration in
my earlier email and made a mistake.  Below is what I really used to
configure mapserver.  Sorry if my original message causes confusion to
anyone trying to use it.

./configure 
--with-sde=/usr/local/arcsde/sdeexe83 
--with-sde-version=83
--with-gd=/usr/local 
--with-php=/usr/local/php-4.3.3
--with-proj=/usr/local

Sincerely,

Clay

-----Original Message-----
From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca
[mailto:Jean-Francois.Doyon at CCRS.NRCan.gc.ca]
Sent: Monday, October 06, 2003 10:58 AM
To: CJPRYOR at sandia.gov; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] mapserv SDE 8.3 interface


Clayton,

You most likely haven't added the SDE client's library directory into your
library path.

If there's no security/multi-user concerns, just add said path to
/etc/ld.so.conf, and run ldconfig ... This makes the libs globally
available.

Otherwise, look at the environment variable LD_LIBRARY_PATH ... if you have
one, add the path to the SDE lib files to it, or create/export it with said
path in it.

If you do this in your own shell environment, ldd will now work and find the
libraries.

Note that if you go this route, you will also need to make sure the
webserver has the environment variable set, which is done in Apache usin the
SetEnv or PassEnv directives.

Good luck!
J.F.

-----Original Message-----
From: Pryor, Clayton J [mailto:CJPRYOR at sandia.gov]
Sent: Monday, October 06, 2003 12:16 PM
To: 'mapserver-users at lists.gis.umn.edu'
Subject: [Mapserver-users] mapserv SDE 8.3 interface



I am putting together a mapserver prototype for a current application that I
implemented in ArcIMS.  I have searched the web and the MapServer email list
archives for help with this problem to no avail.

I am trying to get mapserver up and running with an ArcSDE interface.  I
have been able to compile mapserver with SDE libraries but when I try to run
mapserv from the command line or the web server I get the following message:

./mapserv: error while loading shared libraries:  libsde83.so: cannot open
shared object file: No such file or directory.

When I execute ldd ./mapserv I get the following ArcSDE library related
messages:

libsde83.so => not found
libpe83.so => not found
libssg83.so => not found

I am running all of this on Linux RedHat 9 on an IBM Thinkpad model A31.

FYI, here are my configuration options for mapserv:

./configure --with-sde=/usr/local/arcsde/sdeexe83 --with-sde-version=83
--with-sde=/usr/local --with-gd=/usr/local --with-php=/usr/local/php-4.3.3
--with-proj=/usr/local

One thing I have not done is set up an ArcSDE connection to the database on
the prototype machine.  I will be looking into that next.  Could that be the
problem?

I am posting this message now in case I am missing something other than an
ArcSDE connection to the database.

Any help is appreciated.

Sincerely,

Clay

   ------------------------------------------------------------
   Clayton J. Pryor	phone	(505) 845-3557
   Sandia National Laboratories	
   Critical Infrastructure Surety 	fax	(505) 844-9641
   PO Box 5800 MS 0451			 
   Albuquerque NM 87185-0451	email	cjpryor at sandia.gov
   ------------------------------------------------------------


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list