ports/87831: hyperestraier does not compile with libiconv-1.9.2_1
Jukka A. Ukkonen
jau at iki.fi
Sat Oct 22 08:10:17 UTC 2005
>Number: 87831
>Category: ports
>Synopsis: hyperestraier does not compile with libiconv-1.9.2_1
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 22 08:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jukka A. Ukkonen
>Release: 4.11-STABLE
>Organization:
private citizen
>Environment:
FreeBSD mjolnir 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Sep 21 07:56:19 EET DST 2005 jau at mjolnir:/home/src/sys/compile/Mjolnir i386
>Description:
When running make for the port it ends like this...
LD_RUN_PATH=/lib:/usr/lib:/home/jau/lib:/usr/local/lib:/usr/local/lib cc -Wall -ansi -pedantic -fPIC -fsigned-char -O -pipe -D_THREAD_SAFE -o dpmgr dpmgr.o -L. -L/home/jau/lib -L/usr/local/lib -lqdbm -lz -pthread -lc
./libqdbm.so: undefined reference to `libiconv_open'
./libqdbm.so: undefined reference to `libiconv_close'
./libqdbm.so: undefined reference to `pow'
./libqdbm.so: undefined reference to `libiconv'
*** Error code 1
Stop in /opt/ports/databases/qdbm/work/qdbm-1.8.33.
*** Error code 1
Stop in /opt/ports/databases/qdbm.
*** Error code 1
Stop in /opt/ports/textproc/hyperestraier.
>How-To-Repeat:
Try make with libiconv-1.9.2_1 installed on FreeBSD-4.11-STABLE.
(In fact any FreeBSD version should produce the same results.)
>Fix:
The correct names to refer in code would be iconv_open, icon_close,
etc.
The missing pow() simply lacks -lm during the linking phase.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list