I would like to use a shared library I produced from db2 queries.
My shared library depends on boost
that, in my machine, is locate in /usr/local/lib
.
When I try to run the queries using my functions I got errors: they dosn't work because db2 cannot find boost libraries i.e. cannot resolve the location of the libraries.
How to tell db2
where to locate the libraries path and which enviromnent variable s I should use?
I tried to ise userprofile and profile.env but without success.
# userprofile
LIBPATH=/usr/local/lib:LIBPATH
#profile.env
DB2ENVLIST='LIBPATH ..other stuf'