Bug 191167 - [patch] graphics/mapserver fails to build with libgdal (when WMS is on)
Summary: [patch] graphics/mapserver fails to build with libgdal (when WMS is on)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Some People
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-18 19:07 UTC by Gleb Smirnoff
Modified: 2014-06-19 05:36 UTC (History)
0 users

See Also:


Attachments
the patch (305 bytes, patch)
2014-06-18 19:08 UTC, Gleb Smirnoff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Smirnoff freebsd_committer freebsd_triage 2014-06-18 19:07:47 UTC
If we link mapserver against libgdal it fails to link:

===>  Building for mapserver-6.4.0_3
[ 92%] Built target mapserver
Linking C executable legend
libmapserver.so.6.4.0: undefined reference to `libiconv'
libmapserver.so.6.4.0: undefined reference to `libiconv_close'
libmapserver.so.6.4.0: undefined reference to `libiconv_open'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Attached patch fixes.
Comment 1 Gleb Smirnoff freebsd_committer freebsd_triage 2014-06-18 19:08:12 UTC
Created attachment 143907 [details]
the patch