I attempted to rebuild Postfix with more options, but received the errors
below.  I have sasl, ssl, ldap, mysql installed, something else I need to
configure before compiling?  The errors indicate some libs are closed?

openpkg rpm --rebuild --define 'with_fsl yes' --define 'with_ssl yes'
--define 'with_sasl yes' --define 'with_mysql yes' --define 'with_ldap yes'
~mike/openpkg/src/postfix-2.0.18-2.0.0.src.rpm

Thanks.


- Mike


 ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
-L/openpkg/lib -ldb -lpcre -L/openpkg/lib/mysql -L/openpkg/lib
-lmysqlclient -lz -lm -lsasl2 -lcrypt -ldl -lssl -lcrypto -lldap -llber
-lssl -lcrypto -L/openpkg/lib -lfsl -lsocket -lnsl -lresolv -lsocket -lnsl
/openpkg/lib/libldap.a(cyrus.o)(.text+0xe): In function
`ldap_int_sasl_init':
: undefined reference to `sasl_version'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x99): In function
`ldap_int_sasl_init':
: undefined reference to `sasl_client_init'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x129): In function `sb_sasl_setup':
: undefined reference to `sasl_getprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x3e3): In function `sb_sasl_read':
: undefined reference to `sasl_decode'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x42d): In function `sb_sasl_read':
: undefined reference to `sasl_errstring'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x582): In function `sb_sasl_write':
: undefined reference to `sasl_encode'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x5b1): In function `sb_sasl_write':
: undefined reference to `sasl_errstring'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x77c): In function
`ldap_int_sasl_open':
: undefined reference to `sasl_client_new'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x810): In function
`ldap_int_sasl_close':
: undefined reference to `sasl_dispose'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x82b): In function
`ldap_int_sasl_close':
: undefined reference to `sasl_dispose'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x901): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_dispose'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x9ee): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_setprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xa28): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_client_start'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xb04): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_client_step'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xb95): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_getprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xbbf): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_getprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xc5e): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_dispose'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xc98): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_errdetail'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xcd6): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_errdetail'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xde8): In function
`ldap_int_sasl_bind':
: undefined reference to `sasl_errdetail'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xed9): In function
`ldap_int_sasl_external':
: undefined reference to `sasl_setprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0xef8): In function
`ldap_int_sasl_external':
: undefined reference to `sasl_setprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x124e): In function
`ldap_int_sasl_get_option':
: undefined reference to `sasl_getprop'
/openpkg/lib/libldap.a(cyrus.o)(.text+0x12d4): In function
`ldap_int_sasl_set_option':
: undefined reference to `sasl_setprop'
collect2: ld returned 1 exit status
make: *** [error] Error 1
make: *** [update] Error 1
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.1397 (%build)

RPM build errors:
    Bad exit status from /openpkg/RPM/TMP/rpm-tmp.1397 (%build)

[EMAIL PROTECTED]


______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to