Skip to content

Add helper function to preload some libraries if necessary #24885

@embray

Description

@embray

Following my comments on #24575 I think it might be useful to have a generic helper function for implementing my workaround there.

For now it is Linux-only since we've only explicitly encountered this problem on Linux. I believe LD_PRELOAD may be supported on newer versions of Cygwin, but I haven't specifically encountered the need for this workaround there. It would also have to work a bit differently on OSX (which uses DYLD_INSERT_LIBRARY for this purpose). Again, the need hasn't been specifically encountered on that platform. I'm not sure about other unices either.

CC: @videlec @slel

Component: build

Author: Erik Bray

Branch/Commit: 3ddb719

Reviewer: Vincent Delecroix

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions