编译 postgis2.5.0 出错

2018-10-15 11:08:16 +08:00
 buxingdebeiju

编译 postgis2.5.0 出现如下错误 /usr/local/sfcgal/lib64/libSFCGAL.so.1: undefined reference to boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::string const&)' /usr/local/sfcgal/lib64/libSFCGAL.so.1: undefined reference toboost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, char, std::char_traits<char> >::save(std::string const&)' /usr/local/sfcgal/lib64/libSFCGAL.so.1: undefined reference to boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::string&)' collect2: error: ld returned 1 exit status make[2]: *** [raster2pgsql] Error 1 make[2]: Leaving directory/root/postgis-2.5.0/raster/loader' make[1]: *** [rtloader] Error 2 make[1]: Leaving directory `/root/postgis-2.5.0/raster' make: *** [all] Error 1</char>

boost 是自己编译的 1.66 版本,SFCGAL 也是自己编译的 1.3.4 版本,请问有谁知道该如何解决吗?

1181 次点击
所在节点    程序员
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/497686

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX