All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chauhan, Himanshu" <hschauhan@nulltrace.org>
To: yocto@yoctoproject.org
Subject: Cannot link to custom library
Date: Sun, 9 Jun 2019 08:52:48 +0530	[thread overview]
Message-ID: <CAOkDQ3Wp9UmioB0-SL7UNhAE0wbRZ0_i6xw4WGx_hh+HvoL+Yw@mail.gmail.com> (raw)

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]


                 reply	other threads:[~2019-06-09  3:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOkDQ3Wp9UmioB0-SL7UNhAE0wbRZ0_i6xw4WGx_hh+HvoL+Yw@mail.gmail.com \
    --to=hschauhan@nulltrace.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.