Opened 4 years ago

Closed 4 years ago

#2815 closed defect (fixed)

CMake: mod_mgmapagent.so is built with missing RPATH

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: Build System Version:
Severity: trivial Keywords:
Cc: External ID:

Description

Currently, the CMake build of mod_mgmapagent.so is set up with an RPATH of $ORIGIN/../../lib64

This is insufficient as the load context is from $INSTALL/webserverextensions/apache2/modules which means it will try to load depdendent libraries from $INSTALL/webserverextensions/lib64, which does not contain libMgFoundation/libMgGeometry/libMgPlatformBase/libMgMapGuideCommon/etc as that is actually up one level.

In summary, we need the RPATH to be the following:

  • $ORIGIN/../../lib64
  • $ORIGIN/../../../lib64

Change History (1)

comment:1 by jng, 4 years ago

Resolution: fixed
Status: assignedclosed

In 9721:

Fix RPATH for mod_mgmapagent.so in CMake build. Fixes #2815

Note: See TracTickets for help on using tickets.