Page MenuHome GnuPG

libgpg-error-1.28 on Solaris
Closed, ResolvedPublic


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 ./
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/ -R/usr/local/lib -R/opt/pkg-hrz/20180102/lib
Undefined first referenced
symbol in file
socket ./.libs/
connect ./.libs/
inet_addr ./.libs/
ld: fatal: symbol referencing errors

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

Related Objects

Event Timeline

werner triaged this task as High priority.Mar 27 2018, 6:23 PM
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.