Gentoo Archives: gentoo-user

From: Alarig Le Lay <alarig@××××××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] handbrake fails to compile
Date: Sun, 24 May 2020 10:58:45
Message-Id: 20200524105824.c77ds6nagm6zjf6r@mew.swordarmor.fr
In Reply to: [gentoo-user] handbrake fails to compile by tuxic@posteo.de
1 Hi,
2
3 On Sun 24 May 2020 12:44:20 GMT, tuxic@××××××.de wrote:
4 > Message was:
5 >
6 > * ERROR: media-video/handbrake-1.3.2::gentoo failed (compile phase):
7 > * emake failed
8
9 No, the error is here:
10
11 > /usr/bin/g++ -pipe -Wl,-S -Wl,-O1 -Wl,--as-needed -fmessage-length=0 -Wall -Wno-format-truncation -g0 -O3 -O2 -pipe -march=native -mfpmath=sse -msse2 -I./libhb/ -Iinclude -I/usr/include/libxml2 -o HandBrakeCLI -Wl,--start-group test/parsecsv.o test/test.o ./libhb/libhandbrake.a -Llib -lass -lavformat -lavfilter -lavcodec -lavutil -lswresample -lpostproc -lmp3lame -ldvdnav -ldvdread -lfribidi -lswscale -lvpx -ltheoraenc -ltheoradec -lvorbis -lvorbisenc -logg -lx264 -lbluray -lfreetype -lxml2 -lbz2 -lz -ljansson -lharfbuzz -lopus -lspeex -llzma -ldav1d -lfontconfig -lpthread -ldl -lm -Wl,--end-group
12 > /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libhb/libhandbrake.a(common.o): undefined reference to symbol 'x265_api_query'
13 > /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libx265.so.179: error adding symbols: DSO missing from command line
14 > collect2: error: ld returned 1 exit status
15 > make: *** [../test/module.rules:47: HandBrakeCLI] Error 1
16 > make: *** Waiting for unfinished jobs....
17
18 It seems to be an error in the Makefile:
19 https://stackoverflow.com/questions/19901934/libpthread-so-0-error-adding-symbols-dso-missing-from-command-line
20
21 Regards,
22 --
23 Alarig