MySQL on Max OS X.2
am 27.08.2002 08:40:17 von Aaron Jensen
Just installed Mac OS X.2. I am now unable to connect to my server.
When I do, I get the following message(s):
dyld: mysql Undefined symbols:
mysql undefined reference to _BC expected to be defined in
/usr/lib/libSystem.B.dylib
mysql undefined reference to _PC expected to be defined in
/usr/lib/libSystem.B.dylib
mysql undefined reference to _UP expected to be defined in
/usr/lib/libSystem.B.dylib
Trace/BPT trap
This happens under both versions 3.23.47 and 3.23.52.
How-To-Repeat:
1) Under Mac OS X.1, install either version 3.23.47 or 3.23.52 of MySQL.
2) Install Mac OS X.2.
3) Make sure the MySQL server daemon is running.
4) Try to connect to the database.
As an interesting side note, I thought that if a did a recompile of the
server, I might get a properly running server. Version 3.23.52 doesn't
compile under Mac OS X.2. When
I then run make, the following error occurs (for brevities sake, I am
showing the output from my second execution of the make command so as
only to show the part that failed):
make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in Docs
make[2]: Nothing to be done for `all'.
Making all in readline
make[2]: Nothing to be done for `all'.
Making all in libmysql
make[2]: Nothing to be done for `all'.
Making all in client
/bin/sh ../libtool --mode=link g++ -O3 -DDBUG_OFF
-fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp
-DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
-DSIGNALS_DONT_BREAK_READ -o mysql mysql.o readline.o sql_string.o
completion_hash.o ../readline/libreadline.a
.../libmysql/libmysqlclient.la -lz -lm
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti
-traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE
-DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -o mysql mysql.o
readline.o sql_string.o completion_hash.o ../readline/libreadline.a
.../libmysql/.libs/libmysqlclient.a -lz -lm -lz -lm
/usr/bin/ld: Undefined symbols:
_tgoto
_tputs
_tgetent
_tgetflag
_tgetnum
_tgetstr
make[2]: *** [mysql] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
I am using the following version of g++:
shell> g++ -v
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-937.2, based on gcc version 2.95.2
19991024 (release)
How-To-Repeat:
1) Install Mac OS X.2.
2) Download version 3.23.52 of MySQL.
3) Follow the install instructions given in the documentation.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Aaron Jensen
aaron@proseweb.com
Visual Prose Web Solutions
www.proseweb.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------------------------------------ ---------
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 bugs-thread12414@lists.mysql.com
To unsubscribe, e-mail
Re: MySQL on Max OS X.2
am 30.08.2002 14:45:33 von Sinisa Milivojevic
Aaron Jensen writes:
> Just installed Mac OS X.2. I am now unable to connect to my server.
> When I do, I get the following message(s):
>
> dyld: mysql Undefined symbols:
> mysql undefined reference to _BC expected to be defined in
> /usr/lib/libSystem.B.dylib
> mysql undefined reference to _PC expected to be defined in
> /usr/lib/libSystem.B.dylib
> mysql undefined reference to _UP expected to be defined in
> /usr/lib/libSystem.B.dylib
> Trace/BPT trap
>
>
[skip]
>
> How-To-Repeat:
> 1) Install Mac OS X.2.
> 2) Download version 3.23.52 of MySQL.
> 3) Follow the install instructions given in the documentation.
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Aaron Jensen
> aaron@proseweb.com
> Visual Prose Web Solutions
> www.proseweb.com
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Hi!
Our recent experiences has shown that we need to build a separate set
of binaries for 10.2.
We do not yet have 10.2 ourselves, but once we do , we shall prepare
binaries for it too.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
------------------------------------------------------------ ---------
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 bugs-thread12444@lists.mysql.com
To unsubscribe, e-mail
MySQL on Max OS X.2
am 02.09.2002 18:47:48 von Michael Widenius
Hi!
>>>>> "Aaron" == Aaron Jensen writes:
Aaron> Just installed Mac OS X.2. I am now unable to connect to my server.
Aaron> When I do, I get the following message(s):
Sinisa did alrady answer this one.
Aaron> How-To-Repeat:
Aaron> As an interesting side note, I thought that if a did a recompile of the
Aaron> server, I might get a properly running server. Version 3.23.52 doesn't
Aaron> compile under Mac OS X.2. When
Aaron> I then run make, the following error occurs (for brevities sake, I am
Aaron> showing the output from my second execution of the make command so as
Aaron> only to show the part that failed):
Aaron> /bin/sh ../libtool --mode=link g++ -O3 -DDBUG_OFF
Aaron> -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp
Aaron> -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE
Aaron> -DSIGNALS_DONT_BREAK_READ -o mysql mysql.o readline.o sql_string.o
Aaron> completion_hash.o ../readline/libreadline.a
Aaron> ../libmysql/libmysqlclient.la -lz -lm
Aaron> g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti
Aaron> -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE
Aaron> -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -o mysql mysql.o
Aaron> readline.o sql_string.o completion_hash.o ../readline/libreadline.a
Aaron> ../libmysql/.libs/libmysqlclient.a -lz -lm -lz -lm
Aaron> /usr/bin/ld: Undefined symbols:
Aaron> _tgoto
Aaron> _tputs
Aaron> _tgetent
Aaron> _tgetflag
Aaron> _tgetnum
Aaron> _tgetstr
The above means that configure didn't find a curses library to use.
On MacOS X.1 the library is /usr/lib/libcurses.dylib
In Mac OS X.1 the above link line works. It means that somehow this
OS automaticly includes libcurses into the binary.
I checked our configure script and on Mac OS X.1 we automaticly disabled
the detection of the curses library as this was not needed.
Some ways to solve this (temporarly until we can get access to a Mac
OS X.2 system and test this ourselves):
Do one of the following:
- Remove from configure.in the row:
with_named_curses=""
(you can find this under the *darwin*) switch)
- Do 'make -k', which will compile all binaries except the 'mysql'
command client. You should be able to start the server and connect
to it with some of the other client programs.
You should after this be able to compile the mysql by editing the
g++ command line above and add -lcurses after libreadline.a
If the first option works, please email us and we will add a detection
of this in configure.in
To do this, I would also need to know the result from the following
command:
grep SYSTEM_TYPE config.status
On Mac OS X.1 I get:
s,@SYSTEM_TYPE@,apple-darwin5.3,;t t
${ac_dA}SYSTEM_TYPE${ac_dB}SYSTEM_TYPE${ac_dC}"apple-darwin5 .3"${ac_dD}
${ac_uA}SYSTEM_TYPE${ac_uB}SYSTEM_TYPE${ac_uC}"apple-darwin5 .3"${ac_uD}
Regards,
Monty
--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Michael Widenius
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO
/_/ /_/\_, /___/\___\_\___/ Helsinki, Finland
<___/ www.mysql.com
------------------------------------------------------------ ---------
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 bugs-thread12467@lists.mysql.com
To unsubscribe, e-mail