From owner-freebsd-current@FreeBSD.ORG Mon Feb 23 22:04:41 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BA3D933; Mon, 23 Feb 2015 22:04:41 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (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 2A7AF7C2; Mon, 23 Feb 2015 22:04:41 +0000 (UTC) Received: by iecat20 with SMTP id at20so27221583iec.12; Mon, 23 Feb 2015 14:04:40 -0800 (PST) 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 :cc:content-type; bh=PsqgvoFwDVcGYvayAmJNrusKxTW9N7+zC/xToBT8yGg=; b=dRvQGSJ3pVtYgv7L0qVBRYiQ/aGb0nrzbl6AkRs0Q4s7kfsPCGqlIDcZEXafXmTApb XcINj6Zgr17vE81DT6lwhjW7fXtQm0wrX8ZkwnNV4w09INzpOUz0AvWk91uzlGMyRRFg hFw7yHgDDxeioVgM4FsBMtPLrjILmDZnZmmYHrorEUqjS8nGplR6kETZFTidaamjzENy 7nGCVJfeKZhsHg3ejKQxtVeVWVJikEvZ2QHfbP+1lGzGpq74LFdzAGJiLWOF/D7mQDhX IdvQz957nm8dnstVh3Nw7srLJtTFQaEwCqoUTUUlz7icrGgoBbnJFQx4QVfJApOqLFj8 jfUw== X-Received: by 10.42.104.68 with SMTP id q4mr13927670ico.35.1424729080602; Mon, 23 Feb 2015 14:04:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.120.35 with HTTP; Mon, 23 Feb 2015 14:04:19 -0800 (PST) In-Reply-To: <1424727865.2482688.231426709.1C3F0A3A@webmail.messagingengine.com> References: <1424727865.2482688.231426709.1C3F0A3A@webmail.messagingengine.com> From: Miguel Clara Date: Mon, 23 Feb 2015 22:04:19 +0000 Message-ID: Subject: Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy" To: Mark Felder Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 22:04:41 -0000 Probably does... I'll reboot to make sure, but that will surely do it :) I wasn't aware we could set ldconfig in the rc.d scripts... thanks for sharing. Melhores Cumprimentos // Best Regards ----------------------------------------------- *Miguel Clara* *IT - Sys Admin & Developer* *E-mail: *miguelmclara@gmail.com www.linkedin.com/in/miguelmclara/ On Mon, Feb 23, 2015 at 9:44 PM, Mark Felder wrote: > > > On Mon, Feb 23, 2015, at 12:43, Miguel Clara wrote: > > I don't think this is a 11-Current issue per say but probalby bad config, > > but since I'm using CURRENT I dicided to post to the list. > > > > When my system boots dnscrypt fails to start with: > > > > Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy" > > > > But manual start works without issue, I've resinstalled libsodium and > > dnscrypt from ports and I noticed "USE_LDCONFIG= yes" is present in the > > Makefile for libsodium, > > > > Running dmesg -a I see this relvant part: > > % dmesg -a | grep dns -A20 > > Starting dnscrypt_proxy. > > Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy" > > /etc/rc: WARNING: failed to start dnscrypt_proxy > > Starting local_unbound. > > Starting pflogd: > > Starting pflog. > > pflog0: promiscuous mode enabled > > Enabling pfNo ALTQ support in kernel > > ALTQ related functions disabled > > No ALTQ support in kernel > > ALTQ related functions disabled > > . > > add net fe80::: gateway ::1 > > add net ff02::: gateway ::1 > > add net ::ffff:0.0.0.0: gateway ::1 > > add net ::0.0.0.0: gateway ::1 > > add net default: gateway fe80::62a4:4cff:fe28:13c0%wlan0 > > Waiting 30s for the default route interface: .....(no carrier) > > ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib > > /usr/local/lib/compat /usr/local/lib/gcc47 /usr/local/lib/libxul > > /usr/local/lib/nss /usr/local/llvm35/lib > > 32-bit compatibility ldconfig path: /usr/lib32 /usr/local/lib32/compat > > > > So it seems that the issue is that ldconfig runs after the service is > > started and so when it starts I doens't know about the shared lib (or > > where > > to look for it) > > > > How can I fix this behaviour? > > > > If you edit the dnscrypt-proxy rc script to say: > > # REQUIRE: SERVERS cleanvar ldconfig > > Does that help? > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >