Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2013 04:50:06 +0000 (UTC)
From:      Craig Wiesen <ctyz1999@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   Re: vboxnet fails to start fully: VBoxRT.so misses libiconv.so
Message-ID:  <loom.20130119T054148-734@post.gmane.org>
References:  <50F3F052.4060407@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Volodymyr Kostyrko <c.kworr <at> gmail.com> writes:

> 
> Hi all.
> 
> On my host vboxnet says when booting:
> 
> Shared object "libiconv.so.3" not found, required by "VBoxRT.so"
> 
> This is possibly is because of trying to bring up host-only interfaces 
> with VBoxManage.
> 
> Maybe this is beacause we try bring them up before network, and network 
> takes place before ldconfig?
> 

I ran into this too.

Here is a patch I came up with for
/usr/ports/emulators/virtualbox-ose-kmod/files/vboxnet.in

It moves the /usr/local/etc/rc.d/vboxnet script execution to after networking 
and ldconfig paths have been set up. (as you thought)



Index: vboxnet.in
===================================================================
--- vboxnet.in  (revision 310569)
+++ vboxnet.in  (working copy)
@@ -4,8 +4,7 @@
 #

 # PROVIDE:     vboxnet
-# REQUIRE:     FILESYSTEMS
-# BEFORE:      netif
+# REQUIRE:     FILESYSTEMS NETWORKING ldconfig
 # KEYWORD:     nojail

 #







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20130119T054148-734>