<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Compiling gets from source did it perfectly.<div class="">For the GDAL suggestion, it could certainly be my issue.</div><div class="">Unfortunately for me, I flushed the the server to redo it properly with all conditions and I faced partial</div><div class="">Error I had prior to running it (similar to Yesterday but only about boost)</div><div class=""><br class=""></div><div class="">Compiling mapserver...</div><div class=""><br class=""></div><div class=""><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::string const&)'</div><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, char, std::char_traits<char> >::save(std::string const&)'</div><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::string&)'</div></div><div class=""><br class=""></div><div class="">Therefore I am recompiling boost 1.75 from source to see if it fixes it.</div><div class="">Once I get that pout of the way, I will certainly take a look at your suggestion. </div><div class="">It could seriously be my problem.</div><div class=""><br class=""><div class="">
<div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class="Apple-interchange-newline"><br class=""></div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Stéphane Poissant  <br class=""></div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Portable: 514-793-3506</div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="mailto:spoissantca@gmail.com" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;" class="">spoissantca@gmail.com</a></div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"></span><br class="Apple-interchange-newline"><span><img apple-inline="yes" id="D141E94E-523F-45F0-A783-540AC6271A38" width="97" height="31" src="cid:F6703B8C-7F03-477E-9F27-339F51CF7C82" class=""></span>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Dec 31, 2020, at 10:40 AM, Steve Lime <<a href="mailto:sdlime@gmail.com" class="">sdlime@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The original error looks like it was related to this:<div class=""><br class=""></div><div class="">  <a href="https://stackoverflow.com/questions/39700537/undefined-reference-to-boost-serialization-functions" class="">https://stackoverflow.com/questions/39700537/undefined-reference-to-boost-serialization-functions</a></div><div class=""><br class=""></div><div class="">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" class="">https://stackoverflow.com/questions/25243336/specifying-libraries-for-cmake-to-link-to-from-command-line</a>):</div><div class=""><br class=""></div><div class="">  cmake ... CMAKE_C_STANDARD_LIRBARIES="-lboost_serialization"</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">--Steve</div><div class=""><br class=""></div></div><br class=""><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" class="">jmckenna@gatewaygeomatics.com</a>> wrote:<br class=""></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 class="">
<br class="">
I'm not sure about your last issue.  You could first execute 'sudo <br class="">
ldconfig' so your last compiled libs are found, then try a shp2img <br class="">
command with your mapfile.<br class="">
<br class="">
I have seen cases where there are conflicting library versions used by <br class="">
either the GDAL or MapServer dependencies: test this with a 'ldd <lib <br class="">
name> command.<br class="">
<br class="">
That's not a fun scenario, but, I've been there before ha.<br class="">
<br class="">
Sorry maybe others have better advice for this.<br class="">
<br class="">
-jeff<br class="">
<br class="">
<br class="">
<br class="">
-- <br class="">
Jeff McKenna<br class="">
GatewayGeo: MapServer Consulting and Training Services<br class="">
co-founder of FOSS4G<br class="">
<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank" class="">http://gatewaygeo.com/</a><br class="">
<br class="">
<br class="">
<br class="">
On 2020-12-30 1:36 p.m., Stephane Poissant wrote:<br class="">
> HI Jeff,<br class="">
> <br class="">
> That was a partial success! Thank you for you recommendation!<br class="">
> It compiled successfully by compiling gems and recompiling goal as you <br class="">
> suggested.<br class="">
> <br class="">
> I still have 1 issue.<br class="">
> <br class="">
> While rendering stuff that use to work on previous version, it no longer <br class="">
> works in this lates one.<br class="">
> I get AH01215 error in http.<br class="">
> <br class="">
> AH01215: GDAL: In GDALDestroy - unloading GDAL shared library.: <br class="">
> /var/www/html/map/mapserv.cgi, referer: <a href="http://utility.sk.com/" rel="noreferrer" target="_blank" class="">http://utility.sk.com/</a> <br class="">
> <<a href="http://utility.sk.com/" rel="noreferrer" target="_blank" class="">http://utility.sk.com/</a>><br class="">
> <br class="">
> I am not a developper. It is hard for me to describe where this issue <br class="">
> can possibly come from.<br class="">
> It does not render on screen the way it should be.<br class="">
> <br class="">
> I will turn back on perl, have ruby, python and php in the makefile as <br class="">
> it could be related….<br class="">
> <br class="">
> Nevertheless, I would like to thank you for your very quick response and <br class="">
> "right on" target answers!<br class="">
> <br class="">
> SP<br class="">
> <br class="">
> <br class="">
> Stéphane Poissant<br class="">
> Portable: 514-793-3506<br class="">
> <a href="mailto:spoissantca@gmail.com" target="_blank" class="">spoissantca@gmail.com</a> <mailto:<a href="mailto:spoissantca@gmail.com" target="_blank" class="">spoissantca@gmail.com</a>><br class="">
> <br class="">
> <br class="">
>> On Dec 30, 2020, at 10:14 AM, Jeff McKenna <br class="">
>> <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank" class="">jmckenna@gatewaygeomatics.com</a> <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank" class="">jmckenna@gatewaygeomatics.com</a>>> <br class="">
>> wrote:<br class="">
>><br class="">
>> Also, after you compile GEOS be sure to recompile GDAL ('make clean' <br class="">
>> first), then continue on to tackle your MapServer cmake command.<br class="">
>><br class="">
>> Happy new year to all,<br class="">
>><br class="">
>> -jeff<br class="">
>><br class="">
>><br class="">
>><br class="">
>> -- <br class="">
>> Jeff McKenna<br class="">
>> GatewayGeo: MapServer Consulting and Training Services<br class="">
>> co-founder of FOSS4G<br class="">
>> <a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank" class="">http://gatewaygeo.com/</a> <<a href="http://gatewaygeo.com/" rel="noreferrer" target="_blank" class="">http://gatewaygeo.com/</a>><br class="">
>><br class="">
>><br class="">
>><br class="">
>> On 2020-12-30 9:56 a.m., Jeff McKenna wrote:<br class="">
>>> Hi Stephane,<br class="">
>>> Be sure to compile GEOS (3.9.0 is recommended from <br class="">
>>> <a href="http://download.osgeo.org/geos/geos-3.9.0.tar.bz2" rel="noreferrer" target="_blank" class="">http://download.osgeo.org/geos/geos-3.9.0.tar.bz2</a> ), and then add <br class="">
>>> into your cmake command: -DWITH_GEOS=1<br class="">
>>> Wishing you a happy new year,<br class="">
>>> -jeff<br class="">
>><br class="">
>> _______________________________________________<br class="">
>> mapserver-users mailing list<br class="">
>> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank" class="">mapserver-users@lists.osgeo.org</a><br class="">
>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br class="">
> <br class="">
<br class="">
_______________________________________________<br class="">
mapserver-users mailing list<br class="">
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank" class="">mapserver-users@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br class="">
</blockquote></div>
_______________________________________________<br class="">mapserver-users mailing list<br class=""><a href="mailto:mapserver-users@lists.osgeo.org" class="">mapserver-users@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/mapserver-users<br class=""></div></blockquote></div><br class=""></div></body></html>