Files exist on the up-to-date system, tested on Processing 4.3. This is the actual error:
can’t load library openh264 (openh264|libopenh264|libopenh264-0) with -Djna.library.path=/home/cody/sketchbook/libraries/video/library/linux-amd64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘openh264’:
/home/cody/sketchbook/libraries/video/library/linux-amd64/libopenh264.so: file too short
/home/cody/sketchbook/libraries/video/library/linux-amd64/libopenh264.so: file too short
/home/cody/sketchbook/libraries/video/library/linux-amd64/libopenh264.so.6: file too short
Native library (linux-x86-64/libopenh264.so) not found in resource path (/tmp/processing/Frames8578252777278563381temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
(process:51844): libsoup-ERROR **: 19:23:09.547: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
Thanks, still does not work. Gstreamer system wide version on my sys: 1.22.5-2
I tried removing ~/sketchbook/libraries/video/library/linux-amd64/gstreamer-1.0, now more linking errors.
Any other ideas? Thanks.
can't load library gstrtspserver-1.0 (gstrtspserver-1.0|libgstrtspserver-1.0|libgstrtspserver-1.0-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'gstrtspserver-1.0':
libgstrtspserver-1.0.so: cannot open shared object file: No such file or directory
libgstrtspserver-1.0.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libgstrtspserver-1.0.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
can't load library gstvalidate-1.0 (gstvalidate-1.0|libgstvalidate-1.0|libgstvalidate-1.0-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'gstvalidate-1.0':
libgstvalidate-1.0.so: cannot open shared object file: No such file or directory
libgstvalidate-1.0.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libgstvalidate-1.0.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
can't load library gstvalidate-default-overrides-1.0 (gstvalidate-default-overrides-1.0|libgstvalidate-default-overrides-1.0|libgstvalidate-default-overrides-1.0-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'gstvalidate-default-overrides-1.0':
libgstvalidate-default-overrides-1.0.so: cannot open shared object file: No such file or directory
libgstvalidate-default-overrides-1.0.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libgstvalidate-default-overrides-1.0.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
can't load library avresample (avresample|libavresample|libavresample-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'avresample':
libavresample.so: cannot open shared object file: No such file or directory
libavresample.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libavresample.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
can't load library fdk_aac (fdk_aac|libfdk_aac|libfdk_aac-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'fdk_aac':
libfdk_aac.so: cannot open shared object file: No such file or directory
libfdk_aac.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libfdk_aac.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
can't load library openh264 (openh264|libopenh264|libopenh264-0) with -Djna.library.path=/usr/lib64. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'openh264':
libopenh264.so: cannot open shared object file: No such file or directory
libopenh264.so: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libopenh264.so) not found in resource path (/tmp/processing/Frames12199353301368654054temp:/home/cody/apps/processing-4.3/core/library/core.jar:/home/cody/apps/processing-4.3/core/library/jogl-all.jar:/home/cody/apps/processing-4.3/core/library/gluegen-rt.jar:/home/cody/sketchbook/libraries/video/library/gst1-java-core-1.4.0.jar:/home/cody/sketchbook/libraries/video/library/video.jar:/home/cody/sketchbook/libraries/video/library/jna.jar)
(process:55203): libsoup-ERROR **: 10:35:50.111: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
The solution is to locate the system library libsoup and relink version 2 to version 3. This is a known issue but not an actual problem with Processing itself.
If you encounter issues with libraries that come with the Processing Video library complaining about certain files, try backing them up by moving them elsewhere from the folder libraries/video/library/linux-amd64/. Optionally, manually relink new ones there.
It can be quite challenging work, I must say. Processing still throws half a dozen errors about libraries and missing symbols, but sketches are now runnable.