From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 22:03:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A60316A46E for ; Mon, 18 Feb 2008 22:03:12 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) Received: from mail1.firstbhph.com (mail1.firstbhph.com [67.108.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3414513C506 for ; Mon, 18 Feb 2008 22:03:12 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) X-First1-MailScanner-Watermark: 1203976981.01338@v7f1A0nYfv7kACFvU6SANw Received: from mail1.firstbhph.com (localhost [127.0.0.1]) by mail1.firstbhph.com (8.14.2/8.12.11) with ESMTP id m1IM2xXl031819 for ; Mon, 18 Feb 2008 17:02:59 -0500 From: "Dimitri Yioulos" To: freebsd-questions@freebsd.org Date: Mon, 18 Feb 2008 17:02:59 -0500 Message-Id: <20080218215649.M25552@firstbhph.com> In-Reply-To: <200802181558.27096.lists@jnielsen.net> References: <20080217180601.M82827@firstbhph.com> <200802181329.29457.john@jnielsen.net> <20080218183700.M56906@firstbhph.com> <200802181558.27096.lists@jnielsen.net> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 24.91.150.12 (dyioulos) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: archive@firstbhph.com X-First1-MailScanner-Information: Please contact First 1 Financial Corporation for more information X-First1-MailScanner: Found to be clean X-First1-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-MailScanner-From: dyioulos@firstbhph.com X-MailScanner-To: archive@firstbhph.com, freebsd-questions@freebsd.org Subject: Re: FreeBSD 7RC2 and VMware tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 22:03:12 -0000 On Mon, 18 Feb 2008 15:58:26 -0500, John Nielsen wrote > On Monday 18 February 2008 01:47:14 pm Dimitri Yioulos wrote: > > On Mon, 18 Feb 2008 13:29:28 -0500, John Nielsen wrote > > > > > On Monday 18 February 2008 12:31:37 pm Dimitri Yioulos wrote: > > > > On Sun, 17 Feb 2008 22:44:17 -0500, John Nielsen wrote > > > > > > > > > On Sunday 17 February 2008 01:06:28 pm Dimitri Yioulos wrote: > > > > > > I'm not sure whether to have posted this here or on a VMware > > > > > > list; apologies if I'm in the wrong place. > > > > > > > > > > > > The other day, I did a fresh install of v. 7RC2 from the > > > > > > minimal CD on a CentOS 5.1 box running VMware server 1.0.4. I > > > > > > had previously successfully installed v. 6.2, and upgraded to > > > > > > 6.3 on the same box. All has gone well, except for the > > > > > > installation of VMware Tools. Getting the Tools tarball and > > > > > > extracting the requisite files was trivial. However, when I try > > > > > > to run Vmware-Config-Tools.pl, I get a message saying that the > > > > > > program must be run on a virtual machine. Well, it is. Is > > > > > > there a needed FBSD package I'm missing (the Tools install > > > > > > program doesn't complain about it). A known issue, or bug, > > > > > > maybe? Or is VMware support not yet enabled? Help would be > > > > > > greatly appreciated. > > > > > > > > > > I just went through almost the same thing, installing FreeBSD 7 > > > > > under VMware Workstation on Windows. The config-tools script has > > > > > a hard-coded version check which looks for libc.so.6 under /lib > > > > > only. Rather than mess with the script, I just hard-linked the > > > > > library from /usr/local/lib/compat (where it was installed by the > > > > > compat6x port). Seemed to work fine after that. You'll need to be > > > > > careful not to erase it if you ever run "make delete-old-libs", > > > > > though. > > > > > > > > Thanks for the response! > > > > > > > > A symlink won't do for the above? > > > > > > Try it and see! I think I decided on a hard link since the script > > > uses something like "if [ -f /lib/libc.so.6 ]" so it's looking only > > > for a regular file and not a symlink. > > > > Hmm, when I try to hard-link ("ln /usr/compat/linux/lib/libc.so.6 > > libc.so.6"), I get "ln: ./libc.so.6: Cross-device link". But, when I > > do a symlink, which takes, I get "/usr/libexec/ld-elf.so.1: Shared > > object "ld-linux.so.2" not found, required by "libc.so.6"" when i run > > vmware-config-tools.pl. So, I symlink ld-linux.so.2, and run tools. > > Then, I get "/usr/libexec/ld-elf.so.1: Undefined symbol "__stdoutp" > > referenced from COPY relocation in /usr/local/sbin/vmware-checkvm". > > Arrgh. Any other ideas? > > You have /usr on a different partition than / in your VM, so you can't do > a hard link. I would just copy the file back to /lib and not worry about > it. Linking in other random libraries will cause problems, as you've > observed. > > JN If I copy libc.so.6 to /lib, then tools complains about ld-linux.so.2. If I copy ld-linux.so.2, it then complains about "/usr/libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced from COPY relocation in /usr/local/sbin/vmware-checkvm". This is pretty much the same as if I symlink the two files. Even though I'm a "glass half-full" guy, this is beginning to look dire (but it's the worst thing to happen to me, I'm sure I'll live). Still, it would be nice to get this working. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.