Dynamic Linker Failure in Houdini 20.0: ABI Incompatibility #14

Closed
opened 2024-09-11 10:32:55 +02:00 by Nicolas-Popravka · 3 comments

While I can successfully build hdCycles.so for Houdini 20.0, it doesn't function at runtime; the dynamic linker fails to load the plugin. The issue seems to be incompatibilities between the library dependencies pre-compiled for Linux: USD for Houdini 20.x appears to have been compiled with the _GLIBCXX_USE_CXX11_ABI macro set to 0, while dependencies like OpenImageIO seem to have been compiled with _GLIBCXX_USE_CXX11_ABI set to 1.

Am I missing something? Is this a known issue?

While I can successfully build hdCycles.so for Houdini 20.0, it doesn't function at runtime; the dynamic linker fails to load the plugin. The issue seems to be incompatibilities between the library dependencies pre-compiled for Linux: USD for Houdini 20.x appears to have been compiled with the `_GLIBCXX_USE_CXX11_ABI` macro set to 0, while dependencies like OpenImageIO seem to have been compiled with `_GLIBCXX_USE_CXX11_ABI` set to 1. Am I missing something? Is this a known issue?

From what I can tell, the default Houdini 20 download is built with gcc 11 and the C++11 ABI. And I tested that one to work.

But I see now that there also exists a Houdini 20 built with gcc 9, which I guess is what you are using? The last Cycles version to work with that would be v4.0.2.

From what I can tell, the default Houdini 20 download is built with gcc 11 and the C++11 ABI. And I tested that one to work. But I see now that there also exists a Houdini 20 built with gcc 9, which I guess is what you are using? The last Cycles version to work with that would be v4.0.2.

You're correct, the studio is running a GCC 9.3 build of Houdini 20.0. I'll give v4.0.2 a try. Thanks!

You're correct, the studio is running a GCC 9.3 build of Houdini 20.0. I'll give v4.0.2 a try. Thanks!

Due to specific site requirements, I had to rebuild Cycles v3.6.0 for Houdini 20.0 on a CentOS 7 system. The Hydra delegate seems now fully functional within Solaris.

Due to specific site requirements, I had to rebuild Cycles v3.6.0 for Houdini 20.0 on a CentOS 7 system. The Hydra delegate seems now fully functional within Solaris.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: blender/cycles#14
No description provided.