[Discuss OpenCPI] Re: Requesting help with using external C++ libraries

From: Aaron Olivarez <aaron_at_olivarez.info>
Date: Thu, 20 Apr 23 09:43:07 -0500

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_at_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_at_lists.opencpi.org
> To unsubscribe send an email to discuss-leave_at_lists.opencpi.org
>






Received on Thu Apr 20 2023 - 14:43:07 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT