The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
41 views

Windows and Ubuntu Linking

I am a PhD student doing Aeroelastic CFD simulations and I am working with one fluid open source code (Flower) running on Ubuntu and one commercial sturctural csoftware (SIMPACK) running on Windows ...
0
votes
0answers
257 views

Linking a program with Boost using clang-3.4 and libc++?

I'm trying to compile a simple C++ test file using libc++ (instead of libstdc++) and the Boost Program Options library from the Ubuntu main repo. The program is as follows: #include ...
1
vote
0answers
436 views

pthread link failure on Ubuntu 13.10 64 bit with multilib support

I am re-compiling a C application that linked fine on Ubuntu 13.04. It is failing to link (-lpthread -lrt) with: undefined reference to `sem_post' undefined reference to `pthread_create' etc. ...
1
vote
1answer
787 views

Where does Ubuntu look for shared libraries?

When I run a process that links to a shared library at runtime (linked when the process starts, not linked later with dlload()), where does it look for that shared library (.so) file other than ...
0
votes
1answer
331 views

ld: cannot find -ljson

I tried running sudo apt-get install libjson-glib-dev with no luck. Was not able to find anything useful by googling either. Anyone know what package I need to install to be able to link json?
2
votes
1answer
203 views

undefined reference to `GDALAllRegister' [closed]

I have problem with gdal. I am currently working on Ubuntu and the IDE is Eclipse CDT i have given my code below and i have also installed the gdal package but it gives build errors #include ...
1
vote
0answers
306 views

SDL2 - Undefined references

I just started using SDL2 (on Ubuntu 13.04 x64) and everything was going fine, until I tried to use SDL_image. I added this piece of code, for loading images: SDL_Texture* LoadImage(std::string ...
0
votes
0answers
35 views

libgdal dynamic linking of library

libgdal.so.1: cannot open shared object file: No such file or directory. I am getting this error while launching the application what has to be done to fix this? am using eclipse CDT in Ubuntu.
0
votes
1answer
520 views

msp430/bin/ld: cannot find -lc

I installed successfully msp430-gcc 4.7.0 compiler. The compiler at the final stage of the linking process it shows me the following error for Ubuntu 12.04. msp430-gcc -mmcu=msp430f1611 ...
0
votes
1answer
91 views

Why doesn't LD_LIBRARY_PATH has any effect?

./a.out: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory even though: $ echo $LD_LIBRARY_PATH ...
0
votes
1answer
35 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
62 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
636 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
3k 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 ...
2
votes
0answers
75 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
3k 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
3k 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 ...
2
votes
1answer
1k 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 ...