Ticket #6976 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

OS X: Remove DYLD_LIBRARY_PATH from .profile & MacOS/.environment list

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description

A user reported that they can't launch another application from the shell on the Mac because our GSL is interfering with it as we set the DYLD_LIBRARY_PATH in the shell startup.

We should not need to do this any more so it should be removed from the .profile. The .MacOS/environment sets the MANTIDPATH which is not necessary either and should be removed.

More info here:

https://bugs.launchpad.net/inkscape/+bug/1175269

Change History

comment:1 Changed 7 years ago by Russell Taylor

I didn't realise we didn't need these anymore. This is good as it should sort out the various tickets complaining that you can't have multiple mantids on the Mac.

comment:2 Changed 7 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 7 years ago by Martyn Gigg

Remove Mac postflight script & have preflight clean up old refs

This will make moving to DragNDrop easier. Refs #6976

Changeset: 94ead8b4e6cfade6ce5e9dc45c4fbb709e3012c3

comment:4 Changed 7 years ago by Martyn Gigg

Remove Mac postflight script & have preflight clean up old refs

This will make moving to DragNDrop easier. Refs #6976

Changeset: 94ead8b4e6cfade6ce5e9dc45c4fbb709e3012c3

comment:5 Changed 7 years ago by Martyn Gigg

Correct a few typos in preflight script. Refs #6976

Changeset: f84a384bc8a5b0e0ad2a00145e89c06768a7b99a

comment:6 Changed 7 years ago by Martyn Gigg

Correct a few typos in preflight script. Refs #6976

Changeset: f84a384bc8a5b0e0ad2a00145e89c06768a7b99a

comment:7 Changed 7 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

Branch: bugfix/6976_osx_flight_scripts

Install: The latest build and verify that references to MANTIDPATH have been removed from $HOME/.profile & $HOME/.MacOS/environment.plist.

Also check the Mantid stuff has been removed from /Library/Python/2.6/site-packages

comment:8 Changed 7 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:9 Changed 7 years ago by Martyn Gigg

Remove Mac postflight script & have preflight clean up old refs

This will make moving to DragNDrop easier. Refs #6976

Changeset: 94ead8b4e6cfade6ce5e9dc45c4fbb709e3012c3

comment:10 Changed 7 years ago by Martyn Gigg

Correct a few typos in preflight script. Refs #6976

Changeset: f84a384bc8a5b0e0ad2a00145e89c06768a7b99a

comment:11 Changed 7 years ago by Russell Taylor

  • Status changed from verifying to closed

It still leaves a bit of cruft in the .profile, but nothing that will have any effect:

# Environment variable additions for Mantid
 
 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH

Otherwise they're all clean and everything seems to work.

comment:12 Changed 7 years ago by Martyn Gigg

Remove Mac postflight script & have preflight clean up old refs

This will make moving to DragNDrop easier. Refs #6976

Changeset: 94ead8b4e6cfade6ce5e9dc45c4fbb709e3012c3

comment:13 Changed 7 years ago by Martyn Gigg

Correct a few typos in preflight script. Refs #6976

Changeset: f84a384bc8a5b0e0ad2a00145e89c06768a7b99a

comment:14 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7822

Note: See TracTickets for help on using tickets.