The dynamic-linking tag has no wiki summary.
0
votes
1answer
20 views
Static linking to a library
I'm trying to run a pre-compiled program from
http://cherrypit.princeton.edu/donev/Packing/PackLSD/Instructions.html
The pages states that:
The executables only link in standard (OpenGL, ...
2
votes
1answer
22 views
Why is the library's linker name only in the -dev package?
Take a package like sqlite3:
http://packages.ubuntu.com/lucid/i386/libsqlite3-0/filelist
http://packages.ubuntu.com/lucid/i386/libsqlite3-dev/filelist
Note that the linker name ...
0
votes
1answer
60 views
dlclose does not call library destructors, dlopen called just once
consider the following code for a dynamic loaded library built with g++-4.7 on linux, -fPIC and linked with -rdynamic option:
typedef std::vector< void* > cbRegister_t;
struct Wrapper
...
0
votes
1answer
232 views
“error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory”
I just built libjpeg and installed it. I'm trying to my program, it successfully builds, but shows this message when executed:
error while loading shared libraries: libjpeg.so.9: cannot open shared ...
0
votes
0answers
25 views
What to do when linking fails?
I have a problem with gcc. I am trying to work with boost program_options and the simplest example:
g++ /usr/share/doc/libboost1.49-doc/examples/libs/program_options/example/first.cpp -o /tmp/o ...
2
votes
0answers
37 views
compiling a shared library
I'm doing a 64-bit rewrite of some code I wrote that implements a novel approach to genetic algorithms that I want to turn into a shared library exclusive to Ubuntu using code::blocks/gcc.
I have ...
3
votes
2answers
333 views
How do I run a game with a .x86 extension
Can anyone help me run the game cs portable, I used to play this all the time on windows?? it's free and the download link is here,
the download link is in the bottom of his profile description.
The ...
2
votes
2answers
908 views
ld cannot find math library
I just installed ubuntu 12.04 LTS and am having trouble linking to the math functions (from ). I have gcc installed and able to compile the source fine. However, trying:
gcc -lm montecarlo_time.o ...
1
vote
1answer
498 views
How to reset LD_PRELOAD
I've done the following command to set the path for LD_PRELOAD. But it's the wrong path.
export LD_PRELOAD=/home/
Does anyone know what is the default path for LD_PRELOAD on Ubuntu 12.04? What is ...