ssl "dyld: Library not loaded" with either cyrus-imap v2.3.7 *or* cvs-head

OpenMacNews openmacnews at gmail.com
Wed Sep 6 21:55:14 EDT 2006


i've been fighting this for awhile; i've posted b4, with no 'bites'.

trying again ...

i'm building Cyrus-IMAP on OSX 10.4.7.

with EITHER v2.3.7 OR latest cvs-head, configured  w/:

	setenv LDFLAGS "-L/usr/local/berkeley-db/lib -ldb 
-L/usr/local/cyrus-sasl/lib -lsasl2 -lresolv -L/usr/local/ssl/lib -lssl 
-lcrypto"
	setenv CPPFLAGS "-I/usr/local/berkeley-db/include 
-I/usr/local/cyrus-sasl/include -I/usr/local/ssl/include"
	
	./configure \
	--enable-static=no --enable-shared=yes \
	--with-cyrus-user=cyrus_imap --with-cyrus-group=cyrus_imap \
	--prefix=/usr/local/syrus-imap \
	--with-bdb \
	--with-bdb-libdir=/usr/local/berkeley-db/lib \
	--with-bdb-incdir=/usr/local/berkeley-db/include \
	  --with-sasl=/usr/local/cyrus-sasl \
	--with-openssl=/usr/local/ssl \
	--with-perl=/usr/local/perl5/bin/perl \
	--with-libwrap \
	--with-auth=unix --without-krb \
	--with-idle=idled \
	--disable-gssapi --without-gss_impl \
	--enable-listext \
	--enable-server \
	--enable-cyradm \
	--disable-cmulocal \
	--enable-murder \
	--with-syslogfacility=LOCAL6 \
	--enable-sieve \
	--with-snmp=/usr/local/net-snmp \
	--disable-nntp\
	--with-com_err=yes

subsequent:

	make depend
	make all
	make install

are all, seemingly, w/o error, resulting in:


	otool -L /usr/local/cyrus-imap/libexec/imapd
		/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 88.1.6)
		/usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 
0.0.0, current version 0.0.0)
		/usr/local/cyrus-sasl/lib/libsasl2.2.dylib (compatibility version 
3.0.0, current version 3.22.0)
		/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current 
version 369.5.0)
		/usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
		/usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version 
0.9.8, current version 0.9.8)
		/usr/lib/libwrap.7.dylib (compatibility version 7.0.0, current 
version 7.6.0)
		/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
	
	otool -L /usr/local/cyrus-imap/libexec/master
		/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 88.1.6)
		/usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 
0.0.0, current version 0.0.0)
		/usr/local/cyrus-sasl/lib/libsasl2.2.dylib (compatibility version 
3.0.0, current version 3.22.0)
		/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current 
version 369.5.0)
		/usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version 
0.9.8, current version 0.9.8)
		/usr/local/net-snmp/lib/libnetsnmpmibs.9.dylib (compatibility version 
10.0.0, current version 10.1.0)
		/usr/local/net-snmp/lib/libnetsnmpagent.9.dylib (compatibility 
version 10.0.0, current version 10.1.0)
		/usr/local/net-snmp/lib/libnetsnmphelpers.9.dylib (compatibility 
version 10.0.0, current version 10.1.0)
		/usr/local/net-snmp/lib/libnetsnmp.9.dylib (compatibility version 
10.0.0, current version 10.1.0)
		/usr/lib/libwrap.7.dylib (compatibility version 7.0.0, current 
version 7.6.0)
 
	/usr/local/perl_libs/privlib/darwin-thread-multi-2level/CORE/libperl.dylib 
(compatibility version 5.8.0, current version 5.8.8)
		/usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
		/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)


when i attempt to start cyrus with:

	/usr/local/cyrus-imap/libexec/master \
	-C /var/MailServer/Conf/Cyrus/imapd.conf \
	-M /var/MailServer/Conf/Cyrus/cyrus.conf \
	-p /var/MailServer/Process/cyrus_master.pid \
	-D

i see in console:

	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/ctl_cyrusdb
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/idled
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/ctl_cyrusdb
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/imapd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	dyld: Library not loaded: /usr/local/ssl/lib/libssl.0.9.8.dylib
	  Referenced from: /usr/local/cyrus-imap//libexec/lmtpd
	  Reason: image not found
	...

but /usr/local/ssl/lib/libssl.0.9.8.dylib, most certainly exists and is 
widely used by other apps.

what do I need to do to get the ssl lib recognized?

thanks,

richard


-- 

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6



More information about the Info-cyrus mailing list