>Description:
MySQL fails to make under Mac OSX. During the make process
numerous errors are displayed, but are generally ignored until I start
recieving these errors:
/usr/bin/ld: multiple definitions of symbol _optarg
/usr/lib/libcurses.dylib(getopt.o) definition of _optarg
../libmysql/.libs/libmysqlclient.a(getopt.o) definition of _optarg in
section (__DATA,__data)
I get several of these, for values such as _opterrr, _optind, _optopt.
With it finally ending with:
make[2]: *** [mysql] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
>How-To-Repeat:
Type following at prompt:
./configure --enable-assembler --with-mysqld-user=mysql
--host=powerpc-apple-macos
make
>Fix:
>Submitter-Id:
>Originator:
>Organization:
>MySQL support: none
>Synopsis: Cannot successfully build MySQL on OSX
>Severity: non-critical
>Priority: low
>Category: mysql
>Class: support
>Release: mysql-3.23.42 (Source distribution)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Darwin betaserver 1.3.3 Darwin Kernel Version 1.3.3: Fri May 4
13:46:54 P\
DT 2001; root:xnu/xnu-124.8.obj~1/RELEASE_PPC Power Macintosh powerpc
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/cc
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxr-xr-x 1 root wheel 15 Sep 20 11:57 /usr/lib/libc.dylib ->
libSystem.dylib
Configure command: ./configure --with-unix-socket-
path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes
--without-perl --enable-thread-safe-client --with-berkeley-db
--with-innodb
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php