# AppImage : When deployed in another system , does it use the .so files which is bundled in it ..or the ones present in distributed system?

**URL:** <https://discourse.appimage.org/t/appimage-when-deployed-in-another-system-does-it-use-the-so-files-which-is-bundled-in-it-or-the-ones-present-in-distributed-system/2408>\
**Category:** Creating AppImages\
**Created:** [June 19, 2021, 9:00am UTC](https://discourse.appimage.org/t/appimage-when-deployed-in-another-system-does-it-use-the-so-files-which-is-bundled-in-it-or-the-ones-present-in-distributed-system/2408 "2021-06-19T09:00:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaviyaSubramanian706](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/kaviyasubramanian706/32/567_2.png) [@KaviyaSubramanian706](https://discourse.appimage.org/u/KaviyaSubramanian706)\
**Post date:** [June 19, 2021, 9:00am UTC](https://discourse.appimage.org/t/appimage-when-deployed-in-another-system-does-it-use-the-so-files-which-is-bundled-in-it-or-the-ones-present-in-distributed-system/2408/1 "2021-06-19T09:00:17Z")

</div>

I am creating a .appimage in my system for an application which uses libraries from openvino…When deploying that on another system…it gives me symbol lookup error in opencv Mat() function…

The distributed system has openvino installed but it is a older version than what I used…So when running…the AppImage or AppRun from AppDir folder uses the opencv libraries from the system(which is older one)

Do…AppImage always prefer system libraries first…and comes to bundled libraries if they are not present in system

Error is

```auto
./Check-Video-x86_64.AppImage 
./Check-Video-x86_64.AppImage: symbol lookup error: ./Check-Video-x86_64.AppImage: undefined symbol: _ZN2cv3MatC1Ev

```

Any insights about appImage library preferences and solving the error is welcomed

Thanks in advance

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [June 19, 2021, 9:03am UTC](https://discourse.appimage.org/t/appimage-when-deployed-in-another-system-does-it-use-the-so-files-which-is-bundled-in-it-or-the-ones-present-in-distributed-system/2408/2 "2021-06-19T09:03:15Z")

</div>

“AppImage” prefers nothing.  
It’s all up to what the `AppRun` script or binary inside the AppImage does. But generally speaking, it makes sense to prefer the libraries in the AppImage over those on the system, because those on the system can be too old.

> undefined symbol: \_ZN2cv3MatC1Ev

Possibly this happens because the author of `Check-Video-x86_64.AppImage` was using a system that is newer than the system you are trying to run the AppImage on.
