[Mapguide-trac] [mapguide-trac] #2815: CMake: mod_mgmapagent.so is built with missing RPATH
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Aug 24 04:26:36 PDT 2020
#2815: CMake: mod_mgmapagent.so is built with missing RPATH
----------------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: low | Milestone: 4.0
Component: Build System | Version:
Severity: trivial | Keywords:
External ID: |
----------------------------+----------------------
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`
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2815>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list