From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: PATCH: ldd and LD_DEBUG completions
Date: Thu, 28 Jun 2007 11:00:40 -0700 [thread overview]
Message-ID: <20070628180040.GA89346@redoubt.spodhuis.org> (raw)
In-Reply-To: <200706281621.l5SGLHKR015636@news01.csr.com>
On 2007-06-28 at 17:21 +0100, Peter Stephenson wrote:
> Are you referring to the fact that all system libraries needed in zsh
> and its modules are linked into the main shell and all modules? That's
> a fairly cosmetic problem requiring a rewrite of the build system that's
> likely to be 1,798,109,308th in my global list of things to worry about.
It affected me when I was creating my ruby plugin (which I haven't
worked on in weeks); I hacked around the configure/make/sh-scripts
system to let the linking be on individual modules, with better
independent configuration. I don't remember where things _really_
broke, might have been the libcrypt pull-in. (Of course, I later
remembered which language it was I'd been trying to remember, designed
for embedding and the one I _wanted_ to test with; lua).
I need to research what's available pre-packaged as autoconf stuff to
detect systems where everything needs to be linked into the main binary,
so that I can merge this in without killing support for some of zsh's
platforms. I'm planning to schedule time this weekend to look at this.
Anything I offer will only have been tested on FreeBSD6/amd64 and MacOS
10.4.10/x86, so there's likely to be breakage, hence not having offered
anything before now.
Does the output below look reasonable and desirable to people?
% ldd -a bin/zsh
bin/zsh:
libzsh-4.3.4-dev-0.so => /home/pdp/dbg/lib/zsh/libzsh-4.3.4-dev-0.so (0x800631000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x8007f6000)
libncurses.so.6 => /lib/libncurses.so.6 (0x8009e7000)
libm.so.4 => /lib/libm.so.4 (0x800b40000)
libc.so.6 => /lib/libc.so.6 (0x800c5c000)
/home/pdp/dbg/lib/zsh/libzsh-4.3.4-dev-0.so:
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x8007f6000)
libncurses.so.6 => /lib/libncurses.so.6 (0x8009e7000)
libm.so.4 => /lib/libm.so.4 (0x800b40000)
libc.so.6 => /lib/libc.so.6 (0x800c5c000)
% ldd lib/zsh/4.3.4-dev-0/zsh/pcre.so
lib/zsh/4.3.4-dev-0/zsh/pcre.so:
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x80093b000)
libncurses.so.5.6 => not found (0x0)
libm.so.4 => /lib/libm.so.4 (0x800b2c000)
libc.so.6 => /lib/libc.so.6 (0x800632000)
libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x800c48000)
% ldd -a lib/zsh/4.3.4-dev-0/zsh/ruby.so
lib/zsh/4.3.4-dev-0/zsh/ruby.so:
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x80093c000)
libncurses.so.5.6 => not found (0x0)
libm.so.4 => /lib/libm.so.4 (0x800b2d000)
libc.so.6 => /lib/libc.so.6 (0x800632000)
libruby18.so.18 => /usr/local/lib/libruby18.so.18 (0x800c49000)
/usr/local/lib/libruby18.so.18:
libcrypt.so.3 => /lib/libcrypt.so.3 (0x800e32000)
libm.so.4 => /lib/libm.so.4 (0x800b2d000)
next prev parent reply other threads:[~2007-06-28 18:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 16:12 Oliver Kiddle
2007-06-28 16:21 ` Peter Stephenson
2007-06-28 18:00 ` Phil Pennock [this message]
2007-06-29 9:59 ` Peter Stephenson
2007-06-29 10:42 ` Oliver Kiddle
2007-06-29 12:11 ` Clint Adams
2007-06-29 12:39 ` Oliver Kiddle
2007-06-29 14:35 ` Bart Schaefer
2007-06-29 16:08 ` Oliver Kiddle
2007-06-28 17:07 ` Danek Duvall
2007-06-28 17:15 ` Peter Stephenson
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=20070628180040.GA89346@redoubt.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=zsh-workers@sunsite.dk \
/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/zsh/
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).