Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 12:03:47 -0800
From:      Yuri <yuri@rawbw.com>
To:        "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   Conflicts between libcrypto.so.8 from port vs. libcrypto.so.6 from the base
Message-ID:  <52FE76A3.8020607@rawbw.com>

next in thread | raw e-mail | index | archive | help
While tracking down the crash in libssl on 9.2, I found that it was due 
to this conflict.

First problem is that curl that I build always links with libcrypto.so.8 
installed by openssl-1.0.1_9, and curl coming from the repository comes 
built with  libcrypto.so.6 from the base system.
There is also the warning during curl build:
/usr/bin/ld: warning: libcrypto.so.6, needed by /usr/lib/libheimntlm.so, 
may conflict with libcrypto.so.8
openssl is installed because a bunch of other ports depend on it.

So one problem is this ftp/curl build volatility (it links to 
libcrypto.so.8, when security/openssl is installed even though it 
doesn't depend on it).

The second problem is that the program that depends on two ports, one of 
which is built with security/openssl, and another one depends on the 
base openssl, will always crash due to this conflict.
And some packages are built with USE_OPENSSL and some aren't.

Shouldn't every port that needs libcrypto/libssl always depend on 
security/openssl to avoid such problems?

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FE76A3.8020607>