1.8.x x86_64 mtr error
Ryan Schmidt
ryandesign at macports.org
Sun Aug 16 13:30:40 PDT 2009
On Aug 16, 2009, at 15:09, Scot Ballard wrote:
> Is anyone successful building mtr (x86_64) ?
>
> Thanks
>
>
>
> % sudo port install mtr
> Password:
> ---> Computing dependencies for mtr
> ---> Building mtr
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_m
> tr/work/mtr-0.75" && /usr/bin/make -j4 all " returned error 2
> Command output: /usr/bin/make all-recursive
> Making all in img
> make[2]: Nothing to be done for `all'.
> /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -Wno-pointer-sign -L/opt/
> local/lib -o mtr curses.o mtr.o net.o dns.o raw.o split.o
> display.o report.o getopt.o getopt1.o select.o -lm -ltermcap
> Undefined symbols:
> "_res_9_dn_expand", referenced from:
> _parserespacket in dns.o
> _parserespacket in dns.o
> _parserespacket in dns.o
> "_res_9_init", referenced from:
> _dns_open in dns.o
> "_res_9_mkquery", referenced from:
> _dorequest in dns.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [mtr] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
I have not tried, but the error looks similar to this one we had for
php5 on Snow Leopard:
http://trac.macports.org/ticket/19997
Perhaps mtr also needs -lresolv added.
More information about the macports-users
mailing list