[racket-dev] mzscheme executable broken when using --enable-shared

From: Marijn (hkBst at gentoo.org)
Date: Fri Apr 15 05:28:51 EDT 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> On Fri, Apr 15, 2011 at 10:51, Marijn <hkBst at gentoo.org> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 04/13/11 14:15, Marijn wrote:
>>> Hi,
>>>
>>> racket currently still installs a mzscheme executable that (on my
>>> system) does this:
>>>
>>> $ mzscheme
>>> read failed to read all 31 bytes from file /usr/bin/mzscheme
>>> Aborted
>>>
>>> Marijn
>>
>> Does anyone know what this broken file is about or am I the only one
>> seeing this?

On 04/15/11 11:05, Pierpaolo Bernardi wrote:
> See: http://docs.racket-lang.org/scheme/compat-exe.html?q=mzscheme#(idx._(gentag._0._(lib._scribblings/scheme/scheme..scrbl)))
> 
> Or search "mzscheme" in the Help Desk.  In windows, it works as advertised.
> 
> Cheers
> P.

Okay, I see there that it is supposed to be equivalent to "racket -I
scheme/init", but that command works fine.

On 04/15/11 11:08, Eli Barzilay wrote:
> Random guess -- maybe it's a result of using shared libraries?  (Our
> linux builds are not using that configuration.)

Yes, I am building with --enable-shared. Both mzscheme and mred are
broken with the same error, drscheme works fine.

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2oD9AACgkQp/VmCx0OL2z8KQCguXZd4LyPlG8DwTLEgq2sHuDX
tkEAoIFpOFIrrSpE8+moBkShQW92rQso
=jiZR
-----END PGP SIGNATURE-----


Posted on the dev mailing list.