Ticket #7028 (new bug)

Opened 11 months ago

Last modified 7 months ago

incorrect link paths for in mac os x after install

Reported by: andykitchen Owned by: igloo
Priority: high Milestone: 7.8.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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

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

Changed 11 months ago by andykitchen

This could probably be fixed on installation using install_name_tool

Changed 11 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

Changed 10 months ago by PHO

  • cc pho@… added

Changed 7 months ago by igloo

  • difficulty set to Unknown
  • description modified (diff)

Changed 7 months ago by igloo

  • owner set to igloo
  • priority changed from normal to high
  • milestone set to 7.8.1

Thanks for the report, I'll take a look

Note: See TracTickets for help on using tickets.