[svn 3151] zlib library version error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
complexityQuantifier
Higher
Posts: 56
Joined: Sun Jan 16, 2011 2:52 pm

[svn 3151] zlib library version error

#1 Post by complexityQuantifier »

When I compile tome svn 3151 on a fully-updated Ubuntu Maverick machine, then try to run t-engine, I get:

Code: Select all

SELF /home/creidieki/bin/t-engine4/te4runner.tec
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: /home/creidieki/bin/t-engine4/t-engine
SelfExe gave us app directory of:	/home/creidieki/bin/t-engine4/
Looking for cores	te4core	-1	 <=> 	te4core-13.tec
Possible engine core	te4core-13.tec
Selected cores:	13	te4core-13.tec
Using TE4CORE: 	/engines/cores/te4core-13.tec	/home/creidieki/bin/t-engine4//game/engines/cores/te4core-13.tec
Runner booting core: /home/creidieki/bin/t-engine4//game/engines/cores/te4core-13.tec
Runner booting core: /home/creidieki/bin/t-engine4//game/engines/cores/te4core-13.tec
[CPU] Detected 8 CPUs
NO SELFEXE: bootstrapping from CWD
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3, library: 1.2.3.4)
I can verify that Ubuntu ships with zlib1g version "1.2.3.4.dfsg-3ubuntu1", and I don't have the option of installing any other versions. I've tried running "premake4 clean" and then "make clean", and even deleting every file listed by "svn status". There weren't any warnings in the "Building luazlib" section of compilation.

Freddybear
Wyrmic
Posts: 201
Joined: Wed Dec 06, 2006 6:58 pm
Location: Mordor, Ohio

Re: [svn 3151] zlib library version error

#2 Post by Freddybear »

svn t-engine includes the v1.2.3 zlib code.
You could possibly try to rearrange the compile instructions for lzlib in build/te4core.lua.

complexityQuantifier
Higher
Posts: 56
Joined: Sun Jan 16, 2011 2:52 pm

Re: [svn 3151] zlib library version error

#3 Post by complexityQuantifier »

Yeah, I got it working by downloading zlib 1.2.3.4 and putting it in the directory.

TheDevilWearsPravda
Wayist
Posts: 19
Joined: Wed Dec 29, 2010 2:56 am

Re: [svn 3151] zlib library version error

#4 Post by TheDevilWearsPravda »

I'm getting the same result on my archlinux machine. Zlib has been 1.2.5 for quite some time, I don't know exactly what I should do.

TheDevilWearsPravda
Wayist
Posts: 19
Joined: Wed Dec 29, 2010 2:56 am

Re: [svn 3151] zlib library version error

#5 Post by TheDevilWearsPravda »

Maybe we should build using the user's zlib instead of the out of date zlib provided? I'm out of my element here.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [svn 3151] zlib library version error

#6 Post by darkgod »

Hummm weirdness! I should use the compiled version .. hummmmm
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: [svn 3151] zlib library version error

#7 Post by greycat »

Bug still happens in svn 3171. Copying zlib 1.2.3.4 source files into src/physfs/zlib123/ works around it, but obviously that's not the REAL fix, because then you'd still fail on users' systems that have 1.2.3.3 or 1.2.3.5 or whatever.

I'd agree that t-engine should be using the installed zlib as long as it meets a sane minimum level -- that's what most autoconf-based projects do.

Post Reply