Opened 3 years ago

Closed 7 months 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 Revisions:

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 3 years ago by andykitchen

This could probably be fixed on installation using install_name_tool

comment:2 Changed 3 years ago by andykitchen

  • Summary changed from incorrect link paths for libHSrts in mac os x after install to incorrect 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 3 years ago by PHO

  • Cc pho@… added

comment:4 Changed 3 years ago by igloo

  • Description modified (diff)
  • difficulty set to Unknown

comment:5 Changed 3 years ago by igloo

  • Milestone set to 7.8.1
  • Owner set to igloo
  • Priority changed from normal to high

Thanks for the report, I'll take a look

comment:6 Changed 2 years ago by igloo

  • Owner igloo deleted

comment:7 Changed 21 months ago by leroux

  • Owner set to leroux

comment:8 Changed 21 months ago by leroux

  • Status changed from new to infoneeded

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 17 months ago by darchon

I assume this is now fixed with #8266 ?

comment:10 Changed 14 months ago by thoughtpolice

  • Priority changed from high to normal

comment:11 Changed 13 months ago by thoughtpolice

  • Milestone changed from 7.8.3 to 7.8.4

Moving to 7.8.4.

comment:12 Changed 9 months ago by thoughtpolice

  • Milestone changed from 7.8.4 to 7.10.1

Moving (in bulk) to 7.10.4

comment:13 Changed 7 months ago by thomie

  • Resolution set to worksforme
  • Status changed from infoneeded to closed

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

Note: See TracTickets for help on using tickets.