NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.41k stars 14.36k forks source link

racket on darwin: gracket does not work #35452

Open clacke opened 6 years ago

clacke commented 6 years ago

Issue description

After merging #35429, racket builds on darwin, but gracket does not work.

Steps to reproduce

On darwin, build racket (with #35429 merged). Run gracket. Expect a window to open. Receive ffi-lib: couldn't open "libX11.6.dylib" (dlopen(libX11.6.dylib, 6): image not found)

I have added libX11 to LD_LIBRARY_PATH, but then I get a malloc error instead:

$ /nix/store/vr1hs8gc0x8kpva8fqdf9cgprr0bxcgw-racket-6.12/bin/gracket
gracket(78064,0x7fffaee643c0) malloc: *** error for object 0x10e44e6e0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the results.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
sliminality commented 2 years ago

still important, relevant discussion in #138783