[mythtv-users] OS X MySQL build fails

Matt Onan conanymous at gmail.com
Tue Jan 22 02:10:05 UTC 2008

I'm trying to build MythTV by following the "Myth on Mac OS X" wiki page
(awesome so far!) but get stuck at the MySQL step. I'm running this on OS X
Leopard (10.5) on a MacBook Pro, gcc 4.0.1 from Apple's Xcode Tools package,
and MySQL 4.1.22. I get the following error:

Making all in client
/bin/sh ../libtool --preserve-dup-deps --tag=CXX --mode=link g++  -O3
-DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti
-DIGNORE_SIGHUP_SIGQUIT  -no-undefined -Wl,-prebind,-seg1addr,0xC2000000 -o
mysql  mysql.o readline.o sql_string.o completion_hash.o
../cmd-line-utils/libedit/libedit.a -lncurses ../libmysql/libmysqlclient.la
-lm   -lz
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti
-DIGNORE_SIGHUP_SIGQUIT -Wl,-prebind -Wl,-seg1addr -Wl,0xC2000000 -o
.libs/mysql mysql.o readline.o sql_string.o completion_hash.o
-Wl,-bind_at_load  ../cmd-line-utils/libedit/libedit.a -lncurses
../libmysql/.libs/libmysqlclient.dylib -lm -lz
ld: image too large: address can't fit in 31-bit r_address field in
_charset_info from mysql.o
collect2: ld returned 1 exit status

Didn't see any similar problems in the mailing list archives or a Google
search, any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080121/92e5658d/attachment-0001.htm 

More information about the mythtv-users mailing list