<div dir="ltr">The original error looks like it was related to this:<div><br></div><div>  <a href="https://stackoverflow.com/questions/39700537/undefined-reference-to-boost-serialization-functions">https://stackoverflow.com/questions/39700537/undefined-reference-to-boost-serialization-functions</a></div><div><br></div><div>I think you do something like this (see <a href="https://stackoverflow.com/questions/25243336/specifying-libraries-for-cmake-to-link-to-from-command-line">https://stackoverflow.com/questions/25243336/specifying-libraries-for-cmake-to-link-to-from-command-line</a>):</div><div><br></div><div>  cmake ... CMAKE_C_STANDARD_LIRBARIES="-lboost_serialization"</div><div><br></div><div>The new error looks to be related to multiple versions of GDAL installed. If you search on "AH01215: GDAL: In GDALDestroy - unloading GDAL shared library" you'll see that error referenced in a couple of forums, including mapserver-users. Do you have both a package and source-built GDAL? You might be better off uninstalling the source-built stuff. </div><div><br></div><div>--Steve</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 30, 2020 at 2:13 PM Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Stephane,<br>
<br>
I'm not sure about your last issue.  You could first execute 'sudo <br>
ldconfig' so your last compiled libs are found, then try a shp2img <br>
command with your mapfile.<br>
<br>
I have seen cases where there are conflicting library versions used by <br>
either the GDAL or MapServer dependencies: test this with a 'ldd <lib <br>
name> command.<br>
<br>
That's not a fun scenario, but, I've been there before ha.<br>
<br>
Sorry maybe others have better advice for this.<br>
<br>
-jeff<br>
<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
GatewayGeo: MapServer Consulting and Training Services<br>
co-founder of FOSS4G<br>
<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a><br>
<br>
<br>
<br>
On 2020-12-30 1:36 p.m., Stephane Poissant wrote:<br>
> HI Jeff,<br>
> <br>
> That was a partial success! Thank you for you recommendation!<br>
> It compiled successfully by compiling gems and recompiling goal as you <br>
> suggested.<br>
> <br>
> I still have 1 issue.<br>
> <br>
> While rendering stuff that use to work on previous version, it no longer <br>
> works in this lates one.<br>
> I get AH01215 error in http.<br>
> <br>
> AH01215: GDAL: In GDALDestroy - unloading GDAL shared library.: <br>
> /var/www/html/map/mapserv.cgi, referer: <a href="http://utility.sk.com/" rel="noreferrer" target="_blank">http://utility.sk.com/</a> <br>
> <<a href="http://utility.sk.com/" rel="noreferrer" target="_blank">http://utility.sk.com/</a>><br>
> <br>
> I am not a developper. It is hard for me to describe where this issue <br>
> can possibly come from.<br>
> It does not render on screen the way it should be.<br>
> <br>
> I will turn back on perl, have ruby, python and php in the makefile as <br>
> it could be related….<br>
> <br>
> Nevertheless, I would like to thank you for your very quick response and <br>
> "right on" target answers!<br>
> <br>
> SP<br>
> <br>
> <br>
> Stéphane Poissant<br>
> Portable: 514-793-3506<br>
> <a href="mailto:spoissantca@gmail.com" target="_blank">spoissantca@gmail.com</a> <mailto:<a href="mailto:spoissantca@gmail.com" target="_blank">spoissantca@gmail.com</a>><br>
> <br>
> <br>
>> On Dec 30, 2020, at 10:14 AM, Jeff McKenna <br>
>> <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a> <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>>> <br>
>> wrote:<br>
>><br>
>> Also, after you compile GEOS be sure to recompile GDAL ('make clean' <br>
>> first), then continue on to tackle your MapServer cmake command.<br>
>><br>
>> Happy new year to all,<br>
>><br>
>> -jeff<br>
>><br>
>><br>
>><br>
>> -- <br>
>> Jeff McKenna<br>
>> GatewayGeo: MapServer Consulting and Training Services<br>
>> co-founder of FOSS4G<br>
>> <a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a> <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank">http://gatewaygeo.com/</a>><br>
>><br>
>><br>
>><br>
>> On 2020-12-30 9:56 a.m., Jeff McKenna wrote:<br>
>>> Hi Stephane,<br>
>>> Be sure to compile GEOS (3.9.0 is recommended from <br>
>>> <a href="http://download.osgeo.org/geos/geos-3.9.0.tar.bz2" rel="noreferrer" target="_blank">http://download.osgeo.org/geos/geos-3.9.0.tar.bz2</a> ), and then add <br>
>>> into your cmake command: -DWITH_GEOS=1<br>
>>> Wishing you a happy new year,<br>
>>> -jeff<br>
>><br>
>> _______________________________________________<br>
>> mapserver-users mailing list<br>
>> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
> <br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div>