[Mapserver-users] new user

Swaminathan, Gayathri gayathri at ou.edu
Thu Oct 2 08:12:20 PDT 2003


Hi:

libgd.so.2 is the GD lib file., guess that will be problem :)

Can you find it?  Do you have it in your gd directory? Did you make gd and
install it?

Post this information to the list as well. You will have several pointers
that way, and will lead to a quicker solution.

Thanks,
Gayathri

-----Original Message-----
From: Scott Ferguson [mailto:scottf at secr.com] 
Sent: Thursday, October 02, 2003 10:00 AM
To: 'Swaminathan, Gayathri'
Subject: RE: [Mapserver-users] new user


Gayathri-
well I made it through the 'make' command with your instructions, but
received this message("./mapserv: error while loading shared libraries:
libgd.so.2: cannot open shared object file: No such file or directory") when
typing this command "./mapserv" at the mapserver prompt.  The mapserv
executable binary file was created, but wasn't sure if this error message
was acceptable to move forward with the install. thanks, Scott

-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu]
Sent: Wednesday, October 01, 2003 5:14 PM
To: 'scottf at secr.com'
Cc: Mapserver List (mapserver-users at lists.gis.umn.edu)
Subject: RE: [Mapserver-users] new user


Scott,

The compilation with GD and Proj alone was an example.

Here is the list of mandatory libraries needed:

GD 2.0.12 or greater
PROJ4 -yes the 4.4.7 is good from www.remotesensing.org Freetype-version 2
or greater

You will have to obtain these seperately and then compile each one of them
successfully.

Then do,

"./configure --with-gd <GD PATH> --with-proj <PROJ PATH> --with-freetype
<FREETYPE PATH>"

Now, Additional libraries such as jpeg library, Libtiff, Postgis, Libcurl
for WMS etc., can be added., and then their respective --with-<libname><LIB
PATH>

Can be added to "./configure" step

Then after you sucessfully  generate a makefile using this step., (the
makefile will be in the same path where configure is), do "make"

More help should be available in Mapserver Wiki

Cheers,
Gayathri
-----Original Message-----
From: Scott Ferguson [mailto:scottf at secr.com]
Sent: Wednesday, October 01, 2003 4:57 PM
To: 'Swaminathan, Gayathri'
Subject: RE: [Mapserver-users] new user


ok, the with GD compile was successful, but the with proj was not.  I found
a couple different files to download for the "proj4".  One is for "openev"
and the other is labeled as "proj4.4.7 tar.gz" Are these the correct files?
thanks

-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu]
Sent: Wednesday, October 01, 2003 4:36 PM
To: 'scottf at secr.com'
Cc: Mapserver List (mapserver-users at lists.gis.umn.edu)
Subject: RE: [Mapserver-users] new user


Ya should be but don't bother about the ".so" files.

So, if you are trying to compile mapserver with GD, PROJ say, you will have
to compile GD first and then proj and then

Do "./configure --with-proj[=DIR for PROJ where lib was created] --with GD
[=DIR for GD where lib was created]

And then do make.

Cheers,
Gayathri


-----Original Message-----
From: Scott Ferguson [mailto:scottf at secr.com]
Sent: Wednesday, October 01, 2003 4:23 PM
To: 'Swaminathan, Gayathri'
Subject: RE: [Mapserver-users] new user


this could be my problem.  I tried the "./configure" only, then I tried
including the "--with-<libname>" as well.  I received the same results.
Maybe I don't have the ".so" files in their respective folders.  I believe
all of the ".so" files are in my /usr/local/lib/ directory.


-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu]
Sent: Wednesday, October 01, 2003 4:17 PM
To: 'scottf at secr.com'
Cc: Mapserver List (mapserver-users at lists.gis.umn.edu)
Subject: RE: [Mapserver-users] new user


Hi:

Also forgot to ask in my last email....

Are you just doing "./configure"

Or including libraries using "--with-<libname>"

A very detailed help on "configure" appears when you do "./configure
--help". That may be handy when trying to Build this.

Also, do you have your required libraries compiled already? That is your
library ".so" files should be there in Their respective folders before you
proceed to compile mapserver.

HTH,
Gayathri







More information about the MapServer-users mailing list