1

I try to compile a project, I got the source files from git hub.

But when I launch make, the compilation complains that the dependency on wayland-server is not met.

However, I have wayland installed. On my system, libwayland-server.so.0 is located in /usr/lib/x86_64-linux-gnu

When looking at the Makefile of the project, I see that the variable LIBDIR is set to /usr/lib

So I suspect the compiler is not searching for wayland-server lib inside /usr/lib/x86_64-linux-gnu

What is the way to go so as to fix this compilation problem ? Should I modify the make file, in which way ?

1 Answer 1

1

Use command

Export LIBDIR=/usr/lib/x86_64-linux-gnu:$LIBDIR

And try again. If it works, put this line in your ~/.bashrc

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.