Ticket #193 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

locate COBIA at posix

Reported by: jasper Owned by: jasper
Priority: major Milestone:
Component: COBIA core Version:
Keywords: Cc:

Description

Currently the COBIA locator for POSIX (COBIA_POSIX.stub) is implemented as follows:

  • check an override using an environment variable "COBIA"
  • expand and check ~/.COBIA/COBIA
  • check /usr/local/COBIA

It is not taken into account which of these is the newer COBIA, which should be done so that a local COBIA installation (~/.COBIA/COBIA) does not conflict with an all users installation (/usr/local/COBIA).

There is however not the equivalent of a Windows registry to determine what the COBIA version is prior to loading the COBIA.so (which contains an entry point to determine its version). A solution must be designed and implemented

Change History

comment:1 Changed 8 months ago by jasper

In linux, this is a usual approach:

libCOBIA.so -> libCOBIA.1.2.1.0.so
libCOBIA.1.2.1.0.so

agreement in M&T SIG, Mar 19 2024, to proceed in this manner.

comment:2 Changed 8 months ago by jasper

The proper arrangement is

libCOBIA.so.1.2.1.0

with ".so" not at the end

comment:3 Changed 8 months ago by jasper

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

Fixed in commit 4f508cc1fce2cc92b72b7118628e41ac83654c82 (phase III only).

Note: See TracTickets for help on using tickets.