367 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
4
answers
432
views
Is there a way to determine if a shared object ( .so ) file was generated from a c or c++ code?
I have a Shared Object (.so) file. Is there like any specific way i can check if it was generated from a c or c++ code file. Can we get any hints or specifics from the file to make an educated guess ?
...
3
votes
1
answer
118
views
What is a .so file in Java projects, and how can I use an old JAR that depends on .so files in Spring Boot?
I have an old Java JAR file that depends on .so files (shared object libraries).
I understand .so files are native libraries (written in C/C++), and the JAR uses JNI (Java Native Interface) or JNA to ...
4
votes
1
answer
109
views
Linux Loader Lock / loader int __attribute__((constructor))
I am currently developing a program module called test.so.
Inside this test.so, there is code that loads and uses an external library called wow.so.
To test this module, I created a new test project. ...
0
votes
1
answer
81
views
Class not found error while binding aar library
I am trying to bind aar library called "autoreplyprint.aar", following is the aar file link
autoreplyprint.aar
I have added following itemgroups for the .aar and its .so files
<ItemGroup ...
0
votes
0
answers
29
views
worker_threads, loading ffi-napi in a mult-threads causes "Segmentation Fault" on close thread
I’m working on an API for tax issuance and using a library in .so format. The library is available here, and you can download it here. i split task with worker_threads.js
I’m starting a new worker ...
0
votes
0
answers
63
views
how/can i make .so files for files in one place and move them to another so gcc linker can find them automatically?
installed and made allegro5 with addons on linux mint with cmake in /home/qweqqweq/allegro5/build. must make addons work without gcc flags by generating .o and .so files from there and put in /usr/...
0
votes
1
answer
80
views
Lib.so files is not getting load even i call system.load
i have this error which i m using in my code
i m trying to load lib but it doesn't load
i m using mpv player and i have libmpv.so files
this is what i m doing in my code
public class MPVLib {
...
0
votes
0
answers
44
views
How to reduce the size of bundle apk in Android?
We have a native library (.so) which is about 2 MB for each Architecture('x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a’). Using this Native library we have written an SDK which is going to be integrated ...
1
vote
0
answers
54
views
how to reslove unsatisfyLinkError for libgdal.so file in 64-bit android
I am developing an Android app that uses the libgdal.so library. When I run the app I get the error like this
java.lang.UnsatisfiedLinkError: dlopen failed:
"/data/app/~~fEMejdDPZpV3FZzivEAV9Q==/...
0
votes
0
answers
61
views
Readin file csv with shared object
I'm trying to create a shared object with Python to read a CSV file to be used by a C application.
I'm having a really hard time doing this.
My code is here:
from cffi import FFI
import csv
import io
...
0
votes
0
answers
200
views
Library not being found
I am getting the following error when running a Java Project. i've used ldconfig to rebuild cache.
/home/morpho/lib64/libMorphoSmartSDKJavaWrapper.so.6.45.0.0: libmorphosdk.so.6: cannot open shared ...
Noor's user avatar
- 20.3k
1
vote
1
answer
170
views
Python 3.x fails to load a .so file in TCL through tkinter
Python 3.x (3.9.7) is giving the following error if I try to load a shared object TCL file.
If I run manually it works.
Manual method:
shell> tclsh
%load blah.so
%cmd_in_blah
Python method:
from ...
0
votes
1
answer
127
views
Problems with external .so libaries in nuget package
I've got a nuget package which contains some libraries (.dll and .so).
We need the .dll for our windows environment and the .so for the Linux environment.
I checked if both files are packed in the ...
0
votes
1
answer
233
views
Error linking c++ shared library with CUDA
EDIT:
I was able to reduce the problem a lot. Only three files, one .cpp, one .cu and one heather, and the same error as the original message appears when trying to link them.
The code of example ...
0
votes
0
answers
296
views
Python script requires "libpython3.8"
I tried to run a python script I did not created that uses libraries I got with it (as .so files).
Every time I try to run it I get the same problem:
ImportError: libpython3.8.so.1.0: cannot open ...