[opensource-dev] Linux x64 - libmedia_plugin_cef.so error
Henri Beauchamp
sldev at free.fr
Tue Mar 20 06:15:09 PDT 2018
On Tue, 20 Mar 2018 22:48:05 +1000, Alex wrote:
> I couldn't spot a problem in either of those files, but my eyes might
> have missed something.
>
> Does anything stand out at you:
>
> https://pastebin.com/c7wRQik8 (indra/cmake/CEFPlugin.cmake)
> https://pastebin.com/ZhytizN8 (indra/media_plugins/cef/CMakeLists.txt)
Looks fine to me... Putting the blame on a buggy ld, you could try this
trick (specifying libcef.so twice for linking) in CEFPlugin.cmake:
.../...
elseif (LINUX)
set(CEF_PLUGIN_LIBRARIES
${ARCH_PREBUILT_DIRS_RELEASE}/libcef.so
-Wl,-whole-archive
${ARCH_PREBUILT_DIRS_RELEASE}/libcef_dll_wrapper.a
${ARCH_PREBUILT_DIRS_RELEASE}/libdullahan.a
-Wl,-no-whole-archive
${ARCH_PREBUILT_DIRS_RELEASE}/libcef.so
)
endif (WINDOWS)
What is your Linux build system ?
Henri.
More information about the opensource-dev
mailing list