Skip to content

Packages requiring additional shared libraries look for them at a wrong location: they use the hard-coded build directory location #6103

@yurivict

Description

@yurivict

At least these 2 packages have this problem: semigroups, normalizinterface.

The installed gap with packages looks for the shared library in the build directory instead of looking in the install directory.
For example, the semigroups package looks for the library /usr/ports/math/gap/work/gap-4.15.0-beta1/pkg/semigroups/bin/lib/libsemigroups.so.3 (where it was built), and not in /usr/local/share/gap/pkg/semigroups/bin/lib/libsemigroups.so.2 where it is installed.

The lookup should be in a location relative to the current gap executable, not in a memorized build location.

This problem prevents packaging: it leaves these packages broken.

Version: 4.15.0-beta1
OS: FreeBSD 14.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions