How to start wine?

David Naylor naylor.b.david at gmail.com
Mon Aug 26 19:32:46 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130826/453ca30b/attachment.sig>


More information about the freebsd-ports mailing list