Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 18:07:01 +0300
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-ports@freebsd.org
Cc:        Thomas Mueller <mueller6724@bellsouth.net>
Subject:   Re: How to start wine?
Message-ID:  <3198049.3xtPZX4VeL@dragon.dg>
In-Reply-To: <122926.82428.bm@smtp101.sbc.mail.ne1.yahoo.com>
References:  <122926.82428.bm@smtp101.sbc.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3198049.3xtPZX4VeL>