Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 14:41:18 -0700 (PDT)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@freebsd.org
Cc:        David Naylor <naylor.b.david@gmail.com>
Subject:   Re: How to start wine?
Message-ID:  <577563.26665.bm@smtp110.sbc.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
> 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

I see no /usr/local/lib32 directories; just /usr/lib32, and much bigger for amd64 than for i386.

I see /compat/i386/usr/local/lib/wine so I guess that needs to be included in LD_32_LIBRARY_PATH?

The only lib directory "dri" was in /usr/local/lib/dri and only for amd64 because I didn't build X for i386 (not yet).

So now my winepath.sh is (to be run before any wine binaries, and avoiding nonexistent directories)

#!/bin/sh

export LIBGL_DRIVERS_PATH=/usr/local/lib/dri
export PATH=/compat/i386/usr/local/bin:$PATH
export LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib:/compat/i386/usr/local/lib/wine:/compat/i386/usr/lib32:$LD_32_LIBRARY_PATH:/usr/lib32
# export LD_LIBRARY_PATH=/compat/i386/usr/local/lib:/compat/i386/usr/lib:/compat/i386/lib:$LD_LIBRARY_PATH


Is it necessary to set environment variables like this when running wine on i386?

I'd like to try from both amd64 and i386.

Tom



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