Opened 15 years ago

Last modified 15 years ago

#3047 new defect

installation of mapserver with ArcSDE support fails

Reported by: fvallez Owned by: hobu
Priority: normal Milestone: 6.0 release
Component: Build Problems Version: 5.4
Severity: normal Keywords: arcsde mapserver
Cc: dmorissette

Description (last modified by dmorissette)

Hello,

I configured mapserver 5.4 in a solaris 9 with:

bash-2.05# ./configure --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-httpd=/usr/local/apache2/bin/httpd --with-wfsclient --with-wmsclient --enable-debug --with-curl-config=/usr/local/bin/curl-config --with-proj --with-gd --with-jpeg --with-freetype --with-threads --with-wcs --with-postgis=/usr/local/pgsql/bin/pg_config --with-libiconv=/usr/local --with-geos=/usr/local/bin/geos-config --enable-runpath --with-sde=/instalables/esri/sdeexe92 --with-sde-version=92

and all seems to be ok, but when I do the "make", there's the following error:

bash-2.05# make
g++ -g -O2 -fPIC -Wall    -DHAVE_VSNPRINTF -DNEED_STRCASESTR -DNEED_STRRSTR       -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR  -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DUSE_SDE -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV      -I/usr/local/include       -I/instalables/esri/sdeexe92/include -I/usr/local/include -I/usr/local/pgsql/include  -I/usr/local/include   -I/usr/local/include -I/usr/local/include   -I/usr/local/include/libxml2  shp2img.o -R/usr/local -R/instalables/esri/sdeexe92/lib -L. -lmapserver -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -L/lib -lz -L/lib -lXpm -lX11 -L/usr/local/lib -liconv   -ljpeg -lfreetype -lpng -L/lib -lz -L/lib -lXpm -lX11 -L/usr/local/lib -liconv -lproj -ljpeg -lpng -L/instalables/esri/sdeexe92/lib -lsde -lpe -lsg -lpthread -lsocket -ldl -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c -L/usr/local/lib -lexpat -ljpeg -lpng -lpq -L/usr/local/pgsql/lib -lpq -lz -lm -lrt -ldl -L/usr/local/lib -lcurl -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -lssl -lcrypto -ldl -lsocket -lnsl -lz  -L/usr/local/pgsql/lib -lpq  -L/usr/local/lib -lcurl -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -lssl -lcrypto -ldl -lsocket -lnsl -lz  -L/usr/local/lib -lgeos_c -lpthread -L/usr/local/lib -liconv  -L/lib -lz -L/usr/local/lib -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm -lsocket -lnsl  -lm -lstdc++   -o shp2img
Undefined                       first referenced
 symbol                             in file
__1cG__CrunKpure_error6F_v_         /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_alloc6FI_pv_         /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_des6FpvIIpF1_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_con6FpvIIpF1_vp2_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_del6FpvIpF1_v_1_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunGex_get6F_pv_            /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunMex_rethrow_q6F_v_       /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_new6FpvIIpF1_vp2_1_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunSregister_exit_code6FpG_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunHex_skip6F_b_            /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_clean6F_v_           /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKex_rethrow6F_v_         /instalables/esri/sdeexe92/lib/libsde.so
c::c(N6,  (int0_t))                 /instalables/esri/sdeexe92/lib/libsde.so
c::c(n6,  (int0_t))                 /instalables/esri/sdeexe92/lib/libsde.so
__1c2K6Fpv_v_                       /instalables/esri/sdeexe92/lib/libsde.so
__1c2k6Fpv_v_                       /instalables/esri/sdeexe92/lib/libsde.so
ld: fatal: Symbol referencing errors. No output written to shp2img
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

I'll find about this issue for some days, but I can't complete my installation.

Any kind of help will be appreciated.

Thank you very much.

Change History (2)

comment:1 by dmorissette, 15 years ago

Cc: dmorissette added
Description: modified (diff)
Milestone: 6.0 release
Owner: changed from dmorissette to hobu

Sounds like something missing with respect to SDE. Unfortunately I can't help much with this. Reassigning to Howard who may have more ideas.

in reply to:  description comment:2 by fvallez, 15 years ago

Hello,

there's any answer or idea?

Thank you!

Replying to fvallez:

Hello,

I configured mapserver 5.4 in a solaris 9 with:

bash-2.05# ./configure --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-httpd=/usr/local/apache2/bin/httpd --with-wfsclient --with-wmsclient --enable-debug --with-curl-config=/usr/local/bin/curl-config --with-proj --with-gd --with-jpeg --with-freetype --with-threads --with-wcs --with-postgis=/usr/local/pgsql/bin/pg_config --with-libiconv=/usr/local --with-geos=/usr/local/bin/geos-config --enable-runpath --with-sde=/instalables/esri/sdeexe92 --with-sde-version=92

and all seems to be ok, but when I do the "make", there's the following error:

bash-2.05# make
g++ -g -O2 -fPIC -Wall    -DHAVE_VSNPRINTF -DNEED_STRCASESTR -DNEED_STRRSTR       -DUSE_WMS_LYR -DUSE_WFS_LYR  -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR  -DUSE_WMS_SVR    -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DUSE_SDE -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV      -I/usr/local/include       -I/instalables/esri/sdeexe92/include -I/usr/local/include -I/usr/local/pgsql/include  -I/usr/local/include   -I/usr/local/include -I/usr/local/include   -I/usr/local/include/libxml2  shp2img.o -R/usr/local -R/instalables/esri/sdeexe92/lib -L. -lmapserver -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -L/lib -lz -L/lib -lXpm -lX11 -L/usr/local/lib -liconv   -ljpeg -lfreetype -lpng -L/lib -lz -L/lib -lXpm -lX11 -L/usr/local/lib -liconv -lproj -ljpeg -lpng -L/instalables/esri/sdeexe92/lib -lsde -lpe -lsg -lpthread -lsocket -ldl -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c -L/usr/local/lib -lexpat -ljpeg -lpng -lpq -L/usr/local/pgsql/lib -lpq -lz -lm -lrt -ldl -L/usr/local/lib -lcurl -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -lssl -lcrypto -ldl -lsocket -lnsl -lz  -L/usr/local/pgsql/lib -lpq  -L/usr/local/lib -lcurl -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -lssl -lcrypto -ldl -lsocket -lnsl -lz  -L/usr/local/lib -lgeos_c -lpthread -L/usr/local/lib -liconv  -L/lib -lz -L/usr/local/lib -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm -lsocket -lnsl  -lm -lstdc++   -o shp2img
Undefined                       first referenced
 symbol                             in file
__1cG__CrunKpure_error6F_v_         /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_alloc6FI_pv_         /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_des6FpvIIpF1_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_con6FpvIIpF1_vp2_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_del6FpvIpF1_v_1_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunGex_get6F_pv_            /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunMex_rethrow_q6F_v_       /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKvector_new6FpvIIpF1_vp2_1_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunSregister_exit_code6FpG_v_v_ /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunHex_skip6F_b_            /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunIex_clean6F_v_           /instalables/esri/sdeexe92/lib/libsde.so
__1cG__CrunKex_rethrow6F_v_         /instalables/esri/sdeexe92/lib/libsde.so
c::c(N6,  (int0_t))                 /instalables/esri/sdeexe92/lib/libsde.so
c::c(n6,  (int0_t))                 /instalables/esri/sdeexe92/lib/libsde.so
__1c2K6Fpv_v_                       /instalables/esri/sdeexe92/lib/libsde.so
__1c2k6Fpv_v_                       /instalables/esri/sdeexe92/lib/libsde.so
ld: fatal: Symbol referencing errors. No output written to shp2img
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

I'll find about this issue for some days, but I can't complete my installation.

Any kind of help will be appreciated.

Thank you very much.

Note: See TracTickets for help on using tickets.