Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2016 11:47:45 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions <questions@freebsd.org>
Subject:   Re: OPENSSL Base?
Message-ID:  <CAAdA2WOpvDxatuoVfDY5pAXc7bKKHniHt1AygRk5LDBh4WN97w@mail.gmail.com>
In-Reply-To: <CAAdA2WNmmswev6j=SW1NgTK%2BwmGBJgbN5-2Q-=QOjuv1EgS%2BSw@mail.gmail.com>
References:  <CAAdA2WN77bGfh=96BFHGoZB%2BVo1RVvn3TniD%2BTFBp5_b%2BephUg@mail.gmail.com> <CAAdA2WNmmswev6j=SW1NgTK%2BwmGBJgbN5-2Q-=QOjuv1EgS%2BSw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 July 2016 at 11:29, Odhiambo Washington <odhiambo@gmail.com> wrote:

>
>
> On 9 July 2016 at 11:18, Odhiambo Washington <odhiambo@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@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@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@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."



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