Opened 22 months ago

Last modified 2 months ago

#7028 infoneeded bug

incorrect link paths for in mac os x after install

Reported by: andykitchen Owned by: leroux
Priority: high Milestone: 7.8.3
Component: Build System Version: 7.4.2
Keywords: Cc: pho@…
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Installing GHC failed Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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 (9)

comment:1 Changed 22 months ago by andykitchen

This could probably be fixed on installation using install_name_tool

comment:2 Changed 22 months 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 22 months ago by PHO

  • Cc pho@… added

comment:4 Changed 19 months ago by igloo

  • Description modified (diff)
  • Difficulty set to Unknown

comment:5 Changed 19 months 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 9 months ago by igloo

  • Owner igloo deleted

comment:7 Changed 7 months ago by leroux

  • Owner set to leroux

comment:8 Changed 7 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 2 months ago by darchon

I assume this is now fixed with #8266 ?

Note: See TracTickets for help on using tickets.