Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #309

Closed
Open
Created May 28, 2019 by gsell@gsellOwner

review OPAL CMakeModule files

Searching for a library with

FIND_LIBRARY (GSL_LIBRARY gsl
    HINTS $ENV{GSL_ROOT_DIR}/lib $ENV{GSL_LIBRARY_PATH} $ENV{GSL_LIBRARY_DIR} $ENV{GSL_PREFIX}/lib $ENV{GSL_DIR}/lib $ENV{GSL}/lib
    PATHS ENV LIBRARY_PATH
)

can fail if the library is installed in /lib or /lib64. For some unknown reasons this works on Merlin-5 but fails on Merlin-6 if e.g. libgsl is installed.

What is the problem?

  • On RHEL7 /usr/lib64 is a symbolic link to /lib64.
  • If e.g. GSL_ROOT_DIR is not set in the environment /lib and /lib64 are used to search for the library.
  • In RHEL7 most system libraries are installed in /lib64, which is the first hint if GSL_ROOT_DIR is not set.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking