Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ld]

The tag has no usage guidance.

0
votes
0answers
29 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 ...
0
votes
1answer
57 views

ld does not find math library -lm

/lib/x86_64-linux-gnu/libm.so.6 is present, -lm is present on the command line, but ld gives undefined references for all math symbols. Similar situation with ncurses. Thanks in advance. ...
0
votes
0answers
28 views

GNU ld aborted for internal error when building LLVM

When I tried to build LLVM 8 using gcc tool chains, some problems happened. First ld was killed, and as the build skipped this failure and continued, ld aborted itself with an internal error. Given a ...
0
votes
1answer
15 views

Error while building FleaFPGA-JTAG-Linux

I've been trying to compile FleaFPGA-JTAG-Linux for a while now but I keep getting the linker errors: cannot find -lftdti1 cannot find -lusb-1.0 When I run pkg-config --libs --cflags libftdi1 I get :...
0
votes
0answers
69 views

Why do GCC's linker-options (as per dumpspec) contain as-needed?

Within the specs of gcc (retrieved via -dumpspecs) in Ubuntu 18.04 (7.3.0-16ubuntu3) the link-section shows the explicit mention of the option as-needed (passed to ld). This influences linked ...
1
vote
2answers
383 views

Compilation errors in Ubuntu 18.04 LTS for a QT-based project

When running make, the following errors appear in terminal: //usr/local/lib/liblua.a(loadlib.o) : In function « lookforfunc » : loadlib.c:(.text+0x576): warning : Using 'dlopen' in statically linked ...
0
votes
1answer
57 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 ...
0
votes
0answers
66 views

How can I get core dump info which is happened while compiling

I encountered a core dump when compiling a linux project. the outpu/log is belows: collect2: error: ld terminated with signal 6 [Aborted], core dumped * Error in `/opt/toolchain/arm-2014.11//arm-linux-...
1
vote
1answer
1k views

How to fix Linker's broken paths?

I am trying to build a repo on my Ubuntu 16.04 from a source and everything goes fine until it reaches the files linked to OpenCV. I get the following error: /usr/bin/ld: cannot find -lIlmImf /usr/...
1
vote
1answer
958 views

libhdf5 installation problem

I've installed libhdf5-dev with apt-get but gcc cannot find it: ~$ locate libhdf5.so /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so ~$ gcc -lhdf5 /usr/bin/ld: cannot find -lhdf5 collect2: error: ld ...
1
vote
1answer
311 views

error: Unable to initialize the encoder: Transport library initialization error

I'm trying to run an audio encoder using ffmpeg command but when I try to encode in aac_ld codec or aac_eld codec, it gives me an error stating that... [libfdk_aac @ 0x1e20770] Unable to initialize ...
2
votes
1answer
47 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 ...
2
votes
0answers
198 views

How to add an existing library to Ubuntu snap core?

I'm a total newbie to snap. Apologies if this question is trivial. I'm experiencing unintended side effects when trying to use snap on a slightly customized Ubuntu system. My slight customization ...
0
votes
0answers
69 views

Skype mysteriously reverts to trying the 64-bit libGL.so.1 (and failing)

After my last apt-get dist upgrade (which installed a new version of the kernel, but not much beyond that), my Skype (which used to work) now says: skype: error while loading shared libraries: libGL....
1
vote
0answers
723 views

Firefox crashes with error “Inconsistency detected by ld.so”

I am using Ubuntu 16.04 LTS with gnome. From yetserday onwards firefox crashes with the following error: Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 517: ...
0
votes
1answer
107 views

QtWidget couldnt be configured for installation after running configure.py of PyQt5.5.1 source

I am triyng to install PyQt5 on xubuntu 14.04 but after the procedure completes successfully there is no QWidgets.so file in directory "/usr/lib/python3/dist-packages/PyQt5/" as well as other Qt*.so ...
1
vote
1answer
432 views

/usr/bin/ld: cannot find -lCint ubuntu 14.04

I tried googling what this library belongs to but couldn't find anything. Any ideas?
5
votes
0answers
531 views

Installed Cuda toolkit 7.5, but libcudart.so.5.5 remains

After installing Cuda Toolkit 7.5 on Ubuntu 14.04 (via apt-get of .deb file, followed by update of nvidia driver to 352.63), nvcc --version, NVidia-smi, and cuda samples work as expected. 7.5 is ...
1
vote
0answers
668 views

ld can`t find libraries

Good afternoon, Ubuntu 14.04.2 LTS 64bits I'm an electronics engineering student, and I'm doing some research with a team in the voice recognition area. I`m trying to install a software called ...
0
votes
1answer
153 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
2answers
5k views

“cannot find -lmpi*” when compiling openmpi code

I had try to install openmpi 1.8.1 from the source code at Unbuntu 14.04 server. I would like to use mpi for large scale calculation on single machine with multi cores. The simple "Hello world" test ...
3
votes
2answers
3k views

U-boot build fails - cannot find lgcc / libgcc.a

I am using Ubuntu 12.04 LTS 64 bit and trying to create a Linux Image for the SAMA5D36-EK. In doing so I need the mkimage command. According to this website the mkimage source comes with the U-boot ...
8
votes
3answers
20k views

undefined reference to symbol 'exp@@GLIBC_2.2.5'

Similar question has been asked here but is unanswered. I have an implementation of Levenberg-Marquardt (downloaded from somewhere) and I'm trying to compile it but getting the following error. ...
3
votes
0answers
1k views

How does ldconfig work?

I am playing with Ubuntu libraries. I am trying to add some libraries to /usr/lib/< subdir >/ and to create some proxies for the libraries in /usr/lib/< subdir >/. Note that /usr/lib/< ...
1
vote
1answer
861 views

Linking CXX executable RemoteZynAddSubFx

I'm trying to build the latest version of LMMS v1.0.0 and I'm running into this error Linking CXX executable RemoteZynAddSubFx /usr/bin/ld: cannot find -lXft /usr/bin/ld: cannot find -lfontconfig /...
4
votes
0answers
883 views

Compiling and linking of a C program

I am learning about compiler linker and loader and was trying to understand the working of linker and loader on my ubuntu 12.04 machine I wrote 2 simple ".c" files as follows test.c #include<...
5
votes
1answer
7k views

collect2: error: ld returned 1 exit status

I want to install nexalign (can be downloaded from here) on ubuntu 13.10. I previously installed it on ubuntu 10 without any problem. The error I got is: gcc -O9 -Wall -Dthread -lpthread main.o ...
1
vote
1answer
118 views

cannot find -lslink

While running make for a program installation on ubuntu 12.04 LTS, I was stuck with the following error: Could anyone help explain the cause and solution please? I'm a rookie please... Thanks /usr/...
0
votes
2answers
639 views

ld error while linking to SDL2

i'm struggling in the attept to compile c++ with SDL2. I've done as always: checkout the code (both from mercurial and libsdl.org) ./configure, make, sudo make install But it keeps to say: /usr/bin/...
0
votes
1answer
933 views

Please help building ladosc on 64bit raring

This is a question for the code savy, which I'm not... I'm trying to build a set of oldish ladspa plug-ins called ladosc (you can find them on google-code) but there are errors I can't find a ...
0
votes
1answer
1k views

QT4/5 Creator cannot find -lGL

I installed the ubuntu mobile SDK a while ago on my ubuntu 13.04 machine via http://developer.ubuntu.com/get-started/ After a few days there appeared a compiler/linker error - even when compiling the ...
8
votes
3answers
18k views

proxychains LD_PRELOAD cannot be preloaded

Using proxychains to do apt-get update in ubuntu 12.04.2 sudo proxychains apt-get update gives following error ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded: ...
0
votes
1answer
664 views

g++ fails to link to libmysqlclient

I use Ubuntu 12.04 on a virtual machine on my MacbookPro. I installed build-essential, mysql-server and libmysqlclient-dev. Both commands 'mysql' and 'mysql_config' work. However, the following ...
1
vote
0answers
3k views

undefined reference to symbol dgemm cblas error

I am trying to compile a code package, which makes use of cblas and Lapack. Thus, after specifying the path of Lapack and cblas in its makefile, when I try to make or compile, I get the following ...
1
vote
1answer
3k 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 {...
7
votes
4answers
13k views

Cannot find -lgfortran

I'm trying to install a package in R (package "ks"). It fails with error message: /usr/bin/ld: cannot find -lgfortran I've already installed the Ubuntu package build-essential: sudo apt-get install ...
2
votes
1answer
2k views

How can I re-order LD_LIBRARY_PATH?

How can I re-order LD_LIBRARY_PATH? Edit: I'm interested in LD_LIBRARY_PATH because I have this problem: I can't update, upgrade and remove my app from kubuntu and one of the error is due to ...
5
votes
2answers
2k views

Running ARM(EL) executables on ARM(HF) system - Missing Symlink to dynamic Loader?

I am using an Ubuntu 12.10 (ARMHF) distribution on a panda board. I want to run applications compiled for ARMEL. It was not possible due to a changed dynamic loader location (https://wiki.linaro.org/...
0
votes
2answers
3k views

Linker cannot find libcv

The package I am building on Precise instructs me to install OpenCV using synaptic to get libcv-dev libcvaux-dev and libhighgui-dev. So I opened up synaptic and checked the boxes and downloaded these ...
2
votes
2answers
9k 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
7k 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 ...