Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!

Create LIBRARY C++ error

Hi All,

 

I'm able to compile CEFTokenizer.cpp & CEFTokenizer.so generated.

g++ -I /opt/vertica/sdk/include -g -Wall -Wno-unused-value -shared -fPIC -I /usr/include -L /usr/lib64 -o CEFTokenizer.so CEFTokenizer.cpp /opt/vertica/sdk/include/Vertica.cpp -lboost_regex

 

 

 

But when I executed below sql, I got an error

 

CREATE LIBRARY HPLSCEFTokenizerFunctions AS '/opt/vertica/sdk/examples/HPLS/CEFTokenizer.so';

 

error.png

 

[[email protected] ~]# cd /usr/lib64

[[email protected] lib64]# ls libboost_regex*
libboost_regex-mt.so libboost_regex-mt.so.5 libboost_regex.so libboost_regex.so.5

 

 

Pls advise.

 

Thanks.

 

Leave a Comment

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

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.