Compiling Cyrus-SASL GIT master on Solaris 11.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi everybody,

I am trying to compile the HEAD of the Cyrus-SASL github repository on a Solaris 11.3 x86_64 machine using the Oracle Developer Studio 12.5.

However, it ends when it tries to link the complaining that a libobj.a is missing:

makr@sun2:~/sun2/cyrus-sasl-2.1.27-GIT$ (PATH="`getconf PATH`" ./configure; gmake)
[… skipping to the last few lines …]
source='../plugins/plugin_common.c' object='../plugins/plugin_common.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1  -g -c -o ../plugins/plugin_common.lo ../plugins/plugin_common.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -g -c ../plugins/plugin_common.c  -KPIC -DPIC -o ../plugins/.libs/plugin_common.o
/bin/sh ../libtool  --tag=CC   --mode=link cc  -g   -o    -lresolv -lresolv   -lsocket
libtool: link: ar cru .libs/libobj.a
libtool: link: ranlib .libs/libobj.a
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )
/bin/sh ../libtool  --tag=CC   --mode=link cc  -g -version-info 3:0:0 -no-undefined  -o -rpath /usr/local/lib auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo ../plugins/plugin_common.lo -ldl -lsocket -lnsl -lsocket  -lresolv -lresolv   -lsocket
libtool: link: cc -G -z defs -h -o .libs/  .libs/auxprop.o .libs/canonusr.o .libs/checkpw.o .libs/client.o .libs/common.o .libs/config.o .libs/external.o .libs/md5.o .libs/saslutil.o .libs/server.o .libs/seterror.o .libs/dlopen.o ../plugins/.libs/plugin_common.o  -z allextract ./.libs/libobj.a -z defaultextract  -ldl -lnsl -lresolv -lsocket -lc
ld: fatal: file ./.libs/libobj.a: open failed: No such file or directory
gmake[3]: *** [] Error 2
gmake[3]: Leaving directory `/path/to/sun2/cyrus-sasl-2.1.27-GIT/lib'

There is indeed only a, but no libobj.a. The same behavior can be observed on a Solaris 11.3 sparc.

The autoconf stuff had been generated on a Linux box using autoconf 2.69.

However, the same sources do compile on various Linuxes as well as AIX 7.1 and even HP-UX 11iv3 using their native compilers.

Has this been observed before? Does anyone have an idea for a solution or workaround?

I thought I ask before opening a ticket …

Matthias Kraft
Sr. Software Specialist

Uhlandstrasse 12, 64297 Darmstadt, Germany

T: +49-6151-92-1791
E: matthias.kraft@xxxxxxxxxxxxxx

Software AG – Sitz/Registered office: Uhlandstraße 12, 64297 Darmstadt, Germany – Registergericht/Commercial register: Darmstadt HRB 1562 - Vorstand/Management Board: Karl-Heinz Streibich (Vorsitzender/Chairman), Eric Duffaut, Dr. Wolfram Jost, Arnd Zinnhardt; - Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Dr. Andreas Bereczky -

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux