You shouldn't be needing any iconv specific switches on centos. Start anew (rm -rf * in the build directory) and just run cmake -DCMAKE_INSTALL_PREFIX=/opt
Thomas On Jun 23, 2015 22:25, "Mérette, Jacques (Consultant)" < jacques.merett...@mtq.gouv.qc.ca> wrote: > Hi, > > > > I try to install MapServer 7 (beta) on CentOS 7 and I have the following > error: > > > > [root@localhost build]# cmake -DCMAKE_INSTALL_PREFIX=/opt > --with-libiconv=/usr/local/lib .. >../configure.out.txt > > > > > > [root@localhost build]# make > > [ 73%] Built target mapserver > > Linking C executable legend > > libmapserver.so.7.1-dev: undefined reference to `libiconv_open' > > libmapserver.so.7.1-dev: undefined reference to `libiconv_close' > > libmapserver.so.7.1-dev: undefined reference to `libiconv' > > collect2: error: ld returned 1 exit status > > make[2]: *** [legend] Error 1 > > make[1]: *** [CMakeFiles/legend.dir/all] Error 2 > > make: *** [all] Error 2 > > > > I tried different switches (--with-libiconv-prefix and –liconv) without > success. Any ideas???? > > > > Thx > > *Jacques Mérette* > > Architecte technologique > > Division des infrastructures technologiques > > Service des infrastructures technologiques appliquées aux opérations > > Direction des technologies de l’information > > Ministère des Transports du Québec > > Tél: 418-643-5350 # 24685 > > jacques.merett...@mtq.gouv.qc.ca > > > > Boîte commune : architectes-technologique._c-...@mtq.gouv.qc.ca > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users