Skip to content

Building mbedtls 2.2.0 on RHEL 5 leads to "No rule to make target library/libmbedtls.so', needed by tests/test_suite_aes.cbc.c'" #391

@robert-scheck

Description

@robert-scheck

Trying to build mbedtls 2.2.0 on RHEL 5 leads to the failure:

make[2]: *** No rule to make target `library/libmbedtls.so', needed by `tests/test_suite_aes.cbc.c'. Stop.

Running

sed -e 's/libmbedtls.so$/libmbedtls.so.2.2.0/' -i tests/CMakeFiles/test_suite_*.dir/build.make

after "cmake" and before "make" works around the issue. Interestingly, this only affects RHEL 5, not RHEL 6 or 7, thus this must be related to cmake somehow.

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