From owner-freebsd-questions@freebsd.org Sat Jul 9 08:48:27 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 A736DB8481E for ; Sat, 9 Jul 2016 08:48:27 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 85FFF1BC5 for ; Sat, 9 Jul 2016 08:48:27 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 81BF2B8481D; Sat, 9 Jul 2016 08:48:27 +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 7F302B8481C for ; Sat, 9 Jul 2016 08:48:27 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 EFE901BC2 for ; Sat, 9 Jul 2016 08:48:26 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id n127so36362124wme.1 for ; Sat, 09 Jul 2016 01:48:26 -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=fXzZ9FFbTagTK8JdR5UMmyN6jA4rpZq/Pi31VBnnois=; b=TwcOXr7qu1nzTG+Jn33Wm/2TrW6HrtylHKcEYiUGfo3bAi0FA6kNKqQ3QFII4UiQVr 4Dg2Xg4BAhZyNpqwTRAY5mSDRFTevHxaZ0Za/42B9k0G3TMf6fQnfJIuwgAgxjlZbR7R zzui2QaxwG5Cg3PHe12MXU6kan508kGaA8lNqbOGUSrFMkkJmZAL1A0qp9T5goC3Y/RG +l5GN5hcW3q1zdr1KBF/VNmrHmpwMRS6qQT5Og7dOvExkP1zBGJZ3OApvIRdwVv4gmQA ginaNcY/1UvMWyKvt4NQmxq3/7r5mbqUmcEasFPfQUDEX4FXH+qrLe0an24ORQMAhaI7 TTIg== 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=fXzZ9FFbTagTK8JdR5UMmyN6jA4rpZq/Pi31VBnnois=; b=DKqoQje5z/7OyGN2+iWkKFt4RKyWIkvItQdZRdQJYWByT5nPTLcCL9lMMMP1hjUmZW je7IBcktFA0ns7VR1D+wcSQipcEwtGIP96wX2C9OKml+151nNv+uCyHwUA3dArBw+nJo 5m2gN8QGaXnVGTAFMHhL9n+EkfwyFkcs7mi08gGMP7oiPD5nt6uBq6P60dWDLIK0v8LK pq7q4TiWQJPMAo1E1ZxCZBrw8GSf8O70h6mec8vcNze71245cPfGzJ4xloEfoYjyNma4 MG9NuKb0ree77oRdW1FtDv/xkrIOxZQdA3rg2tJdj3W/4yoQrf7NBz5gSOs+lctLRILe HpfA== X-Gm-Message-State: ALyK8tLKxuaDPDWdW4ze0ie61qI5Q9f2o9bf8Ds+mFu6h9f0n/XaeMIhWh9Mavm+lgyBv5pUH/nBAPlzc+qFsA== X-Received: by 10.28.69.14 with SMTP id s14mr7231826wma.49.1468054105142; Sat, 09 Jul 2016 01:48:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.238.41 with HTTP; Sat, 9 Jul 2016 01:47:45 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Sat, 9 Jul 2016 11:47:45 +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:48:27 -0000 On 9 July 2016 at 11:29, Odhiambo Washington wrote: > > > 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. > 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."