# Conflicting native Shared Object (.so) library file - libc++\_shared.so

**URL:** <https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729>\
**Category:** Android\
**Created:** [October 30, 2020, 8:10am UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729 "2020-10-30T08:10:06Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![haider.saleem](https://avatars.discourse-cdn.com/v4/letter/h/6f9a4e/32.png) [@haider.saleem](https://devforum.zoom.us/u/haider.saleem)\
**Post date:** [March 1, 2021, 7:47am UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/21 "2021-03-01T07:47:02Z")

</div>

The error I was having after using @minyushov provided solution was

> assertion “terminating with uncaught exception of type std::bad\_cast: std::bad\_cast” failed

and it got resolved by solution provided by @majirosstefan

> ```
> SoLoader.loadLibrary("zoom");
> 
> ```

in MainApplication → onCreate

---

<div class="post-metadata">

**Author:** ![majirosstefan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/majirosstefan/32/39229_2.png) [@majirosstefan](https://devforum.zoom.us/u/majirosstefan)\
**Post date:** [March 1, 2021, 9:40am UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/22 "2021-03-01T09:40:16Z")

</div>

# 💪 💪 I am glad it worked.

---

<div class="post-metadata">

**Author:** ![eddie.sullivan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eddie.sullivan/32/25283_2.png) [@eddie.sullivan](https://devforum.zoom.us/u/eddie.sullivan)\
**Post date:** [July 2, 2021, 7:45pm UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/23 "2021-07-02T19:45:59Z")

</div>

The following command is also helpful. It simply removes that shared library from `mobilertc.aar`, which allows the loader to find the one it needs:

```auto
zip -d mobilertc.aar \*libc++_shared.so

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [July 2, 2021, 9:10pm UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/24 "2021-07-02T21:10:47Z")

</div>

Thanks for sharing the workarounds, they are appreciated! 💙

---

<div class="post-metadata">

**Author:** ![wbaroudi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wbaroudi/32/30319_2.png) [@wbaroudi](https://devforum.zoom.us/u/wbaroudi)\
**Post date:** [August 23, 2021, 3:19pm UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/26 "2021-08-23T15:19:16Z")

</div>

Hi,  
Did you run into the following error at `SoLoader.loadLibrary("zoom")` ?

> java.lang.UnsatisfiedLinkError: couldn’t find DSO to load: libzoom.so

I’m using it exactly the way you did in your guide.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 24, 2021, 6:56pm UTC](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729/27 "2021-08-24T18:56:30Z")

</div>

In case anyone using our Video SDK comes across this thread, another [topic](https://devforum.zoom.us/t/conflicting-shared-object-libc-shared-so/56234/7) has been created for this issue within the #mobile-video-sdk:android category. 🙂

[Previous page](https://devforum.zoom.us/t/conflicting-native-shared-object-so-library-file-libc-shared-so/34729.md?page=1)
