plash-pkg assumes i386 architecture
- Found in: 1.18.svn.2008-03-26
CategoryFixed: Fixed in 737 for release 1.19
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.
