Ticket #10912 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Error starting package on linux systems without gperftools-devel

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 3.3
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

Starting MantidPlot shows this

ERROR: ld.so: object '/usr/lib/libtcmalloc_minimal.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

It looks like the symbolic link only exists if the -devel package is installed.

Change History

comment:1 Changed 6 years ago by Martyn Gigg

Follow symlink for tcmalloc libraries.

The gperftools runtime package will only have the version library files and not the symbolic link. Refs #10912

Changeset: 86a9f017e0d885dd48d68cfaf403f6c43ef5b64e

comment:2 Changed 6 years ago by Martyn Gigg

Fix launch script wrapper commands.

If eval is used then LD_PRELOAD does not get set. Refs #10912

Changeset: b18cd7b361595c7f3888cc1361e8dfb832ec0f41

comment:3 Changed 6 years ago by Martyn Gigg

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

This is being verified as pull request #126.

comment:4 Changed 6 years ago by Martyn Gigg

I should have based this off master. That way it would be simpler to simply merge the branches into next. I'm closing this to do that.

comment:5 Changed 6 years ago by Martyn Gigg

Follow symlink for tcmalloc libraries.

The gperftools runtime package will only have the version library files and not the symbolic link. Refs #10912

Changeset: bdb2561fd7b4b361f661c7c58b5542b6e4effd8e

comment:6 Changed 6 years ago by Martyn Gigg

Fix launch script wrapper commands.

If eval is used then LD_PRELOAD does not get set. Refs #10912

Changeset: e6b70998ca7e0b67baeeb34b7b5cc407a75f0523

comment:7 Changed 6 years ago by Martyn Gigg

This is being verified as pull request #127.

comment:8 Changed 6 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:9 Changed 6 years ago by Owen Arnold

  • Tester changed from Martyn Gigg to Owen Arnold

comment:10 Changed 6 years ago by Martyn Gigg

  • Status changed from verifying to verify
  • Tester Owen Arnold deleted

comment:11 Changed 6 years ago by Owen Arnold

Working on RHEL6

comment:12 Changed 6 years ago by Owen Arnold

  • Status changed from verify to closed
  • Tester set to Owen Arnold

Merge pull request #127 from mantidproject/bugfix/10912_tcmalloc_no_dev_pkg

Fix launch script when tcmalloc dev package is not installed

Full changeset: d8b8ffefc7f831d141a7ba0635e4953294ba74f3

comment:13 Changed 6 years ago by Martyn Gigg

Merge branch 'bugfix/10912_tcmalloc_no_dev_pkg' into next

Full changeset: 455f2e4e0ac966ceb81bf188474156ca5b40c29a

comment:14 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11751

Note: See TracTickets for help on using tickets.