All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Andre McCurdy <armccurdy@gmail.com>, Steve Pavao <stevep@korgrd.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: advice on recipe for shared lib mDNSResponder
Date: Fri, 29 Sep 2017 14:14:12 +1300	[thread overview]
Message-ID: <9134137.eVDeBQYPmQ@peggleto-mobl.ger.corp.intel.com> (raw)
In-Reply-To: <CAJ86T=UU_xDTNwSqR2EhLDT4zHgY8hVhMjfj=1D_+dYRkD57kg@mail.gmail.com>

On Friday, 29 September 2017 1:44:13 PM NZDT Andre McCurdy wrote:
> On Thu, Sep 28, 2017 at 5:11 PM, Andre McCurdy <armccurdy@gmail.com> wrote:
> > On Thu, Sep 28, 2017 at 3:30 PM, Paul Eggleton
> > <paul.eggleton@linux.intel.com> wrote:
> >> Hi Steve,
> >>
> >> On Friday, 29 September 2017 5:29:32 AM NZDT Steve Pavao wrote:
> >>> I was unable to successfully build that recipe here, though.  I’ll check
> >>> with the maintainers to ask why.
> >>>
> >>> All I did was clone the meta-intel-iot-middleware repo, add that layer to
> >>> bblayers.conf, and add mdns to IMAGE_INSTALL_append to get this far.
> >>
> >> FYI the meta-intel-iot-middleware repository is no longer being actively
> >> maintained, however coincidentally I am currently in the process of updating
> >> and moving the useful pieces elsewhere. mdns wasn't on my list, however I have
> >> just tried to fix it up, here is what I have so far:
> >>
> >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-middleware/commit/?h=paule/mdns-upgrade-1&id=7389dd6b1d3e69a05b8fa62673ba03b2a91073ff
> >>
> >> Unfortunately I hit a linking issue - the dns-sd binary gets linked to the
> >> unversioned libdns_sd.so symlink,
> >
> > If the lib isn't versioned, what does the symlink point to?
> 
> OK, so the lib is versioned (ie there is a libdns_sd.so.1 which the
> symlink points to) but the problem is that libdns_sd.so.1 doesn't set
> a soname. Fix would be to add:
> 
>   -Wl,-soname,libdns_sd.so.1

That did the trick. I'm ashamed to say that despite years of working on
recipes I had yet to delve into this particular area, so thanks for filling in
a gap in my knowledge.

I've pushed a new commit:

  http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-middleware/commit/?h=paule/mdns-upgrade-1&id=fab9ceda3d748e66d0273b08a4e6f7fa427763ea

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2017-09-29  1:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 22:58 advice on recipe for shared lib mDNSResponder Steve Pavao
2017-09-27 23:17 ` Andre McCurdy
2017-09-28 16:29   ` Steve Pavao
2017-09-28 22:30     ` Paul Eggleton
2017-09-29  0:11       ` Andre McCurdy
2017-09-29  0:44         ` Andre McCurdy
2017-09-29  1:14           ` Paul Eggleton [this message]
2017-09-28  9:38 ` Burton, Ross

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=9134137.eVDeBQYPmQ@peggleto-mobl.ger.corp.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=armccurdy@gmail.com \
    --cc=stevep@korgrd.com \
    --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.