Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 21:32:23 +0300
From:      David Naylor <naylor.b.david@gmail.com>
To:        Thomas Mueller <mueller6724@bellsouth.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to start wine?
Message-ID:  <2796322.5npcIxFyCm@dragon.dg>
In-Reply-To: <441234.68950.bm@smtp110.sbc.mail.gq1.yahoo.com>
References:  <441234.68950.bm@smtp110.sbc.mail.gq1.yahoo.com>

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

--nextPart2309558.Zm5bkgmNOL
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="ISO-8859-1"

On Monday, 26 August 2013 11:58:12 Thomas Mueller wrote:
> What are LD_LIBRARY_PATH and LD_32_LIBRARY_PATH supposed to be?  I see
> neither of these environment variables defined.

The LD_(32_)LIBRARY_PATH variables are used by ld-elf(32).so.1 in resolving 
the libraries.  

> And what about PATH?

PATH will not fix the problem, in this case, unless wine needs to find support 
binaries (such as wineserver).  

> I am trying
> 
> #!/bin/sh
> 
> set
> PATH=/compat/i386/usr/local/bin:/compat/i386/usr/local/sbin:/compat/i386/us
> r/bin:/compat/i386/usr/sbin:/compat/i386/bin:/compat/i386/sbin:$PATH export
> LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib:/compat/i386/usr/lib:/compat/
> i386/lib:$LD_32_LIBRARY_PATH export
> LD_LIBRARY_PATH=/compat/i386/usr/local/lib:/compat/i386/usr/lib:/compat/i38
> 6/lib:$LD_LIBRARY_PATH

The bootstrap code from i386-wine does the following:
if [ -z "$__BINBOUNCE_BOOTSTRAP" ]
then
  export LIBGL_DRIVERS_PATH=$LOCALBASE/lib32/dri
  if [ `uname -p` = i386 ]
  then
    export 
LD_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_LIBRARY_PATH"
  else
    export 
LD_32_LIBRARY_PATH="$LOCALBASE/lib32":"$LOCALBASE/lib32/wine":"$LD_32_LIBRARY_PATH":/usr/lib32
  fi
  export PATH="$LOCALBASE/bin32":"$PATH"
fi


> What is the difference between the various wine ports in
> $PORTSDIR/emulators?  I used wine-devel, newer but less tested than wine.

emulators/wine - Stable version of wine, currently 1.4.1 (we are waiting for 
1.6.1).  Currently only i386 is supported.  
emulators/wine-devel - Development version (works for most people), currently 
1.7.0.  Currently only i386 is supported.  
emulators/i386-wine - amd64 version of wine tracking emulators/wine
emulators/i386-wine-devel - amd64 version of wine tracking emulators/wine-
devel

I suggest you try i386-wine(-devel) and see if that works for you.  If it does 
and you want to build from source have a look at the Makefile for some of the 
changes required.  

Regards
--nextPart2309558.Zm5bkgmNOL
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)

iEUEABECAAYFAlIbrU0ACgkQUaaFgP9pFrJ9UQCXT0g2asXr/bqep2EAkHej5Xvn
DQCffGNSJk0rt3QTjCO/FvaifiRyICo=
=dzdn
-----END PGP SIGNATURE-----

--nextPart2309558.Zm5bkgmNOL--




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