Questions tagged [.so]

An .so file is a shared object (library) on Unix-like systems.

.so is the file name extension used for shared object code files on most Unix-like operating systems, broadly corresponding to DLL files on Windows and .dylib files on MacOS.

See Also

360 questions
24
votes
2 answers

Where are php's extensions .so files located?

I opened some some ini files like mysqli.ini , mysql.ini , pdo_mysql.ini. Inside those files there is an .so extension added for those files. I want to know where these .so files are stored. Inside mysqli.ini file ; configuration for php MySQL…
Dinesh Gowda
  • 1,044
  • 3
  • 13
  • 29
19
votes
4 answers

React native expection java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/{package}/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

I am trying to integrate React Native with my existing Android App. I am getting the following exception, when initilizing React Native Screen: java.lang.UnsatisfiedLinkError: dlopen failed: …
Ishan Dhingra
  • 2,442
  • 5
  • 31
  • 42
17
votes
2 answers

Import existing c++ library (.a or .so file) ndk android

I just gone through native development in android. I am successful in getting my AndroidStudio 2.2.2 ready for native debelopment I also build sample hello-jni project What I am trying to achieve I am trying to use an existing library designed in…
karthik kolanji
  • 2,044
  • 5
  • 20
  • 56
11
votes
1 answer

Why are deep learning libraries so huge?

I've recently downloaded all packages from PyPI. One interesting observation was that of the Top-15 of the biggest packages, all execept one are deep learning packages: mxnet: mxnet-cu90 (600 MB), mxnet-cu92, mxnet-cu101mkl, mxnet-cu101 (and 6 more…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
10
votes
1 answer

What is the actual use of .so file in android?

I want to implement hangout like chat into my application. I have been using opentok library. In that i have seen libopentok.so file. Can anyone tell me what is that exact usage of libopentok.so file.
Bakya
  • 427
  • 3
  • 7
  • 18
9
votes
1 answer

"cannot open shared object file," but it exists

I'm having trouble finding why this library (matio) isn't working for me. In my Makefile I have this: LIBS += -L/home/brian/.../matio-1.5.6/src/.libs/ -lmatio When I attempt to run my code (links fine) I get this error: error while loading shared…
brian
  • 157
  • 2
  • 10
7
votes
2 answers

Application crashes with native code

Crashed: .onlineradioapp| 0 gralloc.rk30board.so 0xb4a2d616 bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*) 1 gralloc.rk30board.so …
7
votes
1 answer

Which .so files can be used for linux system corresponding to .dll files in windows to connect php to ms sql server

I have used php5ts.dll files for php and ms sql server connection on my windows sytem but i need to do same for linux but same dll files do not work on linux as they are for windows. After Rnd I came to know that corresponding to dll files in…
Always_a_learner
  • 4,585
  • 13
  • 63
  • 112
7
votes
1 answer

How to open Linux `.so` file in Mac OS X

My Linux .so file can be opened with the fopen() command in Ubuntu, but when I tried to open the file with the fopen() command in Mac OS X 10.6, it failed. The error was the file type was not recognized. How can I make a Linux library or tool work…
user1377049
  • 123
  • 1
  • 1
  • 5
6
votes
0 answers

In Android, I am not able to find few symbols inside my .so file?

I generate a .so file during my build and add it in the right place inside 'jnilibs' folder but I am facing an error stating "Cannot find the native function implementation with Unsatisfied Link Error" // This is my .kt file import…
Rohan Pande
  • 301
  • 1
  • 5
6
votes
1 answer

When to actually use dlopen()? Does dlopen() means dynamic loading?

I have gone through below link, through which I understood how to create and use shared library. https://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html Step 1: Compiling with Position Independent Code $ gcc -c -Wall -Werror -fpic…
dev
  • 649
  • 9
  • 11
6
votes
1 answer

Reducing apk size which has .so files

In our Android app we have two .so files: one for x86 and another for ARM. They are quite big and are increasing the size of the .apk from 7 MB to 11 MB. Since .so files are run time entities they have to be inside the .apk files. Is there any way I…
saurav
  • 5,388
  • 10
  • 56
  • 101
5
votes
1 answer

Is there a way to convert .so file into .c file?

I am writing a C program and I have converted it from .c to .so file using GCC. I was little curious to know if is there any way to convert back the .so file to .c file. Assume I am shipping my code to someone and it contains all the .so files. Is…
user3457384
  • 593
  • 6
  • 14
5
votes
1 answer

C++ shared libraries have duplicate symbols

I am new to c++ symbol tables and libraries, wanted to understand the behavior of symbol table. We are having an android application with native support on it. In process of analyzing symbol tables of shared libraries, I am noticing duplicate…
Teja
  • 109
  • 4
  • 12
4
votes
0 answers

Why does JavaSystem.LoadLibrary() throw an UnsatisfiedLinkError despite the library existing in project?

I try to embedd an external library to my .Net MAUI project, but am unable to. Following the process in this question: I copied the .so file into \Resources\lib\\ (the platforms being arm64-v8a, armeabi-v7a and x86_64). Then…
HPe
  • 91
  • 5
1
2 3
23 24