build from source on ubuntu 20.04 arm64 fails on libqt_plugin.la
Posted: 22 Apr 2023 07:12
When following the instructions in the knowledge base on how to build from source, when I get to the "make" step, I get the following errors:
What can I do to fix this?
Code: Select all
CXXLD libqt_plugin.la
/usr/bin/ld: gui/qt/.libs/libqt_plugin_la-qt.o: in function `Open(vlc_object_t*, bool)':
/home/tess/vlc/modules/../include/vlc_xlib.h:40: undefined reference to `_Xglobal_lock'
/usr/bin/ld: gui/qt/.libs/libqt_plugin_la-qt.o: in function `vlc_xlib_init':
/home/tess/vlc/modules/../include/vlc_xlib.h:40: undefined reference to `_Xglobal_lock'
/usr/bin/ld: /home/tess/vlc/modules/../include/vlc_xlib.h:47: undefined reference to `XInitThreads'
/usr/bin/ld: /home/tess/vlc/modules/../include/vlc_xlib.h:40: undefined reference to `_XErrorFunction'
/usr/bin/ld: /home/tess/vlc/modules/../include/vlc_xlib.h:40: undefined reference to `_XErrorFunction'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:20410: libqt_plugin.la] Error 1
make[4]: Leaving directory '/home/tess/vlc/modules'
make[3]: *** [Makefile:34271: all-recursive] Error 1
make[3]: Leaving directory '/home/tess/vlc/modules'
make[2]: *** [Makefile:14327: all] Error 2
make[2]: Leaving directory '/home/tess/vlc/modules'
make[1]: *** [Makefile:1583: all-recursive] Error 1
make[1]: Leaving directory '/home/tess/vlc'
make: *** [Makefile:1470: all] Error 2