Questions tagged [dynamic-linking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
14 views

How can I set the speed for every person who visits my site and download from it?

I installed ubuntu18 server and uploaded my own site ... How can I set the speed for every person who visits my site and download from it ???
26
votes
3answers
6k views

Relocation error involving libgnutls.so.30, error code (127) after last updates [closed]

After the last update this happened: /usr/lib/apt/methods/http: relocation error: /usr/lib/x86_64-linux-gnu/libgnutls.so.30: symbol _idn2_punycode_decode version IDN2_0.0.0 not defined in file ...
0
votes
0answers
151 views

Binary cannot find shared object that's present on my machine

Riddle me this: $ obs obs: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory $ sudo apt install libdouble-conversion1 Reading ...
0
votes
1answer
603 views

List of Ubuntu 18.04 Multimedia System Libraries

I'm compiling SDL2 into a static library. I wish to dynamically link to system libraries that are present on Ubuntu 18.04. As I understand it, the following libraries are system libraries, i.e. they ...
1
vote
0answers
409 views

In Ubuntu, how is my environment variable `LD_LIBRARY_PATH` empty, even though `ldd mybinary` clearly finds paths?

I am trying to build my own local application. Because snapcraft lacks qbs support, I am trying to develop my own passive support for qbs. Anyway, just stepping through this, in QtCreator, qbs ...
7
votes
1answer
1k views

Why is there a .steampath in my home directory?

In the terminal, I see a broken link which is named .steampath, I didn't remove /home/user/.steam/sdk32/steam, but it is gone. Why is the .steampath there? Should I remove it?
0
votes
0answers
183 views

How multiple .so file added in ldconfig?

librcdev.so.1.6, librcdev.so.1 and librcdev.so files are linked with librcdev.so.1.6.0 . I updated ldconfig but after: ldconfig -p | grep librcdev All .so files are not showing. (all .so files are ...
2
votes
0answers
319 views

Which MPI library are packages linked against? Open MPI?

Some packages in the Ubuntu repositories provide pre-compiled binaries of shared libraries (*.so). For example, the package fftw2 provides the FFTW library (version 2), including the MPI-related ...
0
votes
1answer
336 views

How does this program statically link to a .so in a non-default path

A program I am using can only be installed with a custom installer (IDA Freeware Demo). I have installed it in my home dir, it all works fine. Now I noticed when checking the program with ldd: it ...
4
votes
0answers
487 views

hidden symbol `pthread_atfork' in /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a(pthread_atfork.oS) is referenced by DSO

I am trying to compile a large project, it includes a library: SAMG/ifort64.9.1.041-emt64/lib/libguide.so when I try to make project, there is an error message: hidden symbol `pthread_atfork' in /...
0
votes
1answer
846 views

Change the owner of a subdirectory on a mounted drive

I have my home folder linked to a folder on a mounted partition in have mounted it via fstab and the uid is the id of root the gid too. How do i change the owner of the subdirectorys on the mounted ...
1
vote
0answers
1k views

Is the vdso shared library (linux-vdso.so) the library that contains the kernel object code (system calls)?

I noticed that all my programs compiled to gcc are linked to vdso library. Is this the library that contain the system calls to the kernel, like mmap() and fork() and other system calls? I know that ...
20
votes
2answers
9k views

What are .dlls doing in Linux programs?

Games that were made with Unity3D for Linux contains .dll files in their data folder GameDataFolder/Managed. Which is weird because I thought that Linux uses .so files instead of .dll files. (The ...
0
votes
1answer
2k views

libpng-dev is installed; program doesn't link

I want to compile farbfeld program suite. I run make. Error: cc -s -lpng -o png2ff png2ff.o util.o png2ff.o: In function `main': png2ff.c:(.text.startup+0x58): undefined reference to `...
2
votes
1answer
54 views

Telling the kernel to prioritize swapping of a certain application?

Admittedly, this is a bit of a weird question.... TL;DR: I'm trying to work on a program, but whenever I link it, it uses ridiculous amounts of RAM. As a result, pretty much everything but the linker ...
0
votes
1answer
714 views

Gcc does not link libraries [closed]

I'm trying to compile a program in the terminal using gcc. I'm kind of new to do this so I'm making some experiments with link various libraries. However some are working and some aren't and I wonder ...
1
vote
1answer
547 views

Snappy Core 16 Dynamic DNS Update

I have a Raspberry Pi 3 running a webserver on Ubuntu Snappy Core 16, and I'm usind dynamic DNS to address to my IP. I use NO-IP for a free dynamic DNS and it requires an update every 30 days or it ...
2
votes
0answers
215 views

Exposing header files in a snapcraft part

I'm trying to make a snap for a Qt application called Cockatrice. To compile, it requires the protobuf library. My snapcraft file is as follows: name: cockatrice version: '2016-10-30' summary: 'A ...
0
votes
1answer
429 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' ...
1
vote
0answers
685 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
1k 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
174 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
924 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 ...
1
vote
0answers
127 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 ...
1
vote
1answer
2k 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
173 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 ...
0
votes
3answers
5k views

Libjpeg not found

I have an binary program to run on ubuntu. It has shared object dependency. pmvs is the name of the program $ ldd pmvs linux-vdso.so.1 => (0x00007fff043c3000) libXext.so.6 =>...
5
votes
1answer
4k 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
945 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
539 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 ...
1
vote
1answer
842 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 ...
13
votes
1answer
67k 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 ...
2
votes
2answers
24k 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
74 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 ...
29
votes
2answers
60k 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
2k 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
2k 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
1answer
2k 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=...
4
votes
2answers
4k 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
924 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, libtiff,...
2
votes
1answer
130 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
4k 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
139 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 ...
7
votes
3answers
36k 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
11k 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
9k 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 ...