Opened 5 years ago

Closed 3 years ago

#7028 closed bug (worksforme)

incorrect link paths for in mac os x after install

Reported by: andykitchen Owned by: leroux
Priority: normal Milestone: 7.10.1
Component: Build System Version: 7.4.2
Keywords: Cc: pho@…
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Installing GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

I've built and installed 7.4.2 fron source:

iceman:ghc-7.4.2 andy$ otool -L /usr/local/lib/ghc-7.4.2/libHSrts-ghc7.4.2.dylib/usr/local/lib/ghc-7.4.2/libHSrts-ghc7.4.2.dylib:
	/usr/local/lib/ghc-7.4.2/libHSrts-ghc7.4.2.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/andy/src/ghc-7.4.2/libffi/build/inst/lib/libffi.5.dylib (compatibility version 6.0.0, current version 6.10.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
	/opt/local/lib/gcc47/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

Lib rts still links again the libffi in my home directory.

It should be linked against:

/usr/local/lib/ghc-7.4.2/libffi.dylib

This problem also affects the binary distribution.

Change History (13)

comment:1 Changed 5 years ago by andykitchen

This could probably be fixed on installation using install_name_tool

comment:2 Changed 5 years ago by andykitchen

Summary: incorrect link paths for libHSrts in mac os x after installincorrect link paths for in mac os x after install

command to find offending libraries:

find /usr/local/lib/ghc-7.4.2 -type f -perm +u=x -exec bash -c 'otool -L {} | grep :space:?*/Users > /dev/null' \; -print

comment:3 Changed 5 years ago by PHO

Cc: pho@… added

comment:4 Changed 5 years ago by igloo

Description: modified (diff)
difficulty: Unknown

comment:5 Changed 5 years ago by igloo

Milestone: 7.8.1
Owner: set to igloo
Priority: normalhigh

Thanks for the report, I'll take a look

comment:6 Changed 4 years ago by igloo

Owner: igloo deleted

comment:7 Changed 4 years ago by leroux

Owner: set to leroux

comment:8 Changed 4 years ago by leroux

Status: newinfoneeded

Are you still experiencing these issues with HEAD or 7.6 binary dist? It could be helpful if you would test it with a setup similar the one before.

comment:9 Changed 4 years ago by darchon

I assume this is now fixed with #8266 ?

comment:10 Changed 4 years ago by thoughtpolice

Priority: highnormal

comment:11 Changed 4 years ago by thoughtpolice

Milestone: 7.8.37.8.4

Moving to 7.8.4.

comment:12 Changed 3 years ago by thoughtpolice

Milestone: 7.8.47.10.1

Moving (in bulk) to 7.10.4

comment:13 Changed 3 years ago by thomie

Resolution: worksforme
Status: infoneededclosed

Please re-open if you're still having problems with version 7.8.3.

Note: See TracTickets for help on using tickets.