[Mapserver-users] GD lib version mismatch!

Ernesto Vega ervega at microexpertos.cl
Thu Jun 17 14:56:21 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0109_01C4547B.408316E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Xiaoyuan Geng:

if you are using redhat, then should uninstall gd-devel rpm package ( =
not gd package, because it=B4s required for many other packages, which =
it=B4s not the case with gd-devel) , and then add the FULL path where =
you have the newly installed version of gd to the /etc/ld.so.conf, and =
then run ldconfig.

after all that, you have to compile mapserver again, because it is using =
a diferent shared library than the one required. This happens because =
Mapserver it=B4s compiled using the proper GD library, but it can=B4t =
find at runtime.

hope that helps , it did for me.

  ----- Original Message -----=20
  From: Geng, Xiaoyuan=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Thursday, June 17, 2004 2:31 PM
  Subject: [Mapserver-users] GD lib version mismatch!


  Hello



  I have downloaded the GD lib 2.0.25 and 2.0.26. When I compile and =
install the library using Linux Red Hat. The lib is installed and named =
as libgd.so=E0libgd.2.0.0. The libgd.a file is in the lib directory too. =
When I compile Mapserver-4.0.2, I got an error message says: Make sure =
GD 2.0.12 or higher is compiled before calling configure." Have you ever =
compiled the mapserver-4.0.2? Do you know why?



  Thanks!



  Xiaoyuan Geng






------=_NextPart_000_0109_01C4547B.408316E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: Wingdings;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-CA vLink=3Dpurple link=3Dblue bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Xiaoyuan =
Geng:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if you are using redhat, then should =
uninstall=20
gd-devel rpm package ( not gd package, because it=B4s required for many =
other=20
packages, which it=B4s not the case with gd-devel)&nbsp;, and then add =
the FULL=20
path where you have the newly installed version&nbsp;of gd&nbsp;to the=20
/etc/ld.so.conf, and then run ldconfig.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>after all that, you&nbsp;have to =
compile mapserver=20
again, because it&nbsp;is using a diferent shared library than the one =
required.=20
This happens because Mapserver it=B4s compiled using the proper GD =
library, but it=20
can=B4t find at runtime.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>hope that helps</FONT>&nbsp;<FONT =
face=3DArial=20
size=3D2>, it did for me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DGengx at AGR.GC.CA href=3D"mailto:Gengx at AGR.GC.CA">Geng, =
Xiaoyuan</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, June 17, 2004 =
2:31=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] GD =
lib version=20
  mismatch!</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><BR></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have downloaded the GD =
lib=20
  2.0.25 and 2.0.26. When I compile and install the library using Linux =
Red Hat.=20
  The lib is installed and named as libgd.so</SPAN></FONT><FONT =
face=3DWingdings=20
  size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Wingdings">=E0</SPAN></FONT><FONT=20
  face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">libgd.2.0.0. The libgd.a =
file is=20
  in the lib directory too. When I compile Mapserver-4.0.2, I got an =
error=20
  message says: Make sure GD 2.0.12 or higher is compiled before calling =

  configure." Have you ever compiled the mapserver-4.0.2? Do you know=20
  why?</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks!</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Xiaoyuan =
Geng</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0109_01C4547B.408316E0--





More information about the mapserver-users mailing list