OPENSSL Base?

Odhiambo Washington odhiambo at gmail.com
Sat Jul 9 08:48:27 UTC 2016


On 9 July 2016 at 11:29, Odhiambo Washington <odhiambo at gmail.com> wrote:

>
>
> On 9 July 2016 at 11:18, Odhiambo Washington <odhiambo at gmail.com> wrote:
>
>> Hello,
>>
>> FreeBSD 9.3-STABLE here.
>>
>> I am trying to install ports and I keep hitting this error:
>>
>> Dependency error: This port wants the OpenSSL library from the FreeBSD
>> base system. You can't build against it, while a newer version is
>> installed by a port.
>> Please deinstall the port, remove DEFAULT_VERSIONS=ssl=base or undefine
>> WITH_OPENSSL_BASE.
>> *** [check-depends] Error code 1
>>
>> Stop in /usr/ports/www/apache24.
>> *** [stage] Error code 1
>>
>> Stop in /usr/ports/www/apache24.
>>
>>
>> AFAIAC, there is no newer version of openssl installed by any port.
>>
>>
>> Defining either of the following below in /etc/make.conf doesn't seem to
>> help:
>>
>> WITH_OPENSSL_BASE=1
>> DEFAULT_VERSIONS+=ssl=base
>>
>>
>> root at waridi:/usr/ports/www/apache24 # make
>> /!\ WARNING /!\
>> Using WITH_OPENSSL_BASE in make.conf is deprecated, replace it with
>> DEFAULT_VERSIONS+=ssl=base in your make.conf
>>
>> Dependency error: This port wants the OpenSSL library from the FreeBSD
>> base system. You can't build against it, while a newer
>> version is installed by a port.
>> Please deinstall the port, remove DEFAULT_VERSIONS=ssl=base or undefine
>> WITH_OPENSSL_BASE.
>> *** [check-depends] Error code 1
>>
>> Stop in /usr/ports/www/apache24.
>> *** [stage] Error code 1
>>
>> Stop in /usr/ports/www/apache24.
>>
>>
>>
>> What exactly is happening?
>>
>>
>> --
>> Best regards,
>> Odhiambo WASHINGTON,
>> Nairobi,KE
>> +254 7 3200 0004/+254 7 2274 3223
>> "Oh, the cruft."
>>
>
> Sorry to reply to myself, but I can see something odd now. There are
> actually two versions of openssl on this box. Not sure what happened.
>
> root at waridi:/usr/ports/www/apache24 # /usr/local/bin/openssl version
> WARNING: can't open config file: /usr/local/openssl/openssl.cnf
> OpenSSL 1.0.1h 5 Jun 2014
>
> root at waridi:/usr/ports/www/apache24 # openssl version
> OpenSSL 0.9.8zh-freebsd 3 Dec 2015
>
> I believe I need to uninstall the one in /usr/local/bin. How to know what
> port installed it is the problem now.
>


Please ignore all the noise. I have found a way out!

I decided to use the security/openssl for everything now so I just added to
make.conf:

 DEFAULT_VERSIONS+=ssl=openssl



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list