Hi Dan, 

At the application level,  before you run the application, set the LD_LIBRARY_PATH environment variable to the location of the shared object. 

Aaron 

On Thu, Apr 20, 2023 at 8:27 AM <dwp@md1tech.co.uk> wrote:

Hi Dominic,

Thanks for your quick and helpful reply. I followed your steps and am able to successfully compile the worker.
I no longer get the undefined symbol error when attempting to run the application which is great, however I am now getting the following:

app failed: Could not open RCC worker file /…/Dan-Playground/artifacts/local.Dan-Playground.examples.source.rcc.0.ubuntu22_04.so: error loading "/…/Dan-Playground/artifacts/local.Dan-Playground.examples.source.rcc.0.ubuntu22_04.so": libcivetweb.so.1: cannot open shared object file: No such file or directory

I know the path I specify in the makefile is correct as the component won’t compile when it is wrong. Is there a similar process I need to follow at the application level to point it to the shared object?

Many thanks,
Dan

_______________________________________________
discuss mailing list -- discuss@lists.opencpi.org
To unsubscribe send an email to discuss-leave@lists.opencpi.org