AFP548 Changing the world one server at a time.

libmcrypt and 10.2

Home › Forums › Archive › Exim Installer › libmcrypt and 10.2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #354640
    smeger
    Participant

    I’m not clear on the issue with libmcrypt and Jaguar. I got the impression that the Exim installer would allow people using Jaguar to install and use Exim, but when I try to execute it, I get a dyld linker error saying that the ‘crypt’ symbol is undefined.

    Is the installer supposed to get around this, or are people on Jag out of luck.

    Sorry if this is a dumb question – I’m not clear on this from your webpage.

    Oh, I’m running OS X, not OS X Server. Dunno if that makes a difference. I also tried compiling libmcrypt myself and ran into a problem with flat namespaces. I assume that that’s the problem with Jaguar you refer to.

    #354643
    smeger
    Participant
    [localhost:/Library/StartupItems/Exim] smeger% cd /Library/StartupItems/Exim/
    [localhost:/Library/StartupItems/Exim] smeger% sudo ./Exim start
    Starting Exim
    dyld: /usr/exim/bin/exim Undefined symbols:
    /usr/exim/bin/exim undefined reference to _crypt expected to be defined in /usr/lib/libcrypto.0.9.dylib
    ./Exim: line 25: 10600 Trace/BPT trap          /usr/exim/bin/exim -bd -q30m

    When I run ‘nm /usr/lib/libcrypto.0.9.dylib | less’, I see that libcrypto is not exporting the symbol _crypt, although there are lots of variants of encrypt and decrypt. ‘locate libmcrypto’ turns up an empty directory at /usr/local/lib/libmcrypt.

    Also, at the end of the installation article, the text that should be entered into /etc/hostconfig is wrong. Lose the colon on the assignment. Someone’s been coding too much pascal! 🙂

    Thanks for the help, and for the great article!

    #354646
    smeger
    Participant

    MacTroll wrote:

    You haven’t messed with your openssl install have you?

    With Exim 4.10 on OSX 10.2 it should be pulling all of the crypto stuff from the openssl libraries. This is why you don’t need libmcrypt with Exim 4.10.

    Joel

    Yup, that was it – I’m not sure how they got messed up, but I compared filesizes with those on my iBook’s Jaguar install, and they were different. Copying over libcrypto and libssl did the trick.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.