Jump to content

Truth

Members
  • Posts

    2
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About Truth

  • Birthday 01/01/1

Truth's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Hello, I was trying to get a working mangos server using the tutorial on the wiki (http://getmangos.eu/wiki/Compile_MaNGOS_On_Mac_OS_X) Everything went fine until the compilation step. When I write 'make -j 2', it goes fine until I get this error message: ld: warning: directory '/usr/local/lib' following -L not found ld: warning: in /usr/local/mysql/lib/libmysqlclient_r.dylib, file was built for i386 which is not the architecture being linked (x86_64) ld: warning: in /usr/local/mysql/lib/libmygcc.a, file was built for unsupported file format which is not the architecture being linked (x86_64) ld: warning: in /usr/local/mysql/lib/libz.a, file was built for unsupported file format which is not the architecture being linked (x86_64) Undefined symbols: "_mysql_close", referenced from: DatabaseMysql::~DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::~DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_server_init", referenced from: DatabaseMysql::DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) "_mysql_real_escape_string", referenced from: DatabaseMysql::escape_string(char*, char const*, unsigned long)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_get_client_info", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_query", referenced from: DatabaseMysql::_TransactionCmd(char const*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::DirectExecute(char const*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_thread_end", referenced from: DatabaseMysql::ThreadEnd() in libmangosdatabase.a(DatabaseMysql.o) SqlDelayThread::run() in libmangosdatabase.a(SqlDelayThread.o) "_mysql_get_server_info", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_error", referenced from: DatabaseMysql::_TransactionCmd(char const*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::DirectExecute(char const*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_free_result", referenced from: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) QueryResultMysql::EndQuery() in libmangosdatabase.a(QueryResultMysql.o) "_mysql_thread_safe", referenced from: DatabaseMysql::DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) "_mysql_options", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_autocommit", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_fetch_fields", referenced from: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_field_count", referenced from: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_real_connect", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_init", referenced from: DatabaseMysql::Initialize(char const*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_fetch_row", referenced from: QueryResultMysql::NextRow() in libmangosdatabase.a(QueryResultMysql.o) "_mysql_thread_init", referenced from: DatabaseMysql::ThreadStart() in libmangosdatabase.a(DatabaseMysql.o) SqlDelayThread::run() in libmangosdatabase.a(SqlDelayThread.o) "_mysql_affected_rows", referenced from: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_store_result", referenced from: DatabaseMysql::_Query(char const*, st_mysql_res**, st_mysql_field**, unsigned long*, unsigned int*)in libmangosdatabase.a(DatabaseMysql.o) "_mysql_server_end", referenced from: DatabaseMysql::~DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) DatabaseMysql::~DatabaseMysql()in libmangosdatabase.a(DatabaseMysql.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [mangos-realmd] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 What should I do? Best regards, A.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use