Opened 5 years ago

Closed 2 years ago

#5983 closed bug (duplicate)

Libraries installed in wrong place

Reported by: r0ml Owned by: ekmett
Priority: normal Milestone:
Component: Compiler Version: 7.4.1
Keywords: Cc: pho@…
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: #8266 Differential Rev(s):
Wiki Page:


All of the installed libraries are placed in /Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1 by the installation package.

However, all of the dylib files report an otool -D of the form /usr/local/lib/ghc-7.4.1/...

The workaround is to create a link from /usr/local/lib/ghc-7.4.1 to /Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1

However, the installer should either create this link, or (better) invoke otool -id as part of the installation process and set the correct dylib path for all the dylibs.

Change History (7)

comment:1 Changed 5 years ago by PHO

  • Cc pho@… added

comment:2 Changed 4 years ago by pcapriotti

  • difficulty set to Unknown
  • Milestone set to 7.6.1

Thanks for the report.

comment:3 Changed 4 years ago by igloo

  • Milestone changed from 7.6.1 to 7.6.2

comment:4 follow-up: Changed 3 years ago by darchon

Probably fixed by #8266

comment:5 Changed 2 years ago by thoughtpolice

  • Milestone changed from 7.6.2 to 7.10.1

Moving to 7.10.1.

comment:6 Changed 2 years ago by thoughtpolice

  • Component changed from libraries/base to Core Libraries
  • Owner set to ekmett

Moving over to new owning component 'Core Libraries'.

comment:7 in reply to: ↑ 4 Changed 2 years ago by thomie

  • Component changed from Core Libraries to Compiler
  • Milestone 7.10.1 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Replying to darchon:

Probably fixed by #8266

Dynamic linking has been much improved on OS X. But please re-open if there is still an issue.

Note: See TracTickets for help on using tickets.