Skip to content

Instantly share code, notes, and snippets.

@binoculars
Created October 18, 2022 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save binoculars/a97a45b2ad32a8289a302fd340143f93 to your computer and use it in GitHub Desktop.
Save binoculars/a97a45b2ad32a8289a302fd340143f93 to your computer and use it in GitHub Desktop.
FFmpeg build with libbluray on alpine edge
#231 21.31 gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -fno-strict-overflow -fstack-protector-all -fPIE -fopenmp -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/local/include -I/usr/local/include/libvmaf -pthread -I/usr/local/include -I/usr/include/libpng16 -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/local/include -I/usr/local/include/libxml2 -DLIBXML_STATIC -I/usr/include/freetype2 -I/usr/include/libpng16 -L/usr/local/lib -L/usr/local/lib -L/lib -L/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -c -o /tmp/ffconf.XXAOJKph/test.o /tmp/ffconf.XXAOJKph/test.c
#231 21.31 gcc -fopenmp -Wl,-z,stack-size=2097152 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,noexecstack -fPIE -static-pie -I/usr/local/include -I/usr/local/include/libxml2 -DLIBXML_STATIC -I/usr/include/freetype2 -I/usr/include/libpng16 -L/usr/local/lib -L/usr/local/lib -L/lib -L/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -o /tmp/ffconf.XXAOJKph/test /tmp/ffconf.XXAOJKph/test.o -lbluray -lxml2 -lm -lfreetype -lbz2 -lz -lpng16 -lz -lbrotlidec -lbrotlicommon -lfontconfig -lexpat -lm
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libfontconfig.a(fcfreetype.o): in function `FcFreeTypeQueryFaceInternal':
#231 21.31 fcfreetype.c:(.text+0xcad): undefined reference to `FT_Get_MM_Var'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x201b): undefined reference to `FT_Get_PS_Font_Info'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x20d6): undefined reference to `FT_Get_BDF_Property'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2122): undefined reference to `FT_Get_BDF_Property'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2185): undefined reference to `FT_Get_BDF_Property'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2537): undefined reference to `FT_Get_BDF_Property'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2626): undefined reference to `FT_Get_BDF_Property'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libfontconfig.a(fcfreetype.o):fcfreetype.c:(.text+0x2705): more undefined references to `FT_Get_BDF_Property' follow
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libfontconfig.a(fcfreetype.o): in function `FcFreeTypeQueryFaceInternal':
#231 21.31 fcfreetype.c:(.text+0x27d4): undefined reference to `FT_Done_MM_Var'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x280a): undefined reference to `FT_Done_MM_Var'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libfontconfig.a(fcfreetype.o): in function `IA__FcFreeTypeQueryAll':
#231 21.31 fcfreetype.c:(.text+0x2cd5): undefined reference to `FT_Get_MM_Var'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2d4e): undefined reference to `FT_Set_Var_Design_Coordinates'
#231 21.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: fcfreetype.c:(.text+0x2e7b): undefined reference to `FT_Done_MM_Var'
#231 21.31 collect2: error: ld returned 1 exit status
#231 21.31 ERROR: libbluray not found using pkg-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment