Opened 5 years ago

Closed 3 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:

Description

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 5 years ago by pcapriotti

difficulty: Unknown
Milestone: 7.6.1

Thanks for the report.

comment:3 Changed 5 years ago by igloo

Milestone: 7.6.17.6.2

comment:4 Changed 4 years ago by darchon

Probably fixed by #8266

comment:5 Changed 3 years ago by thoughtpolice

Milestone: 7.6.27.10.1

Moving to 7.10.1.

comment:6 Changed 3 years ago by thoughtpolice

Component: libraries/baseCore Libraries
Owner: set to ekmett

Moving over to new owning component 'Core Libraries'.

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

Component: Core LibrariesCompiler
Milestone: 7.10.1
Resolution: duplicate
Status: newclosed

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.