[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] picking up non-system openssl on OS X



Hi!

On Sun, 23 Jun 2013 23:27:04 -0400, Charles Diza wrote:
> > This should work:
> > ./configure libssl_CFLAGS=... libssl_LIBS=...
> >
> 
> Sorry, what I'm asking for is (in part) what should (in theory) go on
> the right-hand side of 'libssl_CFLAGS=' and 'libssl_LIBS='.  I'm not
> advanced enough to know what those variables accept.

It might be easier to set PKG_CONFIG_PATH.

pkg-config is used to check for libraries and how they need to
be used. Each library has a .pc file that records that information.
This file usually lives in the lib/pkgconfig directory, for example
/usr/lib/pkgconfig/libssl.pc.

With PKG_CONFIG_PATH, you can tell pkg-config where to look for
these .pc files.

The following should pick up your local OpenSSL installation before
looking into system directories:

$ ./configure PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig:/usr/lib/pkgconfig

> What's the policy on this list about sending logs?  Do I send the
> whole log?  Do I gzip it first?

There's no policy, but maybe the mailing list has a maximum message
size, so compressing it is probably a good idea.

Regards,
Martin