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
180
votes
9 answers

ld cannot find an existing library

I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find specified libraries. The specific example here is ImageMagick, but I am having similar problems with a few other libraries too. I am…
maxpenguin
  • 5,039
  • 6
  • 28
  • 22
37
votes
3 answers

Command Line to see the contents Shared Object Module(lib*.so)

What is the command line to see the contents of a Shared Object module (lib*.so)? Like how we use: ar -t lib*.a for archives(lib*.a) and it displays all the object files in the library. EDIT1 Example ar -t lib*.a gives me a…
Pavitar
  • 4,282
  • 10
  • 50
  • 82
32
votes
3 answers

Linux equivalent of DllMain

In *nix .so libraries, is there an entry point that's invoked by the system when the library is loaded and unloaded? On a more practical note: if the .so was written in C++ and it contains global objects with constructors and destructors, and it's…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
32
votes
4 answers

How do I load a shared object in C++?

I have a shared object (a so - the Linux equivalent of a Windows dll) that I'd like to import and use with my test code. I'm sure it's not this simple ;) but this is the sort of thing I'd like to do.. #include "headerforClassFromBlah.h" int…
Ben L
  • 6,618
  • 8
  • 39
  • 34
17
votes
3 answers

Cannot open shared object file

I am trying to compile one of the projects found here USB-I2C/SPI/GPIO Interface Adapter. I downloaded the i2c_bridge-0.0.1-rc2.tgz package. I installed libusb and that seemed to go well with no issues. I go into the i2c_bridge-0.0.1-rc2/ directory…
Sterling
  • 3,835
  • 14
  • 48
  • 73
17
votes
3 answers

Is there a way to read the contents of .so file without loading it?

Is there any way to read the content of a .SO(shared objects) file without loading it? My use-case scenario is: I have a .so file on windows. I need to query for some methods whether they are present in .so or not. To know all the classes in a .so…
Guruji
  • 229
  • 1
  • 2
  • 8
14
votes
3 answers

Not receiving onSync delete events for multiple SharedObjects in same SWF

I have an application that uses Remote SharedObjects and I am seeing some strange behaviour. I am writing an ActionScript application in AS3 using Flash Builder and connecting to Wowza Media Server 2. My application is working just fine but I am…
Adam Ullman
  • 1,517
  • 7
  • 12
14
votes
3 answers

How does linker know which symbols should be resolved at runtime?

How does linker know which symbols should be resolved at runtime? Particularly I'm interested what information shared object files carry that instruct linker to resolve symbols at runtime. How does the dynamic symbol resolution work at runtime, i.e.…
Leonid
  • 22,360
  • 25
  • 67
  • 91
14
votes
2 answers

shared object can't find symbols in main binary, C++

I'm experimenting with making a kind of plugin architecture for a program I wrote, and at my first attempt I'm having a problem. Is it possible to access symbols from the main executable from within the shared object? I thought the following would…
cheshirekow
  • 4,797
  • 6
  • 43
  • 47
12
votes
4 answers

Shared Variable Among Ruby Processes

I have a Ruby program that loads up two very large yaml files, so I can get some speed-up by taking advantage of the multiple cores by forking off some processes. I've tried looking, but I'm having trouble figuring how, or even if, I can share…
Jesse Jashinsky
  • 10,313
  • 6
  • 38
  • 63
11
votes
4 answers

How to run c program with .so file

I have gone through all the solutions on StackOverflow as well as Ask Ubuntu. I have a Go program: package main import "C" //export Getint func Getint() int { return 2 } func main() {} and I have generated .so file for the same with…
NIket
  • 914
  • 1
  • 6
  • 19
10
votes
4 answers

Using a shared library in another shared library

I am creating a shared library from a class from an example I got here C++ Dynamic Shared Library on Linux. I would like to call another shared library from the shared library created and then use it in the main program. So I have the myclass.so…
Unah Henry
  • 235
  • 1
  • 7
  • 16
10
votes
3 answers

How to run .so files using through python script

I have a c program(.c file). I am converting that to a shared object(.so). How can i call and run the shared object from my python code? If possible, please suggest me a list of libraries that can help me to do this task.
user3415910
  • 440
  • 3
  • 5
  • 19
10
votes
5 answers

Good programming style when handling multiple objects

I've been programming a software version of a board game. Thus far I have written the classes which will correspond to physical objects on the game board. I'm well into writing the program logic, however I've found that many of the logic classes…
Glitch
  • 2,785
  • 1
  • 27
  • 50
9
votes
4 answers

How can you determine what Perl module is causing "undefined symbol: Perl_Tstack_sp_ptr?"

I'm trying to run a Perl script, but it is returning: /usr/bin/perl: symbol lookup error: /usr/local/groundwork/perl/lib/5.8.8/x86_64-linux-thread-multi/auto/IO/IO.so: undefined symbol: Perl_Tstack_sp_ptr Is there any way to determine what…
Connor
  • 93
  • 1
  • 1
  • 3
1
2 3
27 28