Asked • 05/24/19

usr/bin/ld: cannot find -l<nameOfTheLibrary>?

I'm trying to compile my program and it returns this error : usr/bin/ld: cannot find -l<nameOfTheLibrary> in my makefile I use the command `g++` and link to my library which is a symbolic link to my library located on an other directory. Is there an option to add to make it work please?

1 Expert Answer

By:

Jacob C. answered • 08/09/20

Tutor
5 (13)

Master's in Computer Science with 6+ Years Career Experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.