Skip to content

make fails in the Linking step  #3

@opheliagame

Description

@opheliagame

I am working on a linux machine and the make command gives me an error

$ make
[ 8%] Building CXX object Examples/Window/CMakeFiles/Window.dir/main.cpp.o
[ 16%] Linking CXX executable ../../Binaries/Linux/Release/Window
/usr/bin/ld: /usr/local/lib/libglfw3.a(vulkan.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Examples/Window/CMakeFiles/Window.dir/build.make:102: recipe for target``'Binaries/Linux/Release/Window' failed
make[2]: *** [Binaries/Linux/Release/Window] Error 1
CMakeFiles/Makefile2:118: recipe for target 'Examples/Window/CMakeFiles/Window.dir/all' failed
make[1]: *** [Examples/Window/CMakeFiles/Window.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions