Skip to content

Build from source distribution fails on Ubuntu 24.10 #218

@recri

Description

@recri

As noted in #144, the static libffi.a is not built with -fPIC so it cannot be linked into a dynamic library. -fPIC introduces runtime linking overhead which is generally to be avoided if not needed.

Amending the configure command to:

../configure --with-libffi --disable-staticffi

allows the package to be built and tested successfully.

Amending the make install command to:

sudo make install

allows the package to be installed in the standard location.

There is some mention of libffi requiring static linking at places in the configure, but I couldn't figure out what the issue was.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions