[Slackbuilds-users] vlc-3.0.10
Christoph Willing
chris.willing at linux.com
Mon May 11 13:31:43 UTC 2020
On 11/5/20 9:28 pm, Christoph Willing wrote:
> On 11/5/20 8:16 pm, Frédéric Falsetti wrote:
>> Hi,
>> vlc-3.0.10 fails to build
>>
>> /tmp/SBo/vlc-3.0.10/bin/.libs/lt-vlc-cache-gen: symbol lookup error: /usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol: _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
>>
>> I have VTK-8.2.0-i486-1_SBo
>> opencv-4.3.0-i586-1_SBo
>>
>> Making all in bin
>> make[2] : on entre dans le répertoire « /tmp/SBo/vlc-3.0.10/bin »
>> CC vlc-vlc.o
>> CC vlc-override.o
>> CCLD vlc
>> CC rootwrap.o
>> rootwrap.c: Dans la fonction ‘main’:
>> rootwrap.c:251:5: attention : ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
>> setuid (uid);
>> ^
>> CCLD vlc-wrapper
>> CC vlc_static-vlc.o
>> CC vlc_static-override.o
>> CCLD vlc-static
>> CC cachegen.o
>> CCLD vlc-cache-gen
>> GEN ../modules/plugins.dat
>> /tmp/SBo/vlc-3.0.10/bin/.libs/lt-vlc-cache-gen: symbol lookup error: /usr/lib/libvtkCommonExecutionModel.so.1: undefined symbol: _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv
>> Makefile:1795 : la recette pour la cible « ../modules/plugins.dat » a échouée
>> make[2]: *** [../modules/plugins.dat] Erreur 127
>> make[2] : on quitte le répertoire « /tmp/SBo/vlc-3.0.10/bin »
>> Makefile:1556 : la recette pour la cible « all-recursive » a échouée
>> make[1]: *** [all-recursive] Erreur 1
>> make[1] : on quitte le répertoire « /tmp/SBo/vlc-3.0.10 »
>> Makefile:1441 : la recette pour la cible « all » a échouée
>> make: *** [all] Erreur 2
>>
>
> I think this is a problem with your VTK build. I just built the 32bit
> version to check this in a clean VM and found that the
> /usr/lib/libvtkCommonExecutionModel.so.1 file definitely _does_ contain
> the _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv symbol - so
> shouldn't be a problem for building vlc.
>
After building opencv in the same VM (so VTK is detected & used) and
then building vlc, build log shows:
Making all in bin
make[2]: Entering directory '/var/tmp/SBo/vlc-3.0.10/bin'
CC vlc-vlc.o
CC rootwrap.o
CC cachegen.o
CC vlc-override.o
CC vlc_static-vlc.o
CC vlc_static-override.o
rootwrap.c: In function 'main':
rootwrap.c:251:5: warning: ignoring return value of 'setuid', declared
with attribute warn_unused_result [-Wunused-result]
setuid (uid);
^
CCLD vlc-cache-gen
CCLD vlc-wrapper
CCLD vlc
CCLD vlc-static
GEN ../modules/plugins.dat
make[2]: Leaving directory '/var/tmp/SBo/vlc-3.0.10/bin'
Making all in test
...
...
i.e. no problem building 32bit vlc with VTK & opencv support.
I suggest you rebuild VTK (perhaps it would be good to remove existing
VTK first) and check for the "missing" symbol by running:
strings /usr/lib/libvtkCommonExecutionModel.so.1 | grep _ZN33
and look for the symbol in the output. If the symbol is listed (as it
should be) then go on to rebuild opencv (so it's built against a
correctly working VTK), then try building vlc again.
chris
More information about the SlackBuilds-users
mailing list