From owner-freebsd-questions@freebsd.org Sat Jul 9 08:30:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E20F4B8437F for ; Sat, 9 Jul 2016 08:30:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C1A8A14B8 for ; Sat, 9 Jul 2016 08:30:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BD0EBB8437E; Sat, 9 Jul 2016 08:30:14 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCAA3B8437D for ; Sat, 9 Jul 2016 08:30:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A1F914B7 for ; Sat, 9 Jul 2016 08:30:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id f65so9911638wmi.0 for ; Sat, 09 Jul 2016 01:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fnXn/39H6ySCeFeXYcMTba2S/zePO4L5xaq/3svanwQ=; b=IqpmC6quA+KSbrWVN0SUzUC96VnWUhXvKtW+mS6PJ1HFj8jtoBPwHU7Wf64sDV0OHg rOJhDgPLzzEXOyxsEkDjI03vuKinWWRGMsl1+G8YcCkCFB84pIdba4qe0rVpIM+D/ROO sDdZ5Dc7GqCQsalAVTxgkO1eWcO1HtINgoxAW8k5flCD172Iec7u5oZ03lzsAw1ZxaXG L2jZ3RUqy7eBKr3Ttw+AfTCBSPleCQ7lCl7B8l2CX3HwpvkVsnU4Tu3Wjpk9eUb1XupM U8+w4/Y5ChIw/yYBxG8aHdB1vHdkfykvjA7YXndYIiESMKlNzPTNbfz/vBsFOjjbtM36 xAww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=fnXn/39H6ySCeFeXYcMTba2S/zePO4L5xaq/3svanwQ=; b=gMKlxI1viRDF+JVENaRWRrveIRCUv+A7UrXklIb1bbo27sKvKVrqlAQqguBTLRu2qN 2+VWe0oWFJXJ6RRGX/h+/sBIOqMZAyfAJhxb079H7DT4y/F8K6JpYyA/UKSDXwKKnJZ9 R8innRcCsKSNqk9raLaktzLaW5QA+zkhPHFXEMlyUns1LDG72QcRVJWYclUDSaGBJptF QqD4rCxx45JUTYvVfsF+oRsruZG+0QFxZfM+5ipHKlgfU+e6silRzaqjSNjmV7P4sHSg JrhYjyQ+WOWgueRqDDsXFds2crQsY8wgh/lhtg5HqylgA4Lgb1ZUPfQJ8jcPWYGNQcL4 ECkQ== X-Gm-Message-State: ALyK8tIhkECakjp+K/EbwStGQ1Mn+PM8COi2NPd0L/v9DPPKc+Sxfqkv25m8t4mQqpBZZBbQUEyZ+i3ZabCSAg== X-Received: by 10.28.166.150 with SMTP id p144mr2154183wme.57.1468053012311; Sat, 09 Jul 2016 01:30:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.238.41 with HTTP; Sat, 9 Jul 2016 01:29:32 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 9 Jul 2016 11:29:32 +0300 Message-ID: Subject: Re: OPENSSL Base? To: questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 08:30:15 -0000 On 9 July 2016 at 11:18, Odhiambo Washington 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. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."