Questions tagged [libdl]

19 questions
0
votes
1 answer

How can I add libdl to to a waf build?

I'm trying to call the dlsym function from a program compiled with the waf build system, but am unable to link libdl using the wscript. This SEEMS like an extremely simple task but I've tried a million different things and have gotten nowhere. Edit:…
snek_case
  • 339
  • 2
  • 10
0
votes
1 answer

c++ libdl.so: Can't open shared library in 32bit application

I am writing a little project in which I want to call a function from a shared library. For that I want to use libdl.so's dlopen() function. I have everything set up so that it will work just fine when I build and run it as a 64bit application.…
Raven
  • 2,951
  • 2
  • 26
  • 42
0
votes
0 answers

enforce libtool to link with libdl.so

I am building a shared lib on Ubuntu 18.04.1 that has to be linked explicitly with libdl.so. All is good when using a non-libtool makefile - "-ldl" is supplied to the linker and the produced binary imports libdl.so. But when trying to build with a…
0
votes
1 answer

C++ Equivalent Windows of dl library

I created an app that encrypt decript using OpenSSL. To compile/link it in g++ needed to include static libs: g++ -o gssag agent_main.cpp libssl.a libcrypto.a -ldl -std=c++14 this "dl" library seems to be a library to load dinamic libraries that…
Neumann
  • 319
  • 2
  • 14
1
2