You are not logged in.
I need the 32 bit version of alsa-oss to be able to use it with wine because I can't use 32 bit binaries with 32 bit wine. I found this and outdated package for it on aur http://aur.archlinux.org/packages.php?ID=12815 and updated it. This was my attempt at putting it up to date.
# Contributor: vogo <vogo@seznam.cz>
# Contributor: imachine <m.jedrasik@gmail.com>
pkgname=lib32-alsa-oss
pkgname32=alsa-oss
pkgver=1.0.17
pkgrel=1
pkgrel32=1
pkgdesc="OSS compatibility library"
arch=('x86_64')
url="http://www.alsa-project.org"
license=('GPL')
depends=('lib32-glibc' 'lib32-alsa-lib>=1.0.14')
install=()
source=("ftp://ftp.archlinux.org/extra/os/i686/$pkgname32-$pkgver-$pkgrel32-i686.pkg.tar.gz" )
#md5sums=('4b63d464af386183ce1c2816f5a3f1b6'
# '3392be901ee57b568508d5c9c224e3ef')
#sha1sums=('ec92f7ffa52c99e7d8263f2427fe937809dc6495'
# '3ac023471cc527c40b5f395d1548d86084a856be')
build() {
mkdir -p $startdir/pkg/opt/lib32/usr/lib
cp -rPfp $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr
install -Dm755 $startdir/src/usr/bin/aoss $startdir/pkg/usr/bin/aoss32
}
Then I went ahead and built it and installed it. It put the libaoss.so in the right place, /opt/lib32/usr/lib/libaoss.so. Then I set LD_PRELOAD to that path but I'm getting this error.
ERROR: ld.so: object '/opt/lib32/usr/lib/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored
This problem has drained many hours from me. I'm starting to be tempted to just use that evil proprietary operating system on virtual box. But it would be much better if I could run this app on wine. Any help or tips are appreciated. Thanks in advence
Offline
Can it work in 'native'environment ? If you try with /usr/lib instead of opt ?
A bit cleaner PKGBUILD for it.
# Contributor: vogo <vogo@seznam.cz>
# Contributor: imachine <m.jedrasik@gmail.com>
pkgname=lib32-alsa-oss
pkgname32=alsa-oss
pkgver=1.0.17
pkgrel=1
pkgrel32=1
pkgdesc="OSS compatibility library"
arch=('x86_64')
url="http://www.alsa-project.org"
license=('GPL')
depends=('lib32-glibc' 'lib32-alsa-lib>=1.0.14')
install=()
source=(ftp://ftp.archlinux.org/extra/os/i686/$pkgname32-$pkgver-$pkgrel32-i686.pkg.tar.gz)
md5sums=('0e1750da67e20aff2b50ff70e578182d')
build() {
mkdir -p ${pkgdir}/opt/lib32/usr/lib
cp -rPfp $startdir/src/usr/lib $startdir/pkg/opt/lib32/usr
install -Dm755 ${srcdir}/usr/bin/aoss ${pkgdir}/usr/bin/aoss32
}
Generally, if it's possible you should choose http mirror instead of ftp.
If you can correct the PKGBUILD you can take a request in the aur-general maillist for a TU to orphan it, and you can adopt it, if you would like.
Offline
It didnt work for me on the "native" environment
Offline
If you're concerned primarily with running wine, why not try a chroot? That means you can basically just use alsa-oss without any lib32 packages. Wiki has pretty specific directions.
Sorry, am not able to assist with the lib32 package.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Then I went ahead and built it and installed it. It put the libaoss.so in the right place, /opt/lib32/usr/lib/libaoss.so. Then I set LD_PRELOAD to that path but I'm getting this error.
You probably want LD_LIBRARY_PATH not LD_PRELOAD,
LD_LIBRARY_PATH
A colon-separated list of directories in which to search for ELF
libraries at execution-time. Similar to the PATH environment
variable.LD_PRELOAD
A whitespace-separated list of additional, user-specified, ELF
shared libraries to be loaded before all others. This can be
used to selectively override functions in other shared
libraries. For setuid/setgid ELF binaries, only libraries in
the standard search directories that are also setgid will be
loaded.
Offline
upping the PKGBUILDs version number to 1.0.17, then starting an app using
LD_PRELOAD=/opt/lib32/usr/lib/libaoss.so aoss wine .wine/drive_c/PvZ/Plants\ vs.\ Zombies/PlantsVsZombies.exe
works for me
Offline