On Fri, May 27, 2005, Jean-Marc LIGER wrote: > Hi All, I'm new, on this list, > > I searched in the openpkg archives and on > yahoo/google but I find nothing to help me yet... > > I'm using openpkg-2.3.1 on the definitively bullshit for opensource Solaris > 9 > > So now let's explain my problem : > > I compile first sasl with pam option --> ok > I compile after openldap with sasl option --> ok > > I compile finally sasl with pam + ldap options with the follawing errors : > > /openpkg/lib/libldap.a(cyrus.o)(.text+0x94): In function sasl_version'
Well, i can see the problem, but it is late, i'll look again tomorrow morning. When someone else wants to pick this up - it looks as if the mail was crippled, somehow. Here is the output, i get: /opkg/home/bin/gcc -O2 -pipe -I/opkg/include -DAUTH_LDAP -L/opkg/lib -R/opkg/l ib -L/opkg/lib -R/opkg/lib -L/opkg/lib -L/opkg/lib -o saslauthd mechanisms.o au th_dce.o auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o auth_sh adow.o auth_sia.o auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o ipc _doors.o saslauthd-main.o md5.o -lcrypt -lldap -llber -lssl -lcrypto -lresolv -lpam -lresolv -lresolv -ldb -lfsl -lsocket -lnsl -lrt /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_init': cyrus.c:(.text+0xe): undefined reference to 'sasl_version' cyrus.c:(.text+0x9e): undefined reference to 'sasl_client_init' /opkg/lib/libldap.a(cyrus.o): In function 'sb_sasl_setup': cyrus.c:(.text+0x131): undefined reference to 'sasl_getprop' /opkg/lib/libldap.a(cyrus.o): In function 'sb_sasl_read': cyrus.c:(.text+0x39f): undefined reference to 'sasl_decode' cyrus.c:(.text+0x4c8): undefined reference to 'sasl_errstring' /opkg/lib/libldap.a(cyrus.o): In function 'sb_sasl_write': cyrus.c:(.text+0x599): undefined reference to 'sasl_encode' cyrus.c:(.text+0x5ed): undefined reference to 'sasl_errstring' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_open': cyrus.c:(.text+0x7e7): undefined reference to 'sasl_client_new' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_close': cyrus.c:(.text+0x854): undefined reference to 'sasl_dispose' cyrus.c:(.text+0x86f): undefined reference to 'sasl_dispose' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_external': cyrus.c:(.text+0x8ad): undefined reference to 'sasl_setprop' cyrus.c:(.text+0x8cc): undefined reference to 'sasl_setprop' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_bind': cyrus.c:(.text+0xa75): undefined reference to 'sasl_setprop' cyrus.c:(.text+0xaee): undefined reference to 'sasl_client_start' cyrus.c:(.text+0xb3d): undefined reference to 'sasl_dispose' cyrus.c:(.text+0xc2a): undefined reference to 'sasl_client_step' cyrus.c:(.text+0xcb2): undefined reference to 'sasl_getprop' cyrus.c:(.text+0xcec): undefined reference to 'sasl_getprop' cyrus.c:(.text+0xd6b): undefined reference to 'sasl_dispose' cyrus.c:(.text+0xe9a): undefined reference to 'sasl_errdetail' cyrus.c:(.text+0xf05): undefined reference to 'sasl_errdetail' cyrus.c:(.text+0xf89): undefined reference to 'sasl_errdetail' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_get_option': cyrus.c:(.text+0x12c3): undefined reference to 'sasl_getprop' /opkg/lib/libldap.a(cyrus.o): In function 'ldap_int_sasl_set_option': cyrus.c:(.text+0x139c): undefined reference to 'sasl_setprop' collect2: ld returned 1 exit status I guess there should be something like -lsasl in the link-line after -lldap. (mk) -- Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47 >> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) << ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [email protected]
