[FFmpeg-trac] #7086(undetermined:closed): ffmpeg does not install with OpenSSL support
FFmpeg
trac at avcodec.org
Sat Mar 17 01:33:40 EET 2018
#7086: ffmpeg does not install with OpenSSL support
-------------------------------------+-------------------------------------
Reporter: supredoe | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by supredoe):
Edited the file "/local-directory-
name/ffmpeg/latest_git_20180316/ffmpeg/libavformat/tls_openssl.c" to hard-
code the path to openSSL headers:
===
#include </usr/include/openssl/bio.h>
#include </usr/include/openssl/ssl.h>
#include </usr/include/openssl/err.h>
===
The file bio.h [/usr/include/openssl/bio.h] contains BIO_set_flags and
BIO_clear_flags as well, as is excerpted unchanged below, directly from
the file "bio.h":
===
void BIO_set_flags(BIO *b, int flags);
int BIO_test_flags(const BIO *b, int flags);
void BIO_clear_flags(BIO *b, int flags);
#define BIO_get_flags(b) BIO_test_flags(b, ~(0x0))
#define BIO_set_retry_special(b) \
BIO_set_flags(b,
(BIO_FLAGS_IO_SPECIAL|BIO_FLAGS_SHOULD_RETRY))
#define BIO_set_retry_read(b) \
BIO_set_flags(b, (BIO_FLAGS_READ|BIO_FLAGS_SHOULD_RETRY))
#define BIO_set_retry_write(b) \
BIO_set_flags(b, (BIO_FLAGS_WRITE|BIO_FLAGS_SHOULD_RETRY))
/* These are normally used internally in BIOs */
#define BIO_clear_retry_flags(b) \
BIO_clear_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
#define BIO_get_retry_flags(b) \
BIO_test_flags(b, (BIO_FLAGS_RWS|BIO_FLAGS_SHOULD_RETRY))
===
Are there other options and possibilities, in case this doesn't work? (Re-
installing the entire operating system isn't an option.)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7086#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list