# Link to 3rd Party Libraries: I'm trying to call the function but it can't hear me! How do I tell the linker where my .so file is?

**URL:** <https://forums.unrealengine.com/t/link-to-3rd-party-libraries-im-trying-to-call-the-function-but-it-cant-hear-me-how-do-i-tell-the-linker-where-my-so-file-is/407648>\
**Category:** Platform & Builds\
**Tags:** Android-Packaging, unreal-engine, packaging-projects, CPP, question\
**Created:** [October 22, 2017, 1:56pm UTC](https://forums.unrealengine.com/t/link-to-3rd-party-libraries-im-trying-to-call-the-function-but-it-cant-hear-me-how-do-i-tell-the-linker-where-my-so-file-is/407648 "2017-10-22T13:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FilAl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FilAl](https://forums.unrealengine.com/u/FilAl)\
**Post date:** [October 22, 2017, 1:56pm UTC](https://forums.unrealengine.com/t/link-to-3rd-party-libraries-im-trying-to-call-the-function-but-it-cant-hear-me-how-do-i-tell-the-linker-where-my-so-file-is/407648/1 "2017-10-22T13:56:30Z")

</div>

Hello!

I am trying to revive this thread :

> **[Link to 3rd Party Libraries](https://forums.unrealengine.com/questions/76792/link-to-3rd-party-libraries.html)**
>
> What works: I can write any type of source that I want (C++ language) and have Visual Studio include a third party header file (.h) and call a function defined in that header file by linking to the library properly in Visual Studio. This is all...

Because no valid answer was provided by the staff. To be more specific, my situation is, **that I’m trying to call the function but it can’t hear me! How do I tell the linker where my .so file is?** There is no manual or documentation (or even example) on how to do it. Any answers/examples/suggestions provided are at most for UE4.11, and most are for even older versions. There seems no solution for this issue for UE4.16+ .

To clarify, i get **error: function ‘MyFunctonName’ is not defined [-Werror,-Wundefined-inline]** when i try to use it in my code. I have .h and .so files. In .h the signature of the function is

_extern “C” \_\_attribute\_\_((visibility(“default”))) bool MyFuncName();_

and i include .so file using _PublicAdditionalLibraries.Add(sharedobjectPath);_

P.S.

Please don’t post this link as an answer:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

This manual doesn’t work any more, and is defined outdated (works up to 4.13).
