Skip to content

Fix spkg-configure.m4 for singular #32789

@mkoeppe

Description

@mkoeppe

Follow-up from #29024. This time with testing on more than 1 platform.

On Debian 11 (a.k.a. bullseye, stable) Singular's libs have different names, and are failing to be picked up: they all are installed in /usr/lib/x86_64-linux-gnu/ and we have the following: I add Sage's names next to their

Debian                             Sage

libsingular-factory.so             libfactory.so
libsingular-gfan.so                ???
libsingular-omalloc.so             libomalloc.so
libsingular-polys.so               libpolys.so
libsingular-resources.so           libsingular_resources.so
libsingular-Singular.so            libSingular.so            

While it's not hard to test for libsingular-Singular.so in place of libSingular.so, it's some more work to use it.

Library names may be obtained from $ pkg-config --libs-only-l singular, which on Debian produces

-lsingular-Singular -ldl -lsingular-polys -lntl -lgmp -ldl -lsingular-factory -lntl -lgmp -lsingular-omalloc -lsingular-resources

Upstream: Reported upstream. No feedback yet.

CC: @dimpase @kiwifb @slel @isuruf @orlitzky @tobiasdiez @tobihan

Component: build: configure

Author: Dima Pasechnik

Branch/Commit: c0ceaf5

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/32789

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions