Bug 200755 - print/cups-image: libiconv.so.2, needed by ../cups/libcups.so, not found
Summary: print/cups-image: libiconv.so.2, needed by ../cups/libcups.so, not found
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2015-06-10 07:04 UTC by Justin Yang
Modified: 2015-06-11 12:18 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Justin Yang 2015-06-10 07:04:50 UTC
After updating ports tree to the latest just now, I failed to compile the `print/cups-image` in poudriere, with the following errors:

/usr/bin/ld: warning: libiconv.so.2, needed by ../cups/libcups.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: commandtops: hidden symbol `iconv_open' in /usr/lib/libc_nonshared.a(iconv_open.o) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:252: recipe for target 'commandtops' failed
gmake[2]: *** [commandtops] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/print/cups-image/work/cups-2.0.3/filter'
Makefile:31: recipe for target 'all' failed
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/print/cups-image/work/cups-2.0.3'
*** Error code 1

And the full log of poudriere is here: http://pastebin.com/1CDV3Kaj .

My computer runs FreeBSD amd64 10.1-RELEASE-p10. Feel free to contact me if you need more information. Thanks.
Comment 1 commit-hook freebsd_committer 2015-06-11 12:07:19 UTC
A commit references this bug:

Author: girgen
Date: Thu Jun 11 12:06:47 UTC 2015
New revision: 389195
URL: https://svnweb.freebsd.org/changeset/ports/389195

  Add missing iconv library.

  PR:	200755