plash-pkg assumes i386 architecture

Steps to reproduce, on amd64:

mkdir tmp
cd tmp
echo "deb http://archive.ubuntu.com/ubuntu gutsy main universe" >sources.list
plash-pkg-update-avail
plash-pkg-install leafpad -c /usr/share/doc/plash/examples/leafpad.pkg
plash-pkg-launch --app-dir leafpad

Expected result: leafpad runs and opens a window.

Actual result:

/bin/sh: error while loading shared libraries: /bin/sh: wrong ELF class: ELFCLASS32

This wasn't a problem in release 1.18, which only supported the i386 architecture, but as of Story6, PlashGlibc can be built on amd64.

Resolution

Use dpkg-architecture to find the architecture to use.

PlashIssues/PlashPkgAssumesI386 (last edited 2008-03-30 17:12:35 by MarkSeaborn)