Subject: BIND 9.3.0 on Mac OS X
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 01/09/2005 10:57:32
I have a Mac OS X 10.3.7 system and pkgsrc from a couple of days ago. When
I tried to build BIND 9.3.0, this is what I got:
gcc -pipe -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress
-o .libs/libbind.3.0.7.dylib bsd/.libs/ftruncate.o
bsd/.libs/gettimeofday.o bsd/.libs/mktemp.o bsd/.libs/putenv.o
bsd/.libs/readv.o bsd/.libs/setenv.o bsd/.libs/setitimer.o
bsd/.libs/strcasecmp.o bsd/.libs/strdup.o bsd/.libs/strerror.o
bsd/.libs/strpbrk.o bsd/.libs/strtoul.o bsd/.libs/utimes.o
bsd/.libs/writev.o dst/.libs/dst_api.o dst/.libs/hmac_link.o
dst/.libs/md5_dgst.o dst/.libs/support.o inet/.libs/inet_addr.o
inet/.libs/inet_cidr_ntop.o inet/.libs/inet_cidr_pton.o
inet/.libs/inet_data.o inet/.libs/inet_lnaof.o inet/.libs/inet_makeaddr.o
inet/.libs/inet_net_ntop.o inet/.libs/inet_net_pton.o
inet/.libs/inet_neta.o inet/.libs/inet_netof.o inet/.libs/inet_network.o
inet/.libs/inet_ntoa.o inet/.libs/inet_ntop.o inet/.libs/inet_pton.o
inet/.libs/nsap_addr.o irs/.libs/gethostent_r.o irs/.libs/getnetgrent_r.o
irs/.libs/getprotoent_r.o irs/.libs/getservent_r.o irs/.libs/dns.o
irs/.libs/dns_ho.o irs/.libs/dns_nw.o irs/.libs/dns_pr.o
irs/.libs/dns_sv.o irs/.libs/gai_strerror.o irs/.libs/gen.o
irs/.libs/gen_ho.o irs/.libs/gen_ng.o irs/.libs/gen_nw.o
irs/.libs/gen_pr.o irs/.libs/gen_sv.o irs/.libs/getaddrinfo.o
irs/.libs/gethostent.o irs/.libs/getnameinfo.o irs/.libs/getnetent.o
irs/.libs/getnetent_r.o irs/.libs/getnetgrent.o irs/.libs/getprotoent.o
irs/.libs/getservent.o irs/.libs/hesiod.o irs/.libs/irp.o
irs/.libs/irp_ho.o irs/.libs/irp_ng.o irs/.libs/irp_nw.o
irs/.libs/irp_pr.o irs/.libs/irp_sv.o irs/.libs/irpmarshall.o
irs/.libs/irs_data.o irs/.libs/lcl.o irs/.libs/lcl_ho.o irs/.libs/lcl_ng.o
irs/.libs/lcl_nw.o irs/.libs/lcl_pr.o irs/.libs/lcl_sv.o irs/.libs/nis.o
irs/.libs/nul_ng.o irs/.libs/util.o isc/.libs/assertions.o
isc/.libs/base64.o isc/.libs/bitncmp.o isc/.libs/ctl_clnt.o
isc/.libs/ctl_p.o isc/.libs/ctl_srvr.o isc/.libs/ev_connects.o
isc/.libs/ev_files.o isc/.libs/ev_streams.o isc/.libs/ev_timers.o
isc/.libs/ev_waits.o isc/.libs/eventlib.o isc/.libs/heap.o isc/.libs/hex.o
isc/.libs/logging.o isc/.libs/memcluster.o isc/.libs/movefile.o
isc/.libs/tree.o nameser/.libs/ns_date.o nameser/.libs/ns_name.o
nameser/.libs/ns_netint.o nameser/.libs/ns_parse.o
nameser/.libs/ns_print.o nameser/.libs/ns_samedomain.o
nameser/.libs/ns_sign.o nameser/.libs/ns_ttl.o nameser/.libs/ns_verify.o
resolv/.libs/herror.o resolv/.libs/res_comp.o resolv/.libs/res_data.o
resolv/.libs/res_debug.o resolv/.libs/res_findzonecut.o
resolv/.libs/res_init.o resolv/.libs/res_mkquery.o
resolv/.libs/res_mkupdate.o resolv/.libs/res_query.o
resolv/.libs/res_send.o resolv/.libs/res_sendsigned.o
resolv/.libs/res_update.o
-L/Volumes/local/pkgsrc/net/bind9/work/.buildlink/lib -lpthread
-L/Volumes/local/pkgsrc/net/bind9/work/.buildlink/pkgsrc/net/bind9/work/.buildlink/lib
-install_name /usr/local/lib/libbind.3.dylib -Wl,-compatibility_version
-Wl,4 -Wl,-current_version -Wl,4.7
ld: warning -L: directory name
(/Volumes/local/pkgsrc/net/bind9/work/.buildlink/pkgsrc/net/bind9/work/.buildlink/lib)
does not exist
ld: warning -L: directory name
(/Volumes/local/pkgsrc/net/bind9/work/.buildlink/pkgsrc/net/bind9/work/.buildlink/pkgsrc/net/bind9/work/.buildlink/lib)
does not exist
ld: multiple definitions of symbol ___evOptMonoTime
isc/.libs/ev_connects.o definition of ___evOptMonoTime in section
(__DATA,__common)
isc/.libs/ev_files.o definition of ___evOptMonoTime in section
(__DATA,__common)
isc/.libs/ev_streams.o definition of ___evOptMonoTime in section
(__DATA,__common)
isc/.libs/ev_timers.o definition of ___evOptMonoTime in section
(__DATA,__common)
isc/.libs/ev_waits.o definition of ___evOptMonoTime in section
(__DATA,__common)
isc/.libs/eventlib.o definition of ___evOptMonoTime in section
(__DATA,__common)
/usr/bin/libtool: internal link edit command failed
*** Error code 1
Stop.
bmake: stopped in /Volumes/local/pkgsrc/net/bind9/work/bind-9.3.0/lib/bind
*** Error code 1
Stop.
bmake: stopped in /Volumes/local/pkgsrc/net/bind9/work/bind-9.3.0/lib
*** Error code 1
Stop.
bmake: stopped in /Volumes/local/pkgsrc/net/bind9/work/bind-9.3.0
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/net/bind9
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/net/bind9
It looks like the same problem that this person is having here:
http://readlist.com/lists/isc.org/bind9-users/0/2498.html
Anyone have a clue about what libtool is doing and how to make it happy?
Thanks,
John Klos