From owner-freebsd-current@FreeBSD.ORG Mon Feb 23 18:43:56 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 E781CBD0 for ; Mon, 23 Feb 2015 18:43:56 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 AE75FC71 for ; Mon, 23 Feb 2015 18:43:56 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id a13so20572294igq.0 for ; Mon, 23 Feb 2015 10:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=LGF3gAcpVxG3DXyjYD9RZxsr87S6Bp8XqJ+/p+RgvX0=; b=pBfur0hZMBbQ0Fpi28cn97eKsCBkZ8PkJvcWpB0ymgcFFoXyNtYkgtEaSJa69DEM9h WRaF8Tsvgpoz56rOoSR153QPR+6yHZ115sIgikMl6aIcSffnozL1SnBsd0v3kBJHQlSI e6OTtqYKNLzasPhrE8IC6rQa8MmayFpBgcyqX3TKkmlAd25viBMmTl69oodrbBOD3RUM nOOu65sE3pYrol+toyjdK1I2u26fgLpB01ByANgsyYzbqXAdqQw7Ot/SwbhnGoQQHCjP j37jZspHhNe+RNapzqwvqsMXqL/M+0bD8NyIkni1Mx6GPrQqFx12tw0A3IsdRgCOv7oM JTkA== X-Received: by 10.43.126.196 with SMTP id gx4mr2388447icc.40.1424717035987; Mon, 23 Feb 2015 10:43:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.120.35 with HTTP; Mon, 23 Feb 2015 10:43:35 -0800 (PST) From: Miguel Clara Date: Mon, 23 Feb 2015 18:43:35 +0000 Message-ID: Subject: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy" To: freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 18:43:57 -0000 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? Thanks