-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem linking OS X Mountion Lion #14
Comments
Hm. It's possible you don't have some of the extension libraries installed. Can you check what |
The result of execution locate libXext is this: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXext.6.4.0.dylib i hope this helps. Thanks! Martín On Sep 20, 2012, at 12:38 AM, Daniel Wagner notifications@github.com wrote:
|
Can you try running your program with this command line?
If that works, then perhaps you can figure out how to set up your linker correctly so that it knows about |
I have set the DYLD_LIBRARY_PATH to the correct one, i don't get what i have to do with the location of my program. Thanks Martín On Sep 20, 2012, at 1:01 AM, Daniel Wagner notifications@github.com wrote:
|
This fixed the problem "export DYLD_LIBRARY_PATH=/opt/X11/lib:$DYLD_LIBRARY_PATH" but after closing the terminal the issue persist. I suppose that this value that's set to the path variable remains only in that particular session. How can i set it permanently? Thanks Martín On Sep 20, 2012, at 1:13 AM, Martin Fernandez fmartin91@gmail.com wrote:
|
If setting that environment variable fixes things, then you should |
Figure it out! Thanks a lot for the help! Martín On 20/09/2012, at 01:45, Daniel Wagner notifications@github.com wrote: If setting that environment variable fixes things, then you should man — |
I am having issues again while executing my program. I leave the crash with the complete information. Process: ghc [22082] Date/Time: 2012-09-24 20:40:07.781 -0300 Crashed Thread: 2 Exception Type: EXC_BAD_ACCESS (SIGBUS) VM Regions Near 0x5: Thread 0:: Dispatch queue: com.apple.main-thread Thread 1: Thread 2 Crashed: Thread 3: Thread 2 crashed with X86 Thread State (32-bit): Binary Images: External Modification Summary: VM Region Summary: REGION TYPE VIRTUAL |
I'm a busy person, and these bindings have very low priority in my life right now. Moreover, I strongly suspect that the bug is in your code, not in the bindings. Given these two facts, you have to give some pretty convincing evidence that the problem lies specifically in the haskell-pkg-janitors/X11 codebase (like "here's a patch that fixes the problem for me" or like "this minimal Haskell program has the problem and this straightforward C translation does not") before I plan on paying attention. Good luck. |
I have installed X11 and also this library without any problems.
When im trying to test my app i get this error
Loading package X11-1.6.0 ... can't load .so/.DLL for: Xext (dlopen(libXext.dylib, 9): image not found)
I have made a symlink to /usr because it installs X11 by default in /opt.
The text was updated successfully, but these errors were encountered: