From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 14:25:07 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84E2DD10 for ; Sat, 13 Dec 2014 14:25:07 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F490DB8 for ; Sat, 13 Dec 2014 14:25:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xznd1-0003rZ-Oe for freebsd-ports@freebsd.org; Sat, 13 Dec 2014 15:25:03 +0100 Received: from 82.199.109.182.iskratelecom.ru ([82.199.109.182.iskratelecom.ru]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Dec 2014 15:25:03 +0100 Received: from delycid by 82.199.109.182.iskratelecom.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Dec 2014 15:25:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Georgy Yakovlev Subject: Re: Shared object Date: Sat, 13 Dec 2014 14:18:12 +0000 (UTC) Lines: 69 Message-ID: References: <636AF4A9-521A-4871-96CF-72C571490A3A@vnode.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 82.199.109.182 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 14:25:07 -0000 Joel Dahl vnode.se> writes: > > Hi, > > I installed 10.1 on a new box. Rebooted. Did a > ”pkg install tmux zsh open-vm-tools-nox11”. > Added the > vmware_guestd options to rc.conf. Rebooted again. > > Now I see the following during boot: > > /dev/da0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/da0p2: clean, 3260251 free (771 frags, 407435 blocks, 0.0% fragmentation) > Mounting local file systems:. > Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0" > Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0" > Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0" > Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0" > Writing entropy file:. > > Eh? What is this? > > — > Joel Hello! I’ve faced same issue. Seems it’s because rcorder /etc/rc.d/* /usr/local/etc/rc.d/* … /etc/rc.d/cleanvar /etc/rc.d/FILESYSTEMS /usr/local/etc/rc.d/vmware-kmod <<<< this one /etc/rc.d/kldxref /etc/rc.d/kld /etc/rc.d/addswap /etc/rc.d/random /etc/rc.d/postrandom … /usr/local/etc/rc.d/vmware-kmod script calls checkvm_cmd="/usr/local/bin/vmware-checkvm which is depends on libglib-2.0.so.0 ldd /usr/local/bin/vmware-checkvm /usr/local/bin/vmware-checkvm: libvmtools.so.0 => /usr/local/lib/libvmtools.so.0 (0x80081e000) libkvm.so.6 => /lib/libkvm.so.6 (0x800a96000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x800c9e000) libthr.so.3 => /lib/libthr.so.3 (0x800ebe000) libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x8010e3000) <<< … and it’s called before /etc/rc.d/ldconfig thus /usr/local/etc/rc.d/vmware-kmod cannot be started because it does not know about $LOCALBASE libs yet The solution is to modify /usr/local/etc/rc.d/vmware-kmod by adding # REQUIRE: FILESYSTEMS ldconfig — Regards, Georgy.