Skip to content

[ffmpeg] Dependencies Secur32.lib and Bcrypt.lib are missing when linking to avutil and avformat #9571

@JackBoosY

Description

@JackBoosY

Host Environment

  • OS: Windows
  • Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install ffmpeg

Failure logs

avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol AcquireCredentialsHandleA referenced in function tls_open
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_FreeCredentialsHandle referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol InitializeSecurityContextA referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_DeleteSecurityContext referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol __imp_ApplyControlToken referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol QueryContextAttributesA referenced in function tls_write
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol FreeContextBuffer referenced in function tls_close
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol EncryptMessage referenced in function tls_write
avformat.lib(tls_schannel.o) : error LNK2019: unresolved external symbol DecryptMessage referenced in function tls_read
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptOpenAlgorithmProvider referenced in function av_get_random_seed
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptCloseAlgorithmProvider referenced in function av_get_random_seed
avutil.lib(random_seed.o) : error LNK2019: unresolved external symbol BCryptGenRandom referenced in function av_get_random_seed

Metadata

Metadata

Assignees

Labels

requires:reproThe issue is not currently repro-able

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions