Page MenuHome GnuPG

libgpg-error-1.28 on Solaris
Closed, ResolvedPublic

Description

libgpg-error-1.28 on Solaris fails with

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -m64 -L/opt/pkg-hrz/20180102/lib -R/opt/pkg-hrz/20180102/lib -o gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o ./libgpg-error.la
libtool: link: gcc -g -O2 -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -m64 -o .libs/gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o -L/opt/pkg-hrz/20180102/lib ./.libs/libgpg-error.so -R/usr/local/lib -R/opt/pkg-hrz/20180102/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

The usual LDFLAGS "-lsocket -lnsl" need to be thrown in at some point.

Event Timeline

werner added a project: gpgrt.
werner added a project: Solaris.
gniibe changed the task status from Open to Testing.Apr 12 2018, 2:45 AM
gniibe claimed this task.
gniibe added a subscriber: gniibe.

Put the check in configure.

Argh. I missed that. Probably because I searched for libgpg-error but I myself renamed the tag recently :-(.

It is in 1.30 which I released a few minutes ago. Only minor other changes.