[ELGIS] libmapscript.so not built with mapserver-java-6.0.1-2.el6.x86_64.rpm or from source.rpm?

pj at admin.cassens.com pj at admin.cassens.com
Tue Sep 27 21:19:58 EDT 2011


Question: How do I get the file libmapscript.so? The developer in charge of a software project needs it. I can not find it in the mapserver-java as the developer states. An rpm install of the the prebuilt binary does not have. I have attempted to compile the mapserver-6.0.1-2.el6.src.rpm and only find mentions in the build output of libmapscript like:

mapscript_wrap.c:384: note: expected 'signed char *' but argument is of type 'unsigned char *'
g++ -shared  -fpic mapscript_wrap.o -o libmapscript.so  -L../.. -lmapserver -lfreetype -lgd -L/usr/lib64 -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11  -lexpat   -lproj -ljpeg -lpng -lgif  -lgdal -L/usr/lib64 -lpq  -lcurl    -L/usr/lib64 -lgeos_c -lpthread -lc  -L/usr/lib64 -lxslt -L/usr/lib64 -lexslt -lz -lxml2 -lz -lm -lfribidi   -lm -lstdc++ -lfreetype -lfontconfig -lz -lcairo -lpng12
jar cf mapscript.jar edu

or

ar rc libmapserver.a renderers/agg/src/clipper.o renderers/agg/src/agg_arc.o renderers/agg/src/agg_curves.o renderers/agg/src/agg_vcgen_contour.o renderers/agg/src/agg_vcgen_dash.o renderers/agg/src/agg_vcgen_stroke.o renderers/agg/src/agg_image_filters.o renderers/agg/src/agg_line_aa_basics.o renderers/agg/src/agg_line_profile_aa.o renderers/agg/src/agg_sqrt_tables.o renderers/agg/src/agg_embedded_raster_fonts.o renderers/agg/src/agg_trans_affine.o renderers/agg/src/agg_vpgen_clip_polygon.o renderers/agg/src/agg_vpgen_clip_polyline.o renderers/agg/src/agg_font_freetype.o renderers/agg/src/agg_svg_parser.o renderers/agg/src/agg_svg_path_renderer.o renderers/agg/src/agg_svg_path_tokenizer.o mapgeomutil.o mapdummyrenderer.o mapogl.o mapoglrenderer.o mapoglcontext.o mapimageio.o mapcairo.o maprendering.o mapgeomtransform.o mapquantization.o maptemplate.o mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o maptree.o mapsearch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o mapsde.o mapogr.o mappostgis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o mapdraw.o mapgd.o mapagg.o mapoutput.o mapgdal.o mapimagemap.o mapows.o mapwfs.o mapwfs11.o mapwfslayer.o mapcontext.o maphttp.o mapdrawgdal.o mapjoin.o mapgraticule.o mapcopy.o mapogcfilter.o mapogcsld.o maptime.o mapwcs.o mapwcs11.o mapcpl.o cgiutil.o maprasterquery.o mapobject.o mapgeos.o classobject.o layerobject.o mapio.o mappool.o mapregex.o mappluginlayer.o mapogcsos.o mappostgresql.o mapcrypto.o mapowscommon.o maplibxml2.o mapdebug.o mapchart.o maptclutf.o mapxml.o mapkml.o mapkmlrenderer.o mapogroutput.o mapwcs20.o  mapogcfiltercommon.o mapunion.o mapcluster.o
ranlib libmapserver.a
# We don't want to let the shared library get out of sync with the
# static library if it exists.
if test -r libmapserver.so ; then \
          make shared ; \
        fi

I'm lost.

I've google'd a bunch and have come up with only fleeting comments and an ignored bug for the Fedora side (https://bugzilla.redhat.com/show_bug.cgi?id=526887) for the reason why libmapscript.so is not being built in general.

I finally stumbled here for help... Please be gentle as I am very new to compiling mapserver and using it (I am a long time Linux admin, however). My preference as an admin is to use built rpm's like the ones found here (and epel etc) and *NOT* compile from source directly. I don't mind compiling *.src.rpm's, however.

Any gentle pointers on what's wrong?

Thanks

pjwelsh


More information about the el mailing list