You are not logged in.
that's the thing.. seems like it only works with v6 and testing is v7
anyone know of a workaround for this?
Wrong JPEG library version: library is 70, caller expects 62
Offline
Hi everybody,
I am pushing the libjpeg rebuilds I have done to [testing] now. I did most
of the rebuilds required for desktops to keep work (although I don't
guarantee even that...) and many applications still need rebuilt. I would
recommend [testing] users not to rush to upgrade unless you are well
prepared for some breakages.Devs, please remember to mark off rebuilt packages from the TODO list as
you go.Cheers,
Allan
I'd suggest downgrading for the time being. There are MANY rebuilds to be done as libjpeg hasn't had a release in a good number of years.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Maybe rebuild DP?
unzip sources/enginesource20090501.zip
cd darkplaces && make nexuiz
Offline
You can fix it like this:
1. Use this PKGBUILD and makepkg.
pkgname=libjpeg-old
pkgver=6b
pkgrel=6
pkgdesc="Library of JPEG support functions - old version for compatibility"
arch=('i686' 'x86_64')
url="http://www.ijg.org/"
license=('custom')
depends=('glibc')
makedepends=('libtool')
options=(!libtool)
source=(ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v$pkgver.tar.gz)
md5sums=('dbd5f3b47ed13132f04c685d608a7547')
build() {
cd $srcdir/jpeg-$pkgver
cp /usr/share/libtool/config/config.{guess,sub} .
sed -i "s#./libtool#libtool#" configure
./configure --prefix=~/libjpeg6 --enable-shared --enable-static
make || return 1
mkdir -p $pkgdir/libjpeg6/{bin,lib,include,share/man/man1}
make prefix=$pkgdir/libjpeg6 mandir=$pkgdir/libjpeg6/share/man/man1 install
install -m644 jpegint.h $pkgdir/libjpeg6/include
#install -Dm644 README $pkgdir/usr/share/licenses/libjpeg/README
}
2. Install package like this:
sudo pacman -U --dbpath /var/lib/pacman --logfile /var/log/pacman.log --root=$HOME libjpeg-old-6b-6-i686.pkg.tar.gz
3. Launch nexuiz like this:
LD_PRELOAD=~/libjpeg6/lib/libjpeg.so.62.0.0 nexuiz-sdl
Win!
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
You can fix it like this (...)
Thanks! Works for Warsow too.
Last edited by rwd (2009-07-20 21:51:34)
Offline
Ah, thanks for letting me know. The method is useful in a lot of scenarios i think. Anyway, nexuiz should now be fixed though(2.5.1-2) so atleast that one doesn't need that workaround anymore.
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
Hi.
I am trying to do the same thing for lib32-libjpeg - I have changed the package name to be lib32-libjpeg-old.
It installs o.k however when I run it I get
morgan@arch64 paintball2]$ LD_PRELOAD=~/libjpeg6/lib/libjpeg.so.62 ./paintball2
ERROR: ld.so: object '/home/morgan/libjpeg6/lib/libjpeg.so.62' from LD_PRELOAD cannot be preloaded: ignored.
If i ldd it ....
[morgan@arch64 paintball2]$ ldd /home/morgan/libjpeg6/lib/libjpeg.so.62.0.0
linux-vdso.so.1 => (0x00007fff2e9c2000)
libc.so.6 => /lib/libc.so.6 (0x00007ffd2f4c9000)
/lib/ld-linux-x86-64.so.2 (0x00007ffd2fa6c000)
Any ideas how to get 32bit version to work ?
Offline
well, in that line you post "LD_PRELOAD=~/libjpeg6/lib/libjpeg.so.62 ./paintball2" you are not linking to ~/libjpeg6/lib/libjpeg.so.62.0.0 <--
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline