Hi
I've been running into snag after snag trying to install these mysql user-defined functions (particularly the median function). My unix-fu is weak (but I'm good at following directions), so I'm not sure if my attempts are even in the right ballpark, but countless google searches haven't helped much.
These instructions cover Windows and Linux, but when I try the Linux method, I run to the fact that Apple's compiler doesn't support shared libraries (or something like that). The only other clues I have to go on are here and here.
But when I try them, I end up with error messages in Terminal:
and
respectively.
Anyone out here have a clue what's going on and can put together a hand-holding guide on how I can get this function installed?
I'm running Leopard and I have the developer tools installed. I'm hoping to be able to do this through MAMP, but I can use the built-in server if necessary.
Much obliged.
I've been running into snag after snag trying to install these mysql user-defined functions (particularly the median function). My unix-fu is weak (but I'm good at following directions), so I'm not sure if my attempts are even in the right ballpark, but countless google searches haven't helped much.
These instructions cover Windows and Linux, but when I try the Linux method, I run to the fact that Apple's compiler doesn't support shared libraries (or something like that). The only other clues I have to go on are here and here.
But when I try them, I end up with error messages in Terminal:
Code:
Undefined symbols for architecture i386:
"__Znwm", referenced from:
_median_init in udf_median.o
"___gxx_personality_v0", referenced from:
___gxx_personality_v0$non_lazy_ptr in udf_median.o
"__ZdlPv", referenced from:
_median_deinit in udf_median.o
"_realloc", referenced from:
_median_add in udf_median.o
"_malloc", referenced from:
_median_reset in udf_median.o
"_qsort", referenced from:
_median in udf_median.o
"_free", referenced from:
_median_deinit in udf_median.o
_median_reset in udf_median.o
"_memcpy", referenced from:
_median_init in udf_median.o
ld: symbol(s) not found for architecture i386
libtool: internal link edit command failed
and
Code:
Undefined symbols:
"operator new(unsigned long)", referenced from:
_median_init in udf_median.o
"___gxx_personality_v0", referenced from:
___gxx_personality_v0$non_lazy_ptr in udf_median.o
"operator delete(void*)", referenced from:
_median_deinit in udf_median.o
respectively.
Anyone out here have a clue what's going on and can put together a hand-holding guide on how I can get this function installed?
I'm running Leopard and I have the developer tools installed. I'm hoping to be able to do this through MAMP, but I can use the built-in server if necessary.
Much obliged.