bookweevil

13 May 2007

exim on cygwin — missing DLLs

Filed under: cygwin — bookweevil @ 12:41 am

The problem: newly installed exim for cygwin doesn’t work. When run, exim exits immediately without producing any error message or sending anything to its logs.

Solution:

In my case, this resulted from missing DLLs in the openssl package. It seems setup.exe does not properly detect and install exim’s dependencies. Normally, if a cygwin program I’ve run is missing the DLLs needed, in the past I’ve received an error message listing the missing DLLs; but exim didn’t do this.

Instead, I had to use cygcheck (as described here) to find out the missing DLLs:

C:/cygwin/bin/exim-4.66-1.exe
  C:/cygwin/bincygcrypt-0.dll
    C:/cygwin/bincygwin1.dll
      C:WINDOWSsystem32ADVAPI32.DLL
        C:WINDOWSsystem32ntdll.dll
        C:WINDOWSsystem32KERNEL32.dll
        C:WINDOWSsystem32RPCRT4.dll
  C:/cygwin/bincygcrypto-0.9.8.dll
  C:/cygwin/bincyggdbm-4.dll
  C:/cygwin/bincygiconv-2.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cygldap-2-3-0.dll
  C:/cygwin/bincygminires.dll
  C:/cygwin/bincygssl-0.9.8.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cyglber-2-3-0.dll

And then use the cygwin site’s pacakage search facility (found here, with an illustration of its use here) to find out what packages I was missing and install them.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: