> 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 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"