zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk (Zsh hackers list)
Subject: Re: 4.2.4 failure on MacOS X
Date: Thu, 03 Feb 2005 17:10:27 +0000	[thread overview]
Message-ID: <200502031710.j13HASYI005949@news01.csr.com> (raw)
In-Reply-To: <1050203162852.ZM14033@candle.brasslantern.com>

Bart Schaefer wrote:
>> gcc -Wl,-x   -o zsh main.o  `cat stamp-modobjs`   -L/sw/lib -lpcre -ldl 
>> -ltinfo -lm  -lc
>> ld: Undefined symbols:
>> _libiconv
>> _libiconv_close
>> _libiconv_open
> 
> I'd like to know what happens if it's compiled without pcre.  I was a bit
> leery when I saw that "-L" option being inserted by pcre-config, and I
> wonder if it's not a library ordering issue (e.g. -ldl should come before
> -lpcre or some such).

Could be similar, but I don't think it's quite that.  I can see libiconv
in /sw/lib on ppc-sx2.cf.sourceforge.net, but there's no pcre there.
-liconv should presumably be present to get it to link properly; the
missing symbols do seem to be there.  It's possible the pcre bit is
somehow getting rid of -liconv.  I don't see how that could happen,
however.  The line output into configure is simply

if test x$enable_pcre = xyes; then
  LIBS="`pcre-config --libs` $LIBS"
fi

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited. 
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


  reply	other threads:[~2005-02-03 17:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 16:15 Peter Stephenson
2005-02-03 16:28 ` Bart Schaefer
2005-02-03 17:10   ` Peter Stephenson [this message]
2005-02-03 18:32     ` Clint Adams
2005-02-04 18:59       ` Peter A. Castro
2005-02-03 17:19   ` Peter Stephenson
2005-02-04 18:55     ` Peter A. Castro
2005-02-03 19:01 ` Motoi Washida
2005-02-04 10:35   ` Peter Stephenson
2005-02-04 19:10   ` Peter A. Castro

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=200502031710.j13HASYI005949@news01.csr.com \
    --to=pws@csr.com \
    --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).