Skip to content

Cannot link with LibreSSL due to duplicate symbol (ecdsa_sign) #478

@pacien

Description

@pacien

Both tinc 1.1pre18 and the current version of LibreSSL (4.2.1) define a function named ecdsa_sign. This symbol name clash causes linking to fail.

ld.lld: error: duplicate symbol: ecdsa_sign
>>> defined at ecdsa.c:153 (./xx/Debug/1t5g4q30/x86_64/tinc-prefix/src/tinc/src/ed25519/ecdsa.c:153)
>>>            ed25519/ecdsa.o:(ecdsa_sign)
>>> defined at ecdsa.c:223 (.cxx/Debug/1t5g4q30/x86_64/libressl-prefix/src/libressl/crypto/ecdsa/ecdsa.c:223)
>>>            libcrypto_la-ecdsa.o:(.text.ecdsa_sign+0x0) in archive .cxx/Debug/1t5g4q30/x86_64/usr/local/lib/libcrypto.a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions