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

 

[root@s3 ~]# cd /usr/lib64

[root@s3 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