Undefined symbol when trying to load a C++ UDAF

Hi folks, I'm attempting to deploy an analytic function written in C++, and I'm getting the following exception: [/scratch_a/release/vbuild/vertica/UDxFence/vertica-udx-C++.cpp:132], error code: 0, message: Error happened in dlopen(): [/tmp/libAnomalies.so: undefined symbol: vt_throw_exception] I compiled the library against the headers found on that installation, so I'm very confused as to what could be causing this. The platform is CentOS 5.4/Vertica 6.1.1 Enterprise. Thanks! Josiah


  • Options
    Hi Josiah, Hm... When you compiled the UDx, did you remember to add /opt/vertica/sdk/include/Vertica.cpp to the list of source files? Adam
  • Options
    That was it. Thanks for the prompt response!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file