Skip to main content

Undefined symbol when trying to load a C++ UDAF


Josiah_Haswell
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

2 replies

Forum|alt.badge.img+2
  • Participating Frequently
  • July 4, 2013
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

Josiah_Haswell
That was it. Thanks for the prompt response!