usr/bin/ld: cannot find -l

前端 未结 14 2871
离开以前
离开以前 2020-11-22 07:07

I\'m trying to compile my program and it returns this error :

usr/bin/ld: cannot find -l

in my makefile I use the c

14条回答
  •  遥遥无期
    2020-11-22 07:47

    Check the location of your library, for example lxxx.so:

    locate lxxx.so
    

    If it is not in the /usr/lib folder, type this:

    sudo cp yourpath/lxxx.so /usr/lib
    

    Done.

提交回复
热议问题