shared-libraries Questions
4
Using gdb from the command line I'm able to break when the shared library is loaded. How can I get the same behavior in VS Code knowing that I have the source code of the shared library?
Wolford asked 11/3, 2019 at 8:50
2
Have created library that contain component, enums and interfaces using vite and vue.
Have installed the library using npm install file:./dist/
Library appeared in nodemodule folder.
After importin...
Fabaceous asked 18/8, 2023 at 12:26
4
Solved
I am using Python 2.7 and trying to use dateutil as follows:
from dateutil import parser as _date_parser
However, I get the following error:
Traceback (most recent call last):
File "<pyshel...
Absorbefacient asked 24/2, 2014 at 14:27
3
I am trying to compile and link a sample file from the Novell LDAP C SDK but the link is failing due to 3 unresolved symbols in the pthread library. I am using gcc 4.8.1 on Ubuntu 13.10 (Saucy). I ...
Lingerfelt asked 4/3, 2014 at 18:47
10
Solved
I have a shared object (dll). How do I find out what all symbols are exported from that?
Persecute asked 6/8, 2009 at 8:21
6
Solved
This question is asked several times in Stack Overflow. I tried methods in several discussions but it didn't work. So my OpenCV library which was built with custom Qt doesn't work properly:
import...
Ski asked 19/1, 2020 at 11:44
3
Solved
I use Qt Creator to make static C++ library and a Qt application for it.
My lib includes MyLib_global.h:
#if defined(MYLIB_LIBRARY)
# define MYLIBSHARED_EXPORT Q_DECL_EXPORT
#else
# define MYLIBS...
Mancino asked 31/3, 2013 at 6:17
4
I am trying to debug an application that is built from a number of shared libraries using GDB.
Start of gdb:
prompt$ gdb
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-50.el6)
Copyright (C) 2010 Fre...
Genip asked 18/12, 2012 at 10:45
2
Solved
Suppose I have a A.so file whose dependencies are found from ldd
#ldd A
[...]
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007faaf9722000)
libxyz.so.49 => /usr/lib64/libxyz.so.49 (0x00007faa...
Marelya asked 21/4, 2016 at 17:10
1
Solved
Importing the Python libraries pandas and cplex in an conda raises the following exception:
ImportError, because 'GLIBCXX_3.4.29 not found'
When importing cplex first, there is no error (see code ...
Virg asked 5/2, 2024 at 9:41
8
I'm trying to import pycurl:
$ python -c "import pycurl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libcurl.so.4: cannot open shared object fi...
Shiny asked 8/7, 2009 at 19:6
4
Solved
The title mostly covers it, what is the difference between a module and a shared library? I just found this distinction in CMake's add_library command, where they say:
SHARED libraries are linke...
Oquassa asked 30/1, 2011 at 22:26
3
Solved
When working with windows dll's, it is established that we should limit the memory allocation/deallocation within the dll boundary since the dll could be using its own heap.
So we have export alloc...
Mild asked 28/10, 2020 at 14:13
20
Solved
When creating a class library in C++, you can choose between dynamic (.dll, .so) and static (.lib, .a) libraries. What is the difference between them and when is it appropriate to use which?
Vapid asked 26/9, 2008 at 15:2
3
Solved
I found Cmake: How to set rpath to ${ORIGIN} with cmake but my cmake does not have target_link_options.
I'm not installing the binary, I'm only "installing" it with RUNTIME_OUTPUT_DIRECTORY, so I...
Zing asked 13/10, 2019 at 4:5
4
I am working on a C++ project using CMake where I build an executable foo that uses a shared library libbar (that is being added via ExternalProject_add).
The executable build/src/foo in the build ...
Monarski asked 5/8, 2022 at 10:12
3
Solved
I am currently trying to use C++11 multithreading in a shared library that is loaded into the main program (written in C) on Linux. This is part of a big simulation program and I cannot change an...
Idle asked 13/12, 2013 at 13:54
8
I am using pip and trying to install a python module called pyodbc which has some dependencies on non-python libraries like unixodbc-dev, unixodbc-bin, unixodbc. I cannot install these dependencies...
Toggle asked 13/9, 2013 at 9:56
6
I'm trying to link in a pre-compiled shared library file called libtest-lib.so. This is what I have at the bottom of my CMakeLists.txt:
link_directories("/projectspath/LinkTest/TestLib/app/build/i...
Phycomycete asked 13/1, 2017 at 19:44
15
Solved
I've installed Android Studio and tried to run my first project in it, and I've got following error:
Error Output was: /home/user/android-studio/sdk/platform-tools/adb: error while loading shared ...
Trinity asked 9/6, 2013 at 1:51
3
Solved
In my custom environment an interceptor library is preloaded which runs a special implementation of bind(), connect(), etc. calls.
The problem I see is whenever an application is explicitly enabled...
Anthracosis asked 5/8, 2013 at 12:40
3
I need to dynamically open a shared library lib.so if a specific condition is met at runtime. The library contains ~700 functions and I need to load all their symbols.
A simple solution is to defi...
Kail asked 28/8, 2017 at 11:23
5
Solved
What exactly does -rdynamic (or --export-dynamic at the linker level) do and how does it relate to symbol visibility as defined by the -fvisibility* flags or visibility pragmas and __attribute__s?
...
Wappes asked 18/4, 2016 at 11:11
2
I'm creating a library that exports a lot of React Components and also some TypeScript utilities used for multiple projects within my company. However, I can’t seem to do anything other than everyt...
Carminacarminative asked 9/7, 2023 at 17:15
0
I was getting this error:
error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory
To resolve this, I searched "libgfortran.so.4"...
Sanctus asked 2/6, 2023 at 9:34
1 Next >
© 2022 - 2025 — McMap. All rights reserved.