[GRASS-dev] [GRASS GIS] #2940: Compiling Grass-7.0.3 under FreeBSD: tplot directory (with log)
GRASS GIS
trac at osgeo.org
Tue Mar 1 06:08:39 PST 2016
#2940: Compiling Grass-7.0.3 under FreeBSD: tplot directory (with log)
----------------------+-------------------------
Reporter: pieside | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Default | Version: 7.0.3
Resolution: | Keywords: FreeBSD
CPU: x86-64 | Platform: Other Unix
----------------------+-------------------------
Comment (by glynn):
Replying to [comment:2 pieside]:
> The problems seems to be an old friend:
>
{{{
/home/pierre/tmp/grass7/grass-7.0.3/dist.x86_64-unknown-
freebsd10.2/lib/libgrass_gis.7.0.3.so: undefined reference to `libiconv'
}}}
This usually means that it's including <iconv.h> from libiconv but linking
against the system iconv (which may be part of libc).
One way to solve issues with multiple library versions is to create
"include" and "lib" directories, populate them with symlinks to the
desired versions of the headers and libraries, and use --with-includes=
and --with-libs= to put those directories at the front of the search path.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2940#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list