Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: sl1pkn07 on November 13, 2015, 09:09:22 PM

Title: cmake: fail detect libx265
Post by: sl1pkn07 on November 13, 2015, 09:09:22 PM

Run Build Command:"/usr/bin/make" "cmTC_0c8f8/fast"
/usr/bin/make -f CMakeFiles/cmTC_0c8f8.dir/build.make CMakeFiles/cmTC_0c8f8.dir/build
make[1]: se entra en el directorio '/tmp/makepkg/avidemux-git/src/build_core_plugins_settings/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0c8f8.dir/CheckFunctionExists.c.o
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=x265_encoder_open_68  -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fmessage-length=0 -fmessage-length=0    -o CMakeFiles/cmTC_0c8f8.dir/CheckFunctionExists.c.o   -c /tmp/makepkg/avidemux-git/src/avidemux/cmake_compile_check/CheckFunctionExists.c
Linking C executable cmTC_0c8f8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c8f8.dir/link.txt --verbose=1
/usr/bin/cc  -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fmessage-length=0 -fmessage-length=0    -Wl,-O1,--sort-common,--as-needed,-z,relro  CMakeFiles/cmTC_0c8f8.dir/CheckFunctionExists.c.o  -o cmTC_0c8f8 -rdynamic /usr/lib64/libx265.so
/usr/lib64/libx265.so: referencia a `dlopen' sin definir
/usr/lib64/libx265.so: referencia a `dlsym' sin definir
collect2: error: ld devolvió el estado de salida 1
CMakeFiles/cmTC_0c8f8.dir/build.make:98: fallo en las instrucciones para el objetivo 'cmTC_0c8f8'
make[1]: *** [cmTC_0c8f8] Error 1
make[1]: se sale del directorio '/tmp/makepkg/avidemux-git/src/build_core_plugins_settings/CMakeFiles/CMakeTmp'
Makefile:126: fallo en las instrucciones para el objetivo 'cmTC_0c8f8/fast'
make: *** [cmTC_0c8f8/fast] Error 2


x265 v1.8

greetings
Title: Re: cmake: fail detect libx265
Post by: mean on November 14, 2015, 04:36:35 PM
-ldl seems needed, that"s weird
Title: Re: cmake: fail detect libx265
Post by: sl1pkn07 on November 14, 2015, 05:45:26 PM
this is the script use my distro to build x265

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/x265
Title: Re: cmake: fail detect libx265
Post by: mean on November 14, 2015, 07:43:11 PM
Maybe fixed
Title: Re: cmake: fail detect libx265
Post by: sl1pkn07 on November 15, 2015, 01:14:55 AM
yep. fixed