Questions tagged [shared-objects]

Shared Objects in Flash are used to store persistent data on the client or server side.

Local Shared Objects

Local Shared Objects are used in Flash-based applications to store ActionScript objects persistently on a client. The disk space is limited and defaults to 100 KB per domain.

Remote Shared Objects

Remote Shared Objects can be used with Flash Media Server to store ActionScript objects remotely. They can be shared across multiple clients.

418 questions
9
votes
4 answers

Comparing generated executables for equivilance

I need to compare 2 executables and/or shared objects, compiled using the same compiler/flags and verify that they have not changed. We work in a regulated environment, so it would be really useful for testing purposes to isolate exactly what parts…
Luciano
  • 1,571
  • 3
  • 17
  • 23
8
votes
0 answers

Why does Pycharm IDE show "Unresolved reference" to the shared object ".so" files created from .pyx files?

I have built .pyx files into .so files and when I try to access the functions inside the .so file, PyCharm IDE always shows "Unresolved reference" and "Module not found" error. How should I import the .so files into python ? after building the .pyx…
8
votes
4 answers

python: sharing huge dictionaries using multiprocessing

I'm processing very large amounts of data, stored in a dictionary, using multiprocessing. Basically all I'm doing is loading some signatures, stored in a dictionary, building a shared dict object out of it (getting the 'proxy' object returned by…
Davide C
  • 143
  • 1
  • 7
8
votes
1 answer

Linker cannot find symbols, but libraries are read and symbols exist

I've been trying to compile my project and I'm getting undefined reference errors. eg.: installertest.cpp:(.text+0x9d1): undefined reference to `XmlRpcValue::makeArray()' ... installertest.cpp:(.text+0xede): undefined reference to…
7
votes
1 answer

Segmentation fault when importing a C++ shared object in Python

I have the following shared object: MyLib.cpp #include class MyClass { public: MyClass(){} void function() { std::cout << "hello" << std::endl; //var = 10; } private: int var; }; extern "C" { MyClass* create() { …
Flav
  • 73
  • 3
7
votes
2 answers

GCC linking to a shared object's linker name

Suppose I have: /usr/lib/libsomething.so.1 on machine A; /usr/lib/libsomething.so.2 on machine B. Both machines have /usr/lib/libsomething.so symlinking to their respective libs. If I link using gcc with -lsomething (or even…
Bill Prin
  • 2,498
  • 1
  • 20
  • 27
7
votes
1 answer

Add .so as php extension

I have a .so file generated with SWIG. I would like use the functions defined there as a php extension. How do I add them as a php extension? I added the .so to the extensions directory, and in php.ini added a line: "extension=example.so", then…
OliverGainess
  • 163
  • 1
  • 8
7
votes
1 answer

How to add multiple native libraries (.so) files in IntelliJ

I have two 3rd party native libraries, say libfoo.so and libbar.so. I'm having hard time loading both of these libraries. I've copied them to libs folder under proper CPU arch (armeabi, mips, and x86) as well as set the Native libs directory under…
ashokgelal
  • 80,002
  • 26
  • 71
  • 84
7
votes
2 answers

Program can't load after setting the setuid bit on

Consider this scenario in which an executable A.bin uses libY.so and libZ.so. A.c, Y.c and Z.c are all written in C. Z.c and Y.c are compiled into respective .so files. This is the directory structure of the…
Saradhi
  • 477
  • 6
  • 13
6
votes
3 answers

Loading .so Files From Memory

Possible Duplicate: dlopen from memory? I've seen this for Windows' DLL files, being loaded from a memory buffer, but I cant find it anywhere for Linux, and "ld" source code is the most complex code I've ever seen. So: Is there any example of…
killercode
  • 1,666
  • 5
  • 29
  • 42
6
votes
7 answers

Portable shared objects?

Is it possible to use shared object files in a portable way like DLLs in Windows?? I'm wondering if there is a way I could provide a compiled library, ready to use, for Linux. As the same way you can compile a DLL in Windows and it can be used on…
GetFree
  • 40,278
  • 18
  • 77
  • 104
6
votes
1 answer

Why python throws "multiprocessing.managers.RemoteError" for shared lock?

I am using python 3.6.7 with Ubuntu 18.04 After running the following script in which every process has its own shared lock : from multiprocessing import Process, Manager def foo(l1): with l1: print('lol') if __name__ == '__main__': …
6
votes
0 answers

Error in dyn.load(dllfile) : unable to load shared object | Expected in: flat namespace

I am new to R package development. I am developing a package (bartpkg) that has in its src/ folder one (prime) cpp file and some helper cpp (X.Cpp, Y.Cpp) and one c file (Z.C) and their header files (X.h, Y.h and Z.h) I am getting the following…
Usernow
  • 149
  • 2
  • 8
6
votes
1 answer

How to represent shared objects in UML?

To design my code I am drawing some UML Class diagram. I have some shared objects and I am wondering how that should be drawn since the ownership of these objects is really shared. To be more specific here a C++ example of what is happening: class…
San Mosy
  • 115
  • 2
  • 6
5
votes
1 answer

Will shared object data disappear when the user updates the app?

I'm using Flash and AS3 to write an app for iOS and for Android and I'm saving XML-data using shared objects. Now it struck me that when I supply an update to the app store and the user updates the app, will the shared objects remain intact or will…
user1073892
  • 147
  • 8
1
2
3
27 28