plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

GEM: dlerror undefined symbol

Open dromer opened this issue 1 year ago • 2 comments

Ever since the latest GEM fixes I see a lot of this in the console:

$ ./Plugins/Standalone/plugdata 
JUCE v7.0.9
open: /etc/pd/gem.conf: No such file or directory
open: ~/.config/pure-data/gem.conf: No such file or directory
load plugins 'film' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_film*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmGMERLIN.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmGMERLIN.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmMPEG3.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmMPEG3.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmQT4L.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_filmQT4L.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
load plugins 'image' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_image*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageJPEG.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageMAGICK.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageSGI.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageSTB.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageTIFF.so'!
not reloading 'image' plugins (already 5 loaded)
load plugins 'image' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_image*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageJPEG.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageMAGICK.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageSGI.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageSTB.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_imageTIFF.so'!
load plugins 'model' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_model*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_modelASSIMP3.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_modelOBJ.so'!
load plugins 'record' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_record*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordDECKLINK.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordDECKLINK.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordNDI.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordPNM.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordQT4L.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordV4L.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordV4L.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEv'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordV4L2.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_recordV4L2.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEv'
load plugins 'video' in '/home/dreamer/Documents/plugdata/Extra/Gem/'
pattern : /home/dreamer/Documents/plugdata/Extra/Gem/gem_video*.so
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDC1394.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDC1394.so: undefined symbol: _ZTIN3gem7plugins9videoBaseE'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDECKLINK.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDECKLINK.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDV4L.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoDV4L.so: undefined symbol: _ZTIN3gem7plugins9videoBaseE'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoNDI.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoNDI.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEv'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoUNICAP.so'!
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoV4L.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoV4L.so: undefined symbol: _ZTIN3gem7plugins9videoBaseE'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoV4L2.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoV4L2.so: undefined symbol: _ZTIN3gem7plugins9videoBaseE'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoVLC.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoVLC.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoVNC.so'!
library loading returned: dlerror '/home/dreamer/Documents/plugdata/Extra/Gem/gem_videoVNC.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'

dylib is a macOS library file right? are there are precompiled objects included or something?

dromer avatar Feb 19 '24 06:02 dromer

Same here on Fedora:

open: ~/Documents/plugdata/Extra/Gem/gem.conf: No such file or directory
load plugins 'film' in '/home/ycollette/Documents/plugdata/Extra/Gem/'
pattern : /home/ycollette/Documents/plugdata/Extra/Gem/gem_film*.so
dylib loading file '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmGMERLIN.so'!
library loading returned: dlerror '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmGMERLIN.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmMPEG3.so'!
library loading returned: dlerror '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmMPEG3.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
dylib loading file '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmQT4L.so'!
library loading returned: dlerror '/home/ycollette/Documents/plugdata/Extra/Gem/gem_filmQT4L.so: undefined symbol: _ZN11imageStruct16setCsizeByFormatEi'
load plugins 'image' in '/home/ycollette/Documents/plugdata/Extra/Gem/'
pattern : /home/ycollette/Documents/plugdata/Extra/Gem/gem_image*.so
dylib loading file '/home/ycollette/Documents/plugdata/Extra/Gem/gem_imageJPEG.so'!

ycollet avatar Apr 18 '25 14:04 ycollet

This result was for plugdata-0.9.1. Some libraries missing a symbol:

gem_filmGMERLIN.so
                 U _ZTIN3gem7plugins4filmE
gem_filmMPEG3.so
                 U _ZTIN3gem7plugins4filmE
gem_filmQT4L.so
                 U _ZTIN3gem7plugins4filmE

The decoded name of the symbol:

$ c++filt _ZTIN3gem7plugins4filmE
typeinfo for gem::plugins::film

ycollet avatar Apr 18 '25 15:04 ycollet