Summary: | "Future proof" ffmpeg libraries loading prevents using legit libraries | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Maxime Caignart <maxime-jogamp> |
Component: | video | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 2.4.0 | ||
Hardware: | All | ||
OS: | all | ||
Type: | DEFECT | SCM Refs: | |
Workaround: | --- |
Description
Maxime Caignart
2017-08-17 14:24:18 CEST
A little try and fail later, I found an easy workaround for this issue. The workaround consists in : - providing the latest working ffmpeg libs for jogamp in a directory - create symbolic linksfor every .so and name them with the latest version - use LD_LIBRARY_PATH to specify this directory at program launch As an example, here are the commands I executed inside the directory : ln -s libavcodec.so.56 libavcodec.so.57 ln -s libavdevice.so.56 libavdevice.so.57 ln -s libavfilter.so.5 libavfilter.so.6 ln -s libavformat.so.56 libavformat.so.57 ln -s libavresample.so.2 libavresample.so.3 ln -s libavutil.so.54 libavutil.so.55 ln -s libswresample.so.1 libswresample.so.2 ln -s libswscale.so.3 libswscale.so.4 ln -s libvpx.so.2 libvpx.so.3 ln -s libvpx.so.2 libvpx.so.4 |