Ticket #1019 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

X11 package puts path to X libraries in ld-options rather than library-dirs, so ghci can't find it

Reported by: wolfgang Owned by:
Priority: low Milestone: Not GHC
Component: libraries (other) Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

The configure script for the X11 package puts the detected library path in a -L option in the ld-options field of the package.conf file. Instead, it should go into the library-dirs field.

On systems where X11 is not on the default path (such as Mac OS X), this means that the X11 package works only when compiling code, not from ghci, which only looks at the library-dirs field.

Workaround: On Mac OS X, people have to set DYLD_LIBRARY_PATH=/usr/X11R6/lib before running GHCi.

Change History

Changed 5 years ago by igloo

  • milestone set to Not GHC

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to invalid

No longer an extralib, so closing the bug

Changed 4 years ago by igloo

Oh, BTW: I've forwarded the bug to Don, the X11 maintainer.

Changed 4 years ago by dons

Works for me, send a patch if this is still an issue.

Changed 3 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 3 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.