All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: Adding line to ld.so.conf
Date: Fri, 2 Dec 2011 10:27:35 -0600	[thread overview]
Message-ID: <4ED8FC77.3040404@windriver.com> (raw)
In-Reply-To: <1322842131.2418.21.camel@duo>

On 12/2/11 10:08 AM, Michael E Brown wrote:
> On Mon, 2011-11-21 at 09:35 -0600, Marc Ferland wrote:
>> Hi,
>>
>> What's the proper way to add a line to the ld.so.conf file for a new
>> library I am adding?
>
> Does yocto support /etc/ld.so.conf.d/ (like every other distro out there
> from the past 7 years or so?)
>
> You could just drop a file into that directory with the lines you want
> rather than editing the global file.

This is accomplished by having the following line in the /etc/ld.so.conf file.

include ld.so.conf.d/*.conf

However, this then still requires the file to exist on the target filesystem. 
I've got many systems where ld.so.conf simply doesn't exist, nor do I want it to.

See my previous reply on a better was to resolve the issue using rpath and/or 
proper soname handling inside of the libraries.

--Mark


> --
> Michael
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



      reply	other threads:[~2011-12-02 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 15:35 Adding line to ld.so.conf Marc Ferland
2011-11-21 16:04 ` Khem Raj
2011-11-21 16:17   ` Marc Ferland
2011-11-21 16:39     ` Mark Hatle
2011-12-02 16:08 ` Michael E Brown
2011-12-02 16:27   ` Mark Hatle [this message]

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=4ED8FC77.3040404@windriver.com \
    --to=mark.hatle@windriver.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.