Shared-libraries Questions
Ad
C Replacements for srand() and rand()
I'm trying to make a game in c fit under a 3kb limit, and to do so i want to remove all standard library references. the only header i want to
gcc - how to create an so from a source file and other o files?
I am working on a c project. https://github.com/eantoranz/gitmod it's
Safely call openSSL functions from inside a shared library
I have implemented a client program that uses openssl to connect to the server in the secure way. the client is compiled as a shared object (so),
include a header file built in c++ using extern in c program
I have a class in c++ which i want to make a shared library from it and use in c or other languages. this is the class that i want to make a
How to access user defined data types declared in .so (shared libraries) in c
I have some external .so file. i am writing a program to call some of the api's of the .so library. i have used dlopen and dlsym as
Can GCC version script include debug symbols?
When building a shared library with gcc, without using a version script, we can split our debug symbols into separate .dbg files, allowing us to
Linux lib / include organization for cross-compiled libraries?
We are cross-compiling an application for an embedded linux target under desktop linux. for testing and other purposes we are using statically
Creating an object in shared memory inside a Shared Lib (so) in C++
Is it possible to share a single 'god' instance among everyone that links to this code, to be placed in a shared object? god* _god
How to link using GCC without -l nor hardcoding path for a library that does not follow the libNAME.so naming convention?
I have a shared library that i wish to link an executable against using gcc. the shared library has a nonstandard name not of the form libname.so,
Android replace system/lib/lib.so does not work
I want to replace a system library by one where i made some small changes. both libraries were compiled with the same version of cyanogenmod
Ad
PHP Warning: PHP Startup: Unable to load dynamic library: /home/lib.so so: undefined symbol: __gxx_personality_v0 in Unknown on line 0
I've managed to succesfully create an .php extension. i would like to move further. insted of using the .cc that i want my .php to link with i
Is it necessary to secure the secret (e.g., key) in the .so file?
A private key has been #define in the c code of .so file. this key is used for the customized authentication process between client-server.
Optional shared library
I am developing an application that must be compatible with all android device architectures. also, some of these devices may have uhf reader
Error 'loading android-aarch64/libmongo_embedded_capi.so' for MongoDB Mobile
I'm trying to use mongodb mobile (beta) in my android app. i've folowed the steps as described
How to view definition of functions of a dynamic library file (.dylib)?
So i have a dynamic library file named "libxlearn_api.dylib". i can load this library from within python code by lib =
Hiding C++ symbols with -fvisibility=hidden
I have a c++ library with a c api, and i have set the -fvisibility=hidden compiler flag, and then i have set __attribute__
complie shared library ,but other linker doesn't work
I am trying to compile a shared library developed from sdl so i am using linkers flags -lsdl2 -lsdl2_ttf -lm
Why does a function expecting a reference work with a pointer?
I'm writing a program in c++ that uses a c library. this library takes pointers to functions for callbacks, and i want it to call instance
Why aren't LIBs and DLLs interchangeable?
Lib files are static libraries that must be included at compile time, whereas dll files can be "dynamically" accessed by a program
C++ hide all function symbols except for what I specify in a shared library
In my example code: main.cpp #include <iostream> #if defined(_win32) || defined(__win32__) #define export extern
Why shared library linked with static library behaves like it was linked with dynamic one?
It is unclear to me why final shared .so library calls functions from the static .a library as: callq 1050 <[email protected]>
Ad
version `libssl.so.10' not found
On ubuntu 18.04 with apt install i installed libssl1.0.0 and libssl1.0-dev. the following shared
How do I create a library in C?
I am working on a program that is using libgit2. i had kept the code in a single c file. say: somefile.c i compile and use it. now i
Why am I getting segfault with loading objects from shared library?
Having this files: plusone.c int op(int i){ return i+1; } main.c
How to call a function with types known at runtime
After loading a dynamic library and getprocaddress, one typically get a function pointer of type void*. to call the
Exporting symbols under a different name
My situation is as follows: i need to build a library where i export a "wrapped" strcpy (please ignore how that is useful to me)
Why do ld, nm, objdump report 'no symbols' in this shared object, when symbols appear to exist?
I have an undocumented shared object, libxsal.so, which i would like
GDB stepping into shared library shows "no such file" even though debug symbols are loaded
I have a c library which is created with cc -fpic -g -o3 -c -o obj/my_lib.o my_lib.c g++
ld cannot find shared library even with -L specified
I'm trying to compile a c file against a shared library at a specific location
gcc linking with dynamic libraries, undefined reference error
I'm making a program that needs to be linked to a third party sdk which comes in the form of header files and precompiled shared libraries.
How to include prebuilt library in Android.bp file?
I am using android-o, and i see most of the .mk files are being replaced by .bp file. now i have modified one of the source code under
Control process forking via shared library
I am working on an experimental project (just for fun) and i need a way to control the "rhythm" by which my processes are forked.
Ad
Adding an updated shared native library (.so file) to an Android Studio app leads to an UnsatisfiedLinkError
I've an android app written in android studio 3.0.1 and with compilesdkversion 26. this app depends on a module written in native code (c++). the
Binary XML file line #23: Error inflating class com.example.caesar.library.ChipView
I have an error which i cant seem to solve. this is my xml activity_main. this is line 23. com.example.caesar.library.chipview i dont know what
How to build Flutter project with Android aar file?
I want to use flutter to create an android app which depends on a third-party sdk that wrapped in an aar file.
Ad
Blog Categories
Ad