From owner-freebsd-ports@FreeBSD.ORG Sun Aug 25 16:07:11 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C9F037EE for ; Sun, 25 Aug 2013 16:07:11 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C71D252D for ; Sun, 25 Aug 2013 16:07:11 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id q59so1983163wes.41 for ; Sun, 25 Aug 2013 09:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type; bh=psQ2NiE1+RbvZEXxkDnufgfHr9UTCcmJyhEDr2V9sPo=; b=Pa/kOGdA+DlltkbcFEN5fET/L9Wb+pGdYgoLDwMm2+Xal+BDGMDnABnKmU5YFe6T2M LLL8f5EAcIdnNzK2KNFJX9Zm336eKF8evNnJNomyrvy+KR8WkpS1xZK2QNnk4pxLDnFj OfyW7eEwdBat011kwinTTW8mnQxEBLod9NKpsNitCOGEBvvtxIj+tGuEfhopriL89PkM f8VxCMAHSxPTVczViKeVbelvTI0bFxmmKutW2t/a9zMdi3ivq/X88yv0dkdNITu5uNEm yDPnI51EuFebnB2soxrLfbiCRq6b8sz3Kx4Las03aADgbB24mgFvMwsK+q+qjerCFSGv ZGRg== X-Received: by 10.194.78.78 with SMTP id z14mr1218791wjw.32.1377446829542; Sun, 25 Aug 2013 09:07:09 -0700 (PDT) Received: from dragon.dg ([197.87.91.139]) by mx.google.com with ESMTPSA id jc18sm11849195wic.5.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 25 Aug 2013 09:07:08 -0700 (PDT) From: David Naylor To: freebsd-ports@freebsd.org Subject: Re: How to start wine? Date: Sun, 25 Aug 2013 18:07:01 +0300 Message-ID: <3198049.3xtPZX4VeL@dragon.dg> User-Agent: KMail/4.10.5 (FreeBSD/9.2-PRERELEASE; KDE/4.10.5; amd64; ; ) In-Reply-To: <122926.82428.bm@smtp101.sbc.mail.ne1.yahoo.com> References: <122926.82428.bm@smtp101.sbc.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12639243.v5xHP7RuLL"; micalg="pgp-sha1"; protocol="application/pgp-signature" Cc: Thomas Mueller X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 16:07:11 -0000 --nextPart12639243.v5xHP7RuLL Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" On Saturday, 24 August 2013 15:12:57 Thomas Mueller wrote: > I built wine from ports on a USB-stick installation of FreeBSD 9.1-STABLE > i386, but it won't start. > > I tried to start from hard-drive installation of (from uname -a) > > FreeBSD amelia2 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #17 r254196: Sun Aug > 11 00:36:49 UTC 2013 root@amelia2:/usr/obj/usr/src/sys/SANDY amd64 > > I get > > Shared object "libwine.so.1" not found, required by "wine" This is because ld is looking for libwine.so.1 using the 64-bit library path. > I was able to find libwine.so and libwine.so.1 in directory > /usr/local/lib, or as it is mounted, > /compat/i386/usr/local/lib I can suggest either: a) Making sure ldd(32) reports it can find the libraries (set LD_LIBRARY_PATH and LD_32_LIBRARY_PATH). Using those two environment variables should fix your problem b) Use the binary packages provided from either ports (i386-wine) or wiki.FreeBSD.org/i386-Wine. These include all the compatibility shims required. > I tried as nonroot user. > > Kernel config includes the line > > options COMPAT_FREEBSD32 # Compatible with i386 binaries > > What is the trick? Should I try to boot the USB stick with FreeBSD > 9.1-STABLE i386? > > I did not build Xorg on this USB stick. Should I have? Hmmm, the last I heard Xorg does not run from a chroot... Wine would have pulled in libXorg so you should be fine (make sure DISPLAY is set correctly, usually to ':0'). > What is the requirement of FreeBSD versions matching? Matching is very importantant, especially at the major version. Make sure the kernel is at a higher (or equal) version to the 32-bit binaries. > Although I keep the source tree, ports tree and work directories on the > hard drive, installing to this Kingston Data Traveler 16 GB USB 2.0 stick > is very slow, slower than NetBSD and slower than FreeBSD on other USB > sticks. I could try with a Kingston Data Traveler 16 GB or 32 GB USB 3.0 > drive. > > Tom --nextPart12639243.v5xHP7RuLL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEABECAAYFAlIaK6cACgkQUaaFgP9pFrK49QCdF7K0QwGtC3TU65/m5kJ2swMC BrMAnR59u+hUMLTShH4Sj9wyLtVAgjDb =fl61 -----END PGP SIGNATURE----- --nextPart12639243.v5xHP7RuLL--