shared-objects Questions

9

Solved

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 ...
Manual asked 3/12, 2008 at 0:41

2

Solved

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 withi...
Hawserlaid asked 2/9, 2010 at 2:7

3

Solved

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 ...
Overbite asked 22/2, 2018 at 4:36

1

Solved

I have the following shared object: MyLib.cpp #include <iostream> class MyClass { public: MyClass(){} void function() { std::cout << "hello" << std::endl; //var ...
Etana asked 4/3, 2021 at 17:43

1

Solved

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:...
Illene asked 31/7, 2019 at 23:8

0

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 ...
Rootstock asked 11/5, 2019 at 16:53

4

Solved

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 ...
Chump asked 14/8, 2018 at 11:1

4

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...

4

Solved

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...
Boyt asked 17/7, 2009 at 8:50

3

Solved

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 ...
Philosophy asked 7/11, 2011 at 16:36

3

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 pr...
Harp asked 16/10, 2013 at 5:43

0

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 file...
Burka asked 2/12, 2016 at 0:29

1

Solved

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 speci...
Longitude asked 4/11, 2016 at 10:2

1

Solved

When you dlopen() a shared object, is there a mechanism for having code in that DLL execute without being called explicitly? Specifically, C++ static initialization code for globals/statics which t...

1

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 p...
Parrot asked 16/2, 2016 at 19:31

4

Solved

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 ...
Cw asked 25/1, 2016 at 11:52

4

Solved

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_T...
Electroencephalogram asked 6/6, 2011 at 18:51

1

Solved

I have been using R for the last 2 years. I tried to start the program yesterday to run one of my scripts and the packages that I am using failed to load. I am not sure what happened as it was work...
Naturally asked 4/5, 2015 at 16:1

4

Solved

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...
Tol asked 16/6, 2010 at 20:57

3

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...
Rusert asked 27/2, 2011 at 6:27

1

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 x...
Histrionism asked 3/3, 2013 at 8:17

1

Solved

I'm trying to run a program on a remote system on which I can't set environment variables (no access to export). The problem I'm having is I can't set LD_LIBRARY_PATH to run my binary because I don...
Tang asked 12/6, 2013 at 16:49

3

Solved

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 ...
Nephelometer asked 17/9, 2012 at 16:44

1

Solved

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:(.t...
Hydrocephalus asked 20/6, 2012 at 3:10

4

Solved

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 o...
Try asked 26/12, 2010 at 17:15

© 2022 - 2024 — McMap. All rights reserved.