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.

Related Objects

joernc created this task.Mar 27 2018, 3:51 PM
wiz added a subscriber: wiz.Mar 27 2018, 4:22 PM
werner triaged this task as High priority.Mar 27 2018, 6:23 PM
werner added a project: gpgrt.
werner added a project: Solaris.
BenM added a subscriber: BenM.Apr 11 2018, 4:19 AM
gniibe claimed this task.Apr 12 2018, 2:45 AM
gniibe changed the task status from Open to Testing.
gniibe added a subscriber: gniibe.

Put the check in configure.

werner added a subscriber: werner.Apr 12 2018, 8:24 AM

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

werner closed this task as Resolved.Apr 30 2018, 8:57 AM

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