[mapserver-users] Mapserver 7.6.2

Eichner, Andreas - SID Andreas.Eichner at sid.sachsen.de
Tue Jan 5 22:54:37 PST 2021


Good morning,

//opt/boost/lib/libboost_serialization.so.1.75.0: undefined reference to `std::uncaught_exceptions()@GLIBCXX_3.4.22'
collect2: error: ld returned 1 exit status

it seems that libboost_serialization is build against a different (newer) libstdc++  as is used during the MapServer build. 
I'd suggest to use the distribution provided boost libraries (v1.53) and the system's default compiler packages (wich includes libstdc++).

HTH

-----Ursprüngliche Nachricht-----
Von: Stephane Poissant <spoissantca at gmail.com> 
Gesendet: Dienstag, 5. Januar 2021 22:31
An: mapServer-users <mapserver-users at lists.osgeo.org>
Cc: Jeff McKenna <jmckenna at gatewaygeomatics.com>; Eichner, Andreas - SID <Andreas.Eichner at sid.sachsen.de>
Betreff: Mapserver 7.6.2

Boost 1.75 (compiled) success
CGAL-4.14 (compiled) success
Gets-3.9.0 (compiled) success
SFCGAL-1.3.9 (compiled) success

From repo:
gdal32-devel.x86_64                3.2.0-3.rhel7                    @pgdg-common
postgis30_12-devel.x86_64          3.0.3-3.rhel7                    @pgdg12
postgresql12-devel.x86_64          12.5-1PGDG.rhel7                 @pgdg12
proj72-devel.x86_64                7.2.0-3.rhel7                    @pgdg-common

[root at mapserver-0290 SFCGAL-v1.3.9]# ls -al /usr/lib64/libSFCGAL*
lrwxrwxrwx 1 root root       14 Jan  5 12:45 /usr/lib64/libSFCGAL.so -> libSFCGAL.so.1
lrwxrwxrwx 1 root root       18 Jan  5 19:55 /usr/lib64/libSFCGAL.so.1 -> libSFCGAL.so.1.3.9
-rwxr-xr-x 1 root root 13543200 Jan  5 19:55 /usr/lib64/libSFCGAL.so.1.3.9

Mapserver 7.6.2 (unable to fully compile)

//snip//

[ 79%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/shape.cpp.o
[ 80%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o
[ 81%] Linking CXX shared library libmapserver.so
make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'
[ 81%] Built target mapserver
make[3]: Entering directory `/root/inst/mapserver-7.6.2/build'
Scanning dependencies of target shptreetst
make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'
make[3]: Entering directory `/root/inst/mapserver-7.6.2/build'
[ 82%] Building C object CMakeFiles/shptreetst.dir/shptreetst.c.o
[ 82%] Linking C executable shptreetst
//opt/boost/lib/libboost_serialization.so.1.75.0: undefined reference to `std::uncaught_exceptions()@GLIBCXX_3.4.22'
collect2: error: ld returned 1 exit status
make[3]: *** [shptreetst] Error 1
make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'
make[2]: *** [CMakeFiles/shptreetst.dir/all] Error 2
make[2]: Leaving directory `/root/inst/mapserver-7.6.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/inst/mapserver-7.6.2/build'
make: *** [cmakebuild] Error 2

I am uncertain what could cause this issue.
Any suggestions?


Stéphane Poissant  

Portable: 514-793-3506
spoissantca at gmail.com <mailto:spoissantca at gmail.com> 

 



More information about the mapserver-users mailing list