[Mapserver-users] Mapserver and Oracle 9i

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Mon Feb 10 13:18:22 PST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2D149.F0BFBAB0
Content-Type: text/plain;
	charset="ISO-8859-1"

Erik,
 
Hmmm well I dunno the details as I don't have Oracle Spatial, but I DO have
Oracle 9.2, and here is what I found:
 
product/9.2.0.1/lib/clntsh.map
 
It's definitely NOT a DLL though ...
 
Interestingly enough also, I have the same file in 8.1.7, still not a DLL
though ...
 
Also ... Is this method of compiling MapServer under cygwin to link to pure
windows based DLL's supported at all ? I'm guessiing the build system isn't
setup for that, you may have ot hack around cygwin and use some of the
dlltools to get right ?
 
If you ask the list, you might find someone with a pure windows build of
mapserver against Oracle Spatial 9.2 ...
 
Cheers,
J.F.
 

-----Original Message-----
From: Erik Brenn [mailto:erik at fastmail.fm]
Sent: Monday, February 10, 2003 3:32 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Mapserver and Oracle 9i


Hi,
 
I've tried to compile Mapserver 3.6.3 with Oracle 9.2 on my Windows
platform. The compile works ok but during linking I get the error message
below.
Does anybody know that the clntsh library is? I cannot find it on my Oracle
CD-ROMs, and there is no hits on this in the Mapserver FAQ or at the
Mapserver mailing lists.
 
regards,
   erik brenn
 
 
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_ORACLESPATIAL
-DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE
_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR
-I/usr/local/include
-I/cygdrive/c/oracle/ora90/rdbms/demo
-I/cygdrive/c/oracle/ora90/rdbms/public -I/cygdrive/c/oracle/ora90/oci/in
clude shp2img.o  -L. -lmap -lgd -L/usr/local/lib -lgd -ljpeg -lttf -L/lib
-lpng -L/lib -lz  -ltiff -ljpeg -lttf
 -L/lib -lpng -L/lib -lz  -ljpeg       -L/cygdrive/c/oracle/ora90/lib
-lclntsh   -lm   -o shp2img
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1


------_=_NextPart_001_01C2D149.F0BFBAB0
Content-Type: text/html;
	charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2>Erik,</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff size=2>Hmmm 
well I dunno the details as I don't have Oracle Spatial, but I DO have Oracle 
9.2, and here is what I found:</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2>product/9.2.0.1/lib/clntsh.map</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff size=2>It's 
definitely NOT a DLL though ...</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2>Interestingly enough also, I have the same file in 8.1.7, still not a DLL 
though ...</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff size=2>Also 
... Is this method of compiling MapServer under cygwin to link to pure windows 
based DLL's supported at all ? I'm guessiing the build system isn't setup for 
that, you may have ot hack around cygwin and use some of the dlltools to get 
right ?</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff size=2>If you 
ask the list, you might find someone with a pure windows build of mapserver 
against Oracle Spatial 9.2 ...</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2>J.F.</FONT></SPAN></DIV>
<DIV><SPAN class=413081121-10022003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Erik Brenn 
  [mailto:erik at fastmail.fm]<BR><B>Sent:</B> Monday, February 10, 2003 3:32 
  PM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> 
  [Mapserver-users] Mapserver and Oracle 9i<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>I've tried to compile Mapserver 3.6.3 with Oracle 
  9.2 on my Windows platform. The compile works ok but during linking I get the 
  error message below.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Does anybody know that the clntsh library is? I 
  cannot find it on my Oracle CD-ROMs, and there is no hits on this in the 
  Mapserver FAQ or at the Mapserver mailing lists.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>regards,</FONT></DIV>
  <DIV><FONT face=Arial size=2>   erik brenn</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>gcc -O2  -Wall -DIGNORE_MISSING_DATA  
  -DUSE_EPPL   -DUSE_ORACLESPATIAL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF 
  -DUSE<BR>_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
  -DGD_HAS_GDIMAGEGIFPTR        
  -I/usr/local/include<BR>-I/cygdrive/c/oracle/ora90/rdbms/demo 
  -I/cygdrive/c/oracle/ora90/rdbms/public 
  -I/cygdrive/c/oracle/ora90/oci/in<BR>clude shp2img.o  -L. -lmap -lgd 
  -L/usr/local/lib -lgd -ljpeg -lttf -L/lib -lpng -L/lib -lz  -ltiff -ljpeg 
  -lttf<BR> -L/lib -lpng -L/lib -lz  
  -ljpeg       -L/cygdrive/c/oracle/ora90/lib 
  -lclntsh   -lm   -o 
  shp2img<BR>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
  cannot find -lclntsh<BR>collect2: ld returned 1 exit status<BR>make: *** 
  [shp2img] Error 1</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2D149.F0BFBAB0--



More information about the MapServer-users mailing list