mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jean-Marc Pigeon <jmp@safe.ca>
To: musl@lists.openwall.com
Subject: Re: ldconfig? /usr/lib64 LD_LIBRARY_PATH
Date: Wed, 22 Apr 2015 15:08:01 -0400	[thread overview]
Message-ID: <5537F191.6070508@safe.ca> (raw)
In-Reply-To: <20150422183702.GE6817@brightrain.aerifal.cx>

[-- Attachment #1: Type: text/plain, Size: 3428 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/22/2015 02:37 PM, Rich Felker wrote:
> On Wed, Apr 22, 2015 at 02:15:41PM -0400, Jean-Marc Pigeon wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>> 
>> Hello,
>> 
>> I now have a set of packages (76,... gcc, make, git, etc.) which
>> are compiled with musl, all the way up to the linux kernel. With
>> those packages I have reached my immediate goal of having a
>> self-sufficient distribution (the generated distribution can 
>> recreate itself, see www.osukiss.org if you want to know more).
>> 
>> I started from a simple glibc set of packages and I converted
>> them to musl while trying to have the "minimal delta", keeping
>> some package (ex: gettext, ncurses?, ...) will be decided later
>> on. In the end I want a "clean, lean, strictly within standards"
>> set of packages, musl being a good example.
>> 
>> For now I have a problem with libraries, and I would like to have
>> a better understanding about what is suggested about library
>> PATH.
>> 
>> All packages 'configure' set their library to be in /usr/lib64, 
>> many libraries (acl,...) without RPATH wants/needs them within
>> /lib. I bypassed the problem by sym-linking needed libraries
>> between /lib and /usr/lib64.
>> 
>> I rather prefer to have libraries only within /usr/lib64 (or
>> /usr/lib for i686), sure enough I can hardcode LD_LIBRARY_PATH
>> within profile but I do not like this solution.
>> 
>> ldconfig seems not available with musl.
>> 
>> Is there a easy/standard way in musl to set the libraries in
>> designated area?
> 
> Just place the paths you want searched in a file named 
> /etc/ld-musl-x86_64.path (or replace x86_64 with your arch, the
> same as the name in /lib/ld-musl-*.so.1), separated by newlines or
> colons. If this file exists it will replace (not add to) the
> default search path, so you need to include all dirs you want
> searched.
> 
> Note that ld-musl-*.so.1 itself needs to be in /lib.
> 
> Rich
> 
Many many Thanks Rich...

Question: where is doc about this? (I should had find it myself).


- -- 

A bientôt
===========================================================
Jean-Marc Pigeon                        E-Mail: jmp@safe.ca
SAFE Inc.                             Phone: (514) 493-4280
  Clement, 'a kiss solution' to get rid of SPAM (at last)
     Clement' Home base <"http://www.clement.safe.ca">
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJVN/GQAAoJEAtgwJ4bBQU5BpgQAJ9FCAVkM3AkVRensVisehkP
hHHOrVvEtYh3lidkbGIhsTC0uIw6jWx1L146E+YpR0xCJA09kzXWbfGjB9N59s1m
oB3wM5JB+PJJIMA4ecvGmdgM/rcAdW/ZwjhlvhNk7Md1hWU7isiIDgEI/NoRVWeC
w6A6u4QUhFmNIzZS+/mtIdOpURpbPUBq3RadqGmaaQX2K47noKBeSlKcqEL99Dbj
s9t9JnMSqZbq+klJ49Cm7LqSWt1qUKfVSXnH0e7x6lVdImt6maJuAOMHIzut/9mm
Qif8xycu01J6UYcgkxIw2s2WS6jPAOepcRwGWnDL2LPFTtMHO/iI5EEIJWJ5eLXv
sKyd/OPlzpQDQRG7Qa0J5xo40syVUx0LJGNvBpui476b612zhcDZXLwqgTuWQOVN
CqiE36fZSI8oDD9CuuXn8KxXZbw48CZ5fGQXTMlaw0v4dsFyOfp8/0OL57D0GtF1
0/5EQX8NBRhcZ+NkslKJT4WGdbdG7F5G93p7A6dT7ICqnv7dsIEj3GZyjoUJFnHw
Tzl74krClKEriOA+tDaoJy6dAQ7uwPAWrJqMEq4EbCcO7NUy0mSQSeVnO0Pw+dTp
cRonFj4mnB5vafbYEIk5Gi0EflaX8W8T2JrJqloqAq5U1GnpanYBwtklNSI4w6xE
jHkeCrOp/ktUl1FnrXO3
=6Qd0
-----END PGP SIGNATURE-----


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4242 bytes --]

  reply	other threads:[~2015-04-22 19:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 18:15 Jean-Marc Pigeon
2015-04-22 18:37 ` Rich Felker
2015-04-22 19:08   ` Jean-Marc Pigeon [this message]
2015-04-22 19:11     ` Rich Felker

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=5537F191.6070508@safe.ca \
    --to=jmp@safe.ca \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).