Ticket #15512 (closed defect: fixed)
netatalk fails to build on Leopard
| Reported by: | gold@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Attempting to install netatalk on Leopard fails with the following errors:
ndefined symbols:
"_iconv_open", referenced from:
_atalk_iconv_open in libatalk.a(iconv.lo) _atalk_iconv_open in libatalk.a(iconv.lo)
"_iconv", referenced from:
_sys_iconv in libatalk.a(iconv.lo) _sys_iconv in libatalk.a(iconv.lo)
"_iconv_close", referenced from:
_atalk_iconv_close in libatalk.a(iconv.lo) _atalk_iconv_close in libatalk.a(iconv.lo) _atalk_iconv_close in libatalk.a(iconv.lo)
ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: * [getzones] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Warning: the following items did not execute (for netatalk): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
The attached patch fixes this by telling the configure script to look for libiconv in /opt/local. Also attached my /etc/pam.d/netatalk and /Library/LaunchDaemons/org.macports.netatalk.plist. I doubt either of them is optimal, but they work for me.

