[Fedora-directory-users] Problems building on Solaris 10

Graham Leggett minfrin at sharp.fm
Tue Dec 13 07:32:49 UTC 2005


Hi all,

I am trying to build Fedora DS on a Solaris 10/Intel machine, and have 
run into some trouble with a cyrus-sasl2 dependency.

While building ldapserver, I get this:

CC -DSOLARIS  -L../../../built/SunOS5.10_i86pc_OPT.OBJ/lib 
-R,../bin/slapd/lib:.:../lib:../../lib:../../../lib:../../../../lib -o 
../../../built/release/SunOS5.10_i86pc_OPT.OBJ/bin/slapd/server/ns-slapd 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/abandon.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/bind.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/compare.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/config.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/connection.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/daemon.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/sasl_io.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/detach.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/globals.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/house.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/init.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/monitor.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/saslbind.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/search.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/strdup.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/tempnam.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/unbind.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/extendop.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/rootdse.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/configdse.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/pw_mgmt.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/auth.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/psearch.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/conntable.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/stubs.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/protect_db.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/fileio.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/lite_entries.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/getopt_ext.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/start_tls_extop.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/passwd_extop.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/fedse.o 
../../../built/SunOS5.10_i86pc_OPT.OBJ/servers/obj/main.o  -lmtmalloc 
-L../../../built/release/SunOS5.10_i86pc_OPT.OBJ/bin/slapd/server 
-lslapd -lldapu -L../../../../mozilla/dist/SunOS5.10_i86pc_OPT.OBJ/lib 
-lssl3 -lnss3 -lsoftokn3 -L../../../../mozilla/dist/lib -lssldap50 
-lldap50 -lprldap50 
-L../../../../mozilla/dist/SunOS5.10_i86pc_OPT.OBJ/lib -lplc4 -lplds4 
-lnspr4  -L../../../../mozilla/dist/SunOS5.10_i86pc_OPT.OBJ/lib -ldbm 
-lavl -lldif -llitekey -lresolv -lsocket -lnsl -lgen -ldl -lposix4 -lw 
-lthread -L../../../../mozilla/dist/SunOS5.10_i86pc_OPT.OBJ/lib 
-lsvrcore -L../../../../cyrus-sasl-2.1.20/lib -lsasl2 
-L../../../../db-4.2.52.NC/built/.libs -ldb-4.2
ld: warning: file libucb.so.1: required by 
../../../built/release/SunOS5.10_i86pc_OPT.OBJ/bin/slapd/server/libslapd.so, 
not found
Undefined                       first referenced
  symbol                             in file
gss_inquire_context 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_display_status 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_import_name 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
GSS_C_NT_USER_NAME 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
GSS_C_NT_HOSTBASED_SERVICE 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_accept_sec_context 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_unwrap 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_wrap 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_delete_sec_context 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_release_buffer 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_compare_name 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_display_name 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_acquire_cred 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_wrap_size_limit 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_init_sec_context 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_release_cred 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
gss_release_name 
../../../../cyrus-sasl-2.1.20/lib/libsasl2.a(gssapi.o)
ld: fatal: Symbol referencing errors. No output written to 
../../../built/release/SunOS5.10_i86pc_OPT.OBJ/bin/slapd/server/ns-slapd
gmake[3]: *** 
[../../../built/release/SunOS5.10_i86pc_OPT.OBJ/bin/slapd/server/ns-slapd] 
Error 1
gmake[3]: Leaving directory `/root/src/ldap/ldapserver/ldap/servers/slapd'

Cycus-sasl was build with the following options:

./configure --enable-gssapi --enable-static --without-des 
--without-openssl --disable-shared

And yet despite being built statically, cyrus-sasl has left out the code 
from libgss.so, and ldapserver isn't picking up the code from libgss.so 
either, even though libgss.so is installed in /usr/lib.

Can anyone give me a clue as to what I am doing wrong?

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3220 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20051213/b10c1803/attachment.bin>


More information about the Fedora-directory-users mailing list