pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53133: security/libgpg-error 1.28 fails to build on Solaris 11
>Number: 53133
>Category: pkg
>Synopsis: security/libgpg-error 1.28 fails to build on Solaris 11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 27 13:25:00 +0000 2018
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Building security/libgpg-error version 1.28 fails on Solaris 11.3 with
libtool: link: gcc -O2 -D_FORTIFY_SOURCE=2 -I/opt/pkgsrc/pkg-hrz/pkgsrc/security/libgpg-error/work.pkgsrc-sol11i86/.buildlink/include -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -Wl,-rpath -Wl,/opt/pkg-hrz/20180102/lib -o .libs/gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o -Wl,-rpath -Wl,/opt/pkg-hrz/20180102/lib -L/opt/pkgsrc/pkg-hrz/pkgsrc/security/libgpg-error/work.pkgsrc-sol11i86/.buildlink/lib ./.libs/libgpg-error.so /opt/pkgsrc/pkg-hrz/pkgsrc/security/libgpg-error/work.pkgsrc-sol11i86/.buildlink/lib/libintl.so /opt/pkgsrc/pkg-hrz/pkgsrc/security/libgpg-error/work.pkgsrc-sol11i86/.buildlink/lib/libiconv.so -lc -R/opt/pkg-hrz/20180102/lib -R/opt/pkgsrc/pkg-hrz/pkgsrc/security/libgpg-error/work.pkgsrc-sol11i86/.buildlink/lib
Undefined first referenced
symbol in file
socket ./.libs/libgpg-error.so
connect ./.libs/libgpg-error.so
inet_addr ./.libs/libgpg-error.so
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
>How-To-Repeat:
>Fix:
Throw in the usual LDFLAGS:
--- Makefile 2018/03/27 13:20:20 1.1
+++ Makefile 2018/03/27 13:20:49
@@ -22,6 +22,8 @@
MAKE_JOBS_SAFE= no
INFO_FILES= yes
+LDFLAGS.SunOS += -lsocket -lnsl
+
.include "../../mk/bsd.prefs.mk"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
Home |
Main Index |
Thread Index |
Old Index