Problem Upgrade Apache2 on MacPorts
I was trying to upgrade apache2 on my Macports but keep on getting these error messages which really annoy me;
Undefined symbols:
“_ap_ugly_hack”, referenced from:
_ap_ugly_hack$non_lazy_ptr in libmain.a(main.o)
“_ap_prelinked_module_symbols”, referenced from:
_ap_prelinked_module_symbols$non_lazy_ptr in libmain.a(core.o)
“_ap_prelinked_modules”, referenced from:
_ap_prelinked_modules$non_lazy_ptr in libmain.a(main.o)
_ap_prelinked_modules$non_lazy_ptr in libmain.a(config.o)
“_ap_http_input_filter_handle”, referenced from:
_ap_http_input_filter_handle$non_lazy_ptr in libmain.a(protocol.o)
“_ap_preloaded_modules”, referenced from:
_ap_preloaded_modules$non_lazy_ptr in libmain.a(config.o)
There are bug reports on MacPorts trac but it seem non of it giving the solution to solve the problem, so I have to do some workaround to make the upgrade works.
Try your luck to uninstall ncurses and ncursesw, re-install again, and also uninstall gawk from your macports. After that all have been done, do these
sudo port -v clean apache2 # clean apache2 port
sudo port -v install apache2 +darwin_9 # compile with darwin_9 variants
Post the comment and see what’s your outcome.
Related posts:
- postgresql82-server compile error on Apple Leopard with Macports 1.5 I wasn’t able to compile postgresql82-server on my machine, it’s...
- OS X Lion Macports OS X Lion Macports, Can I upgrade from Snow Leopard?...
- Install MySQL5 Server on Apple Mac Leopard with MacPorts Previously I wrote a post on “installing postgresql 8.2 on...
- installing postgresql 8.2 on Leopard with macports postgresql! one of my favorite high performance open source db,...
- Install MySQL5 on Mac OSX With Darwin Port Before installing MySQL5, please be sure you have Darwin Port...
- How do I Start Application Services with launchctl When Apple Mac Leopard Boot Up If you have MySQL, PostgreSQL, Apache2 or other application installed...
- Upgrade to php52 on FreeBSD By default, after portsnap to latest FreeBSD port tree, it...
- MySQL Cannot Connect with PHP in OSX I think some of you might have problem connecting to...
- TextMate: Creating New Project in Shell Instantly Been using TextMate recently, really loving it like hell. There...
- Cacti Spine Source Installation Error on FreeBSD Just noticed FreeBSD’s port still using old version of spine,...
March 19th, 2008 at 5:51 am
the same here
September 2nd, 2008 at 11:34 am
SUCCESS !!!!
I just skipped the ncurses/ncursesw, and just cleaned and recompiled with +darwin_9
thanks !!!!