Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libssl problems on osx with only one app -> "dyld: Library not loaded" & "Image not found"



Hello,

I've been told a number of times, now, that my issues (below) are specific to libssl-on-mac.

Might someone lend a hand?

I've an application (Dovecot, the imap server) I've built on MacOSX 10.4.7 .

I've also built an instance of OpenSSL 0.9.8b.

All _other_ apps that use my OpenSSL instance seem happy with it, and OpenSSL functions as I'd expect.

But, when I use/test Dovecot, I get log errors:

    dovecot: Aug 18 07:06:50 Error: IMAP(paulg): dyld: Library not loaded:
/usr/local/ssl/lib/libssl.0.9.8.dylib
    dovecot: Aug 18 07:06:50 Error: IMAP(paulg):   Referenced from:
/usr/local/dovecot/libexec/dovecot/imap
    dovecot: Aug 18 07:06:50 Error: IMAP(paulg):   Reason: image not found
    dovecot: Aug 18 07:06:51 Error: child 14963 (imap) killed with signal 5

Looking at the libraries linked into the
"/usr/local/dovecot/libexec/dovecot/imap" executable, I see

  /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/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
  /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.1.6)

And, checking "/usr/local/ssl/lib/libssl.0.9.8.dylib",

  ls /usr/local/ssl/lib/libssl.0.9.8.dylib
   /usr/local/ssl/lib/libssl.0.9.8.dylib


Amidst all the OpenSSL <-> Dovecot <-> OSX finger pointing, might someone provide a little guidance as to where/what/how to fix/troubleshoot this?

Many thanks!

Paul
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.