Archived from groups: rec.games.int-fiction (
More info?)
"Aaron A. Reed" <aaron@aaronareed.net> wrote in message news:<cemb1s$4bu$1@news.xmission.com>...
> Dan Shiovitz wrote:
> > In article <cek0o8$9k9$1@news.xmission.com>,
> > Aaron A. Reed <aaron@aaronareed.net> wrote:
> > [..]
> >
> >>Ironically, I just finished reviewing a Glulx IntroComp entry, in which
> >>I noted that I had to spend quite some time trying (and failing) to get
> >>a Glulx interpreter to run on my Linux computer...
I have a Windows
> >>box handy, but there are certainly newer platforms than Atari 800s
> >>(handhelds?) where Glulx will give people more trouble than standard Z-code.
> >
> >
> > Hmm, the only way in which Glulx is more complicated for me on Linux
> > is that I have to download two files rather than one (ie, the glk
> > library of my choice as well as the glulx interpreter source). Other
> > than that it compiles out of the box. For that matter, if you don't
> > want to compile it yourself, I see the archive has Linux binaries
> > available.
> >
>
> Well, it's my own fault for being a non-guru trying to run a guru-based
> operating system, but on Mandrake 10 I can't get Glulxe to compile, and
> the (3.5 year old) binary seems to need older versions of libraries than
> the ones on my system.
Not entirely your fault. Perhaps not at all.
Libpng versioning is a bit of a mess. libpng.so.3 introduced new
things that are, broadly, incompatible with libpng.so.2. This forces
programs to use either version 3 or version 2, depending on what
they're expecting, rather than the more useful method of making
version 3 a superset of the earlier version 2. In addition, these two
libraries won't always happily cohabit.
Now, your 3.5 year old binary wants libpng.so.2. But Mandrake Linux
dogmatically ships libpng.so.3, and not .2 because of cohabitation
problems. Moreover, the source to Glulxe expects version 2 functions,
not all of which are in version 3. So, not only will an old binary
not work on Mandrake, but oldish source code won't even compile
against a version 3 library.
To compound matters, it just seems hard to find the above documented
anywhere, though Mandrake discussion lists often touch on it. Some
Mandrake users report success by simply linking libpng.so.2 to
libpng.so.3. But not all.
I think some of your frustrations might be alleviated if you install
the appropriate libpng2 RPM from
http://rpm.pbone.net/index.php3/stat/4/idpl/169581/com/libpng2-1.0.9-1mdk.i586.rpm.html
This will, I hope, be enough to let the older builds of glulxe run,
though it probably still won't let you compile the source for it.