exeldro / obs-downstream-keyer

GNU General Public License v2.0
106 stars 20 forks source link

Undefined symbol. Module not loaded. #3

Closed playaspec closed 3 years ago

playaspec commented 3 years ago

Hi! Thanks for creating so many great modules! I'm building OBS 27.0.1 on Ubuntu Studio 20.04 using the current git version for this module. I have made sure to remove all stale object files and cleaned the system of all previous install files. Besides the warnings about unused variables, obs-downstream-keyer seems to build cleanly. However, when I run OBS, there is a single error in the log file:

12:12:04 PM.972: os_dlopen(/usr//lib/obs-plugins/downstream-keyer.so->/usr//lib/obs-plugins/downstream-keyer.so): /usr//lib/obs-plugins/downstream-keyer.so: undefined symbol: _ZTI15DownstreamKeyer
12:12:04 PM.972:
12:12:04 PM.972: Module '/usr//lib/obs-plugins/downstream-keyer.so' not loaded

I'm a little out of my depth here, but I think it may have something to do with either compiler flags, the compiler version, or the libc I'm using. libc6 is 2.31, and gcc is 9.3.0.

I configured OBS using:

cmake -DUNIX_STRUCTURE=1 -DENABLE_PIPEWIRE=ON -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="/opt/cef_binary_4280_linux64" ..

Happy to provide any additional debugging and testing.

playaspec commented 3 years ago

Some amount of refreshing the various plugin repos and clean builds seems to have resolved the issue, with no insight into what the issue was unfortunately. Closing.