misc/184071: cannot build security/p11-kit: /usr/bin/ld: cannot find -lintl

Eugene M. Zheganin eugene at zhegan.in
Tue Nov 19 07:00:00 UTC 2013


>Number:         184071
>Category:       misc
>Synopsis:       cannot build security/p11-kit: /usr/bin/ld: cannot find -lintl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 19 07:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Eugene M. Zheganin
>Release:        10.0-BETA1
>Organization:
Norma LLC
>Environment:
FreeBSD wizard.hq.norma.perm.ru 10.0-BETA1 FreeBSD 10.0-BETA1 #1 r257042: Tue Oct 29 11:02:45 YEKT 2013     emz at ravenholm:/usr/obj/usr/src/sys/WIZARD  amd64
>Description:
Cannot build security/p11-kit, in the middle of the building process I get:

[...]
Making all in tests
gmake[4]: Entering directory `/usr/ports/security/p11-kit/work/p11-kit-0.20.1/p11-kit/tests'
  CCLD     mock-one.la
  CCLD     mock-two.la
/usr/bin/ld: cannot find -lintl
/usr/bin/ld: cannot find -lintl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [mock-two.la] Error 1
gmake[4]: *** Waiting for unfinished jobs....
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [mock-one.la] Error 1
gmake[4]: Leaving directory `/usr/ports/security/p11-kit/work/p11-kit-0.20.1/p11-kit/tests'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/security/p11-kit/work/p11-kit-0.20.1/p11-kit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/security/p11-kit/work/p11-kit-0.20.1'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/security/p11-kit/work/p11-kit-0.20.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/p11-kit
>How-To-Repeat:
Install security/p11-kit from ports.
>Fix:
Edit the /usr/ports/security/p11-kit/work/p11-kit-0.20.1/p11-kit/tests/Makefile, find the line

LDFLAGS =

and make it look

LDFLAGS = -L/usr/local/lib

then rerun make in the port's directory.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list