Project

General

Profile

Bug #5318

v007 libraries have rpaths pointing back to v006 on OSX

Added by Kelvin Rodriguez 6 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
-
Impact:
Software Version:
Test Reviewer:

Description

It seems some binaries in v007 have rpaths set for v006. For example:

otool -l /opt/usgs/v007/ports/libexec/qt5/bin/uic
...
Load command 12
          cmd LC_LOAD_DYLIB
      cmdsize 96
         name /opt/usgs/v006/ports/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (offset 24)
   time stamp 2 Wed Dec 31 17:00:02 1969
      current version 5.6.1
...

Probably worth tracking down any other libraries with a similar problem as it causes runtime library errors at runtime if you do not have both v006 and v007 installed. In the case of uic, I can't generate MOC files either.

History

#1 Updated by Ian Humphrey 6 months ago

  • Status changed from New to In Progress
  • Assignee set to Ian Humphrey

#2 Updated by Ian Humphrey 5 months ago

  • Status changed from In Progress to Resolved

Fixed libraries/binaries in /opt/usgs/v007_FIX

To test, I'm going to:

cd /opt/usgs
mv v006 v006_BACKUP
mv v007 v007_BACKUP
mv v007_FIX v007

then try to build ISIS3 on prog26

#3 Updated by Ian Humphrey 5 months ago

  • Status changed from Resolved to In Progress

#4 Updated by Ian Humphrey 5 months ago

  • Status changed from In Progress to Resolved

Did the above steps and didn't get any issues compiling QnetTools/

Running a full build to see if linking is working correctly as well.

#5 Updated by Ian Humphrey 5 months ago

Compiled all the applications, ran a command-line application (crop -h) and qview. Both worked fine.

#7 Updated by Ian Humphrey 5 months ago

  • Status changed from Resolved to In Progress

Setting back to in progress:

The local apps and unit tests executables link incorrectly to /opt/usgs/v006 for qt5 and qwt.
Investigating why they are doing this.

#8 Updated by Ian Humphrey 5 months ago

  • Status changed from In Progress to Resolved

Needed to modify the dylib id's of the v007 qwt, qt5, and Python frameworks. Modified Python framework symlinks to point relatively to v007 (instead of absolutely to v006).

#9 Updated by Kelvin Rodriguez 2 months ago

  • Status changed from Resolved to Closed

Tested, everything seems good.

Also available in: Atom PDF