The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
37 views

undefined reference to espeak function

after typing make to compile a project that is depends on espeak i got the following error at linking stage `EspeakTTSWorker.cpp:(.text+0x118): undefined reference to `espeak_Initialize' ...
0
votes
0answers
61 views

apt-get cannot be executed after 15.10 upgrade [duplicate]

No matter which program I want to execute in the terminal I get this error: $ sudo apt-get update apt-get relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16: symbol ...
1
vote
0answers
129 views

squeak: could not find any display driver

I am building the vm for squeak on Ubuntu 14.04 32-bit. It is failing to call entry points to libraries, whether these libraries are statically linked or loaded or not loaded. I have been doing some ...
0
votes
2answers
83 views

How to copy libraries a dynamically linked program is built against?

Recently, I've been into compiling software and distributing it. Last time I did it, I did so by building my program and running ldd on it to get all of the libraries it was linked against. I got the ...
0
votes
1answer
50 views

Build with clang for older ubuntu releases

So the problem started as I lately updated my Ubuntu Vivid (15.04). Now clang-3.5 depends on libstdc++-4.9 (instead of previous version of 4.8) and my compiled programs fail to run on Trusty (14.04): ...
1
vote
1answer
189 views

What are dynamic and static linking?

I hear the terms "Dynamically linked" and "Statically linked" tossed around in regards to packaging, and I have never been clear on what these terms actually mean. What are dynamic and static ...
0
votes
0answers
329 views

Undefined reference to XLib functions when linking

I am attempting to build an old project which requires XLib functions. However, I am getting the following linking errors (plus many more): //usr/local/lib/libgdk.so: undefined reference to `...
1
vote
0answers
51 views

Dynamic Link Problem in Ubuntu 12.04

I have a program that I'm trying to run, but it gives me this error message: ./randomgrowth: error while loading shared libraries: libOpenMeshCore.so.3.3: cannot open shared object file: No such file ...
0
votes
1answer
235 views

Problem linking igraph: ImportError: libigraph.so.0

After following the instructions for installing the igraph library, I obtained the following error: ImportError: libigraph.so.0: cannot open shared object file: No such file or directory Is there a ...
0
votes
1answer
93 views

GnuCOBOL not generating dynamic link library ELF references

Now GnuCOBOL, the Ubuntu package is open-cobol. As of Ubuntu 14.04? the compiler fails to link in dynamic library references for dlopen to use at run-time. No trace of the library in ldd from gcc -l ...
3
votes
1answer
930 views

Can't link libreadline on Ubuntu 14.04

this may be a very stupid error, but can't find any reference in the web. I try to compile this bare minimum readline example: #include <stdio.h> #include <malloc.h> #include <...
1
vote
0answers
534 views

Why can I compile against libclang-3.5.so and not against libclang.so?

I am trying to compile a C source file, that needs to be linked against a dynamic library I installed through apt-get (libclang.so). apt-get installed the clang shared libraries in /usr/lib/x86_64-...
1
vote
0answers
130 views

Linking with versioned shared libraries

I've been using Ubuntu for a couple of years now and a problem that I consistently come across is with linking against particular versions of shared object files. For example, I'm trying to install ...
0
votes
1answer
363 views

Is the compiled version of a binary dynamically linked to the system SSL library?

In my case I build nginx from source and I want to confirm whether I need to rebuild it whenever a new OpenSSL update is released. From what I understand either of these two commands can be used to ...
11
votes
1answer
33k views

Installing Oracle database 12c on Ubuntu 14.04

Is there anyone out there that got Oracle 12c working on Ubuntu 14.04? I tried following this tutorial (which is written for installing Oracle 12c on Ubuntu 12.04): But in linking faze I encountered ...
0
votes
2answers
7k views

How do I deal with “undefined reference to dlopen” errors while compiling and using OpenFST on Ubuntu?

Trying to compile and use OpenFST on Ubuntu 13.10 leads to link errors like "undefined references to dlopen". How does one fix this? Searching online suggests including -ldl in the gcc command line, ...
0
votes
2answers
59 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 ...
9
votes
1answer
18k 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
922 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
921 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 <...
0
votes
1answer
1k 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 -Wl,-Map=...
1
vote
1answer
300 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 /home/exe/libcxx/lib:/home/exe/llvm/lib:/...
1
vote
1answer
228 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
97 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 (/usr/lib/libsqlite3....
1
vote
1answer
2k 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 {...
2
votes
0answers
113 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
4answers
16k 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
6k 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 ...
3
votes
1answer
3k 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 ...