Category "linker"

go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lgdal

I am trying to run go build on my sources. go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -lgdal collect2: error: ld

Why does ld need /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 while its default dynamic linker is /lib64/ld-linux-x86-64.so.2?

In x86-64 target Debian, most of the programs are link against shared objects with the /lib64/ld-linux-x86-64.so.2. And there is also one in /lib/x86_64-linux-g

How is an 'undefined symbol' error possible if shared dependencies provide that symbol?

I'm trying to compile GTK 3.24.33 from source. At some point in the build process I got the following error Cannot load module /home/felix/apps/src/libraries/gt

How to configure a non-standard linker for an autotooled build?

I wanted to configure an autotooled project to invoke a non-standard linker (the gold linker), using the stock autotools of Linux Mint 16/Ubuntu 13.10 I belie

GetProcAdress vs Linker

After doing some research on linking DLLs I came across two different methods for loading DLLs. The first method was using the linker. I added the paths to the

error linking uWSGI

i'm trying to compile uwsgi from pip on rhel6, but i get a linking error: can someone help please? $ sudo /usr/bin/pip install uwsgi ... *** uWSGI linking ***

dll loacation Error by running a testcode

I am learning how to use dlls and how to export them. I have created a small program that calls the different components(classes, methods, functions, ect.. ) of

LNK2001 Error even though .cpp is being compiled

I'm working on a project where I'm using Bullet3 to add a Physics Simulation Component-System to EntityX. I'm getting link errors when compiling code, and I ca

gcc linker options "--format binary"?

What is the meaning/usage of '--format binary' options in below command ?. ld -m elf_x86_64 --format binary --oformat elf64-x86-64 -r stub -o stub-image.o

Unable to link libclang with cmake on VS2017

A while ago I wrote a code generation program to use in my 3D game engine. I added a target to my cmake files, linked libclang with it as I'm using that for par

How do I change order of Libs in a cmake file?

Link order matters. I have observed that when I compile my program with: gcc `pkg-config --cflags --libs gtk+-2.0` program.cpp -o program which produces a nu

SDL_TTF : undefined reference to "TTF_INIT"

I'm trying to learn how to use SDL_TTF library. But i'm unable to solve an error of type : undefined reference to "TTF_INIT" here is the simple code that im t

When should NVRTC compilation produce a CUBIN?

If I understand the workflow description in the NVRTC documentation correctly, here's how it works: Create an NVRTC program from the source text. Compile the NV