hi derrick,

thx for the reply =)

On Mon, 23 May 2005, OpenMacNews wrote:

  -L/usr/local/berkeley-db/lib  -ldb-4.3 -lssl -lcrypto
  /usr/lib/libcom_err.a
  powerpc-apple-darwin8-gcc-4.0.0: /usr/lib/libcom_err.a: No such file or
  directory

I assume they provide /usr/lib/libcom_err.dylib.


yes ... well, indirectly, anyway ...

 <snip>
   >> finally, fyi:
 <snip>
   >>     % ls -al /usr/lib/libcom_err.dylib
   >>         lrwxr-xr-x  1 root wheel 54 May 10 09:40
   >>         /usr/lib/libcom_err.dylib ->
   >>         /System/Library/Frameworks/Kerberos.framework/Kerberos
   >>
   >>     % ls -al /System/Library/Frameworks/Kerberos.framework/Kerberos
   >>         lrwxr-xr-x  1 root wheel 25 May 10 09:41
   >>         /System/Library/Frameworks/Kerberos.framework/Kerberos ->
   >>         Versions/Current/Kerberos
   >>
>> % ls -al /System/Library/Frameworks/Kerberos.framework/Versions/Current/Kerberos
   >>         -rwxr-xr-x  1 root wheel 1759868 May 17 15:14
   >> /System/Library/Frameworks/Kerberos.framework/Versions/Current/Kerberos

Edit the makefile to refer
only to -lcom_err and not /usr/lib/libcom_err.a, and keep --with-com_err=/usr

since:
   ...
   powerpc-apple-darwin8-gcc-4.0.0: /usr/lib/libcom_err.a: No such file or
   directory
   make[1]: *** [sievec] Error 1
   make: *** [all] Error 1

i presume you specifically/just mean the SIEVE/Makefile, yes?  cuz:

   % grep -rln libcom_err.a .
       ./aclocal.m4
       ./autom4te.cache/output.0
       ./cmulocal/afs.m4
       ./cmulocal/sasl2.m4
       ./config.log
       ./config.status
       ./configure
       ./configure.in
       ./doc/changes.html
       ./doc/text/changes
       ./et/com_err.texinfo
       ./et/Makefile
       ./et/Makefile.in
       ./imap/Makefile
       ./master/Makefile
       ./notifyd/Makefile
       ./SIEVE/Makefile
       ./timsieved/Makefile


assuming (until you say otherwise) 'yes', then, after:

   ./configure \
   ... \
   --with-com_err=/usr

editing:

   =================================================
   (EDITOR) SIEVE/Makefile
   @49
       MAKEDEPEND = makedepend

IMAP_LIBS = -L/usr/local/cyrus-sasl/lib -lsasl2 -lfl -L/usr/local/berkeley-db/lib -ldb-4.3 -lssl -lcrypto
   --- IMAP_COM_ERR_LIBS = /usr/lib/libcom_err.a
   +++ IMAP_COM_ERR_LIBS = -lcom_err
IMAP_LIBS = -L/usr/local/cyrus-sasl/lib -lsasl2 -lfl -L/usr/local/berkeley-db/lib -ldb-4.3 -lssl -lcrypto
       LIBS = libsieve.a $(IMAP_LIBS) $(IMAP_COM_ERR_LIBS)
   =================================================

then:

   % make depend
   % make all

fails @:

   ...
   sievec.c
   gcc -L/usr/local/ssl/lib -L/usr/local/berkeley-db/lib
   -bind_at_load -ldl -L/usr/local/berkeley-db/lib -ldb
   -F/Library/Frameworks -framework SASL2 -o sievec sievec.o libsieve.a
   ../lib/libcyrus.a ../lib/libcyrus_min.a  libsieve.a
   -L/usr/local/cyrus-sasl/lib  -lsasl2  -lfl
   -L/usr/local/berkeley-db/lib  -ldb-4.3 -lssl -lcrypto  -lcom_err
   /usr/bin/ld: Undefined symbols:
   __et_list
   collect2: ld returned 1 exit status
   make[1]: *** [sievec] Error 1
   make: *** [all] Error 1

which, as b4, i'd gather stems from:

   >> ... the fact that et_list is not defined in libcom_err/com_err.h, i.e.:
   >>
   >>     % nm /usr/lib/libcom_err.dylib | grep et_list
   >>     % (<-- empty)
   >>
   >>     % grep et_list /usr/include/com_err.h
   >>     % (<-- empty)

fyi, as i'm googling to unnderstand this, and figure out what - if anything - changes re: kerberos under Tiger -- i'm finding an old thread at:

   <http://www.stacken.kth.se/lists/heimdal-discuss/2000-10/msg00064.html>

which at first glance may be relevant (is Tiger's Kerberos framework an MIT or Heimdal implementation? iirc, Panther was MIT's ...). dunno if its smoke or relevant, yet ...

cheers,

richard
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to