Re: Compile error for opendkim-2.2.2 on Solaris 10

From: Gary Mills <mills_at_cc.umanitoba.ca>
Date: Tue, 1 Feb 2011 08:20:08 -0600

On Mon, Jan 31, 2011 at 11:03:58PM -0500, John Smith wrote:
>
> I tried to compile opendkim-2.2.2 against openssl-1.0.0c on Solaris 10
> and got the following link errors. I have tried different openssl
> versions with SHA256 support and got the same compilation errors. If I
> compile against openssl version (openssl-0.9.7f) without SHA256
> support, the compile went successfully. Did I miss anything here? Any
> help would be greatly appreciated. Thanks in advance.
>
> Here is the details:
> OS: Solaris 10 (10/2009)
> To configure openssl-1.0.0c before make: ./config --prefix=/usr/sfw
> --openssldir=/usr/sfw/openssl
> To configure opendkim-2.2.2 before make: ./configure
> --with-openssl=/usr/sfw

This does work for me. I'm using openssl-0.9.8f installed in
/usr/local. Relevant configuration options for opendkim-2.2.2 are:

    env LDFLAGS="-R/usr/local/BerkeleyDB.4.4/lib:/usr/local/openssl/lib" \
    ./configure \
    --with-openssl=/usr/local/openssl \

This is the run-time library path:

    $ dump -Lv opendkim/.libs/opendkim | grep RUNPATH
    [13] RUNPATH /usr/local/lib:/usr/local/BerkeleyDB.4.4/lib:/usr/local/openssl/lib

-- 
-Gary Mills-        -Unix Group-        -Computer and Network Services-
Received on Tue Feb 01 2011 - 14:20:19 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:16 PST