Opened 8 years ago

Last modified 8 years ago

#6488 closed enhancement

SOSI - configure script — at Version 1

Reported by: shot2 Owned by: warmerdam
Priority: low Milestone: 2.2.0
Component: ConfigBuild Version: svn-trunk
Severity: normal Keywords: libfyba sosi
Cc:

Description (last modified by shot2)

Request: With the recent availability of a SOSI library package (e.g. libfyba0 and libfyba-dev) in various Linux distributions, ./configure --with-sosi should attempt to locate the required dependencies in standard OS locations.

Issue: In its current state, the configure script contains detection logic which assumes that the SOSI library has been either manually built and installed under /usr/local/lib|include, or should get detected under $with_sosi/lib etc. Both solutions are likely to fail when using the OS-provided package in a multiarch environment.

Example of install location for libfyba0 package on a vanilla Ubuntu 16.04 amd64:

$ldconfig -p | grep libfy
        libfyut.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfyut.so.0
        libfyut.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfyut.so
        libfygm.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfygm.so.0
        libfygm.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfygm.so
        libfyba.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfyba.so.0
        libfyba.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libfyba.so

N.B. Temporary workarounds: either hand-editing the configure script, or creating symlinks to the libraries/headers then use the '$with_sosi' configure option

Change History (1)

comment:1 by shot2, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.