Skip to content

i have issue when execute test example #17

@kinhdang

Description

@kinhdang

Dear all !

Using example test in help, running in centOS6.x, i have reiceved issue follow,
any know, please give us how to resolve this issue ?

[centos60]# cc -DSMTP_OPENSSL smtp.c -c -o smtp.o
[centos60]# cc -DSMTP_OPENSSL test.c -c -o test.o
[centos60]# cc test.o smtp.o -o smtp_test -lssl -lcrypto
smtp.o: In function smtp_tls_init': smtp.c:(.text+0x21b2): undefined reference to X509_check_host'
collect2: ld returned 1 exit status

thanks.

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