[PC-BSD Dev] Testing 64bit

yerenkow at uct.ua yerenkow at uct.ua
Thu Apr 9 06:32:50 PDT 2009


Well, let's go :)

1. I've got install dvd with i386 version, and unpack both lzma to dir;
2. I've created small script, called i386wrapper.sh, here's content:

#!/bin/sh

LANG="en"; export LANG
LC_ALL="C"; export LC_ALL

LD_LIBRARY_PATH=""
export LD_LIBRARY_PATH

LD_32_LIBRARY_PATH="/usr/home/user/i386/PCBSD/local/kde4/lib:/usr/home/user/i386/PCBSD/local/lib/qt4:/usr/home/user/i386/PCBSD/local/lib:/usr/lib32:../lib:../au
tolibs"

DIRS="../lib
../autolibs
../lib32
../autolibs/gtk-2.0/2.10.0
../autolibs/pango/1.6.0/modules
/usr/home/user/i386/PCBSD/local/kde4/lib
/usr/home/user/i386/PCBSD/local/lib
/usr/home/user/i386/PCBSD/local/lib/qt4
/usr/home/user/i386/PCBSD/local/lib/gtk-2.0/2.10.0"

for a in $DIRS
do
for i in `ls "${a}"`
do
  if [ -d "${a}/${i}" ]
    then
         LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH}:${a}/${i}"
   fi
done
done

export LD_32_LIBRARY_PATH
echo $LD_32_LIBRARY_PATH

#this launches what need to be launched as 32bit app
"$@"


3. I've downloaded PBI's which have no 64 bit analogues.
4. I've extracted every one with such command:

./i386wrapper.sh  ./Kino1.3.2-PV0.pbi -extract

5. I've linked this wrapper to ~/Kino1.3.2/bin and launched Kino with
this command:
./i386wrapper.sh ./kino

And  it's launchable; but without fonts :D

Here's results of testing other soft:

Wine: NOT works, "Bus error", But loads all libs, and reports version OK
ZSnes - works
BPM - works, no fonts
Flock - not works (Actually I think it's xulrunner configuration issue,
because I didn't got any lib-related errors)
Gens - works, no fonts
Kino - works, no fonts
Quake3 - probably works, complains for my graphic card (?)
ioUrbanTerror - game based on quake3 - works! And for me is slow as hell :D

I think we could get all libs from i386-pcbsd, and make somewhat
compatibility layer for 32bit PBI's, at least for some.
Or pack all required libs in each PBI, which have no native 64bit version.

Kris, could you try to make something with this info?
Debug wine would be just great, as this is must-have feature in pc-bsd
for many peoples...










More information about the Dev mailing list