[yocto] Cannot link to custom library

Chauhan, Himanshu hschauhan at nulltrace.org
Sat Jun 8 20:22:48 PDT 2019


Hi,

I have created a custom library which gets installed in /lib. Symlink
get created in /usr/lib and header file is copied to /usr/include

Then, I have another auto tool based application which should get
linked to the library mentioned above. During configure, the header
file is found but library is not found. I searched net but couldn't
find a definitive answer to the problem.

| checking whether to build shared libraries... yes
| checking whether to build static libraries... no
| checking libcli.h usability... yes
| checking libcli.h presence... yes
| checking for libcli.h... yes
| checking for library containing cli_init... no
| configure: error: required library libcli not found
| make: *** [config.status] Error 1
| ERROR: oe_runmake failed

-- 

Regards
[Himanshu Chauhan]


More information about the yocto mailing list