Can't compile Postfix

started at 31 May 2009 by surpher
  • surpher
    31 May 2009

    Hi.

    I'm banging my head into the keyboard, literally...
    I've tried different versions, 2.4.11, 2.5.7, 2.6.1,...
    I've followed all the documents here to compile mysql, apache, PHP and it seems to be working. But I'm completely stuck with postfix. SASL compiled without problems, pcre as well but postfix just won't go through.

    I've got a OS X 10.5.7, x86_64.

    Error that I get, no matter what source package I use:
    '
    ld warning: in /usr/local/mysql/lib/mysql/libmysqlclient.dylib, file is not of required architecture
    Undefined symbols:
    "_mysql_escape_string", referenced from:
    _dict_mysql_quote in libglobal.a(dict_mysql.o)
    "_mysql_real_escape_string", referenced from:
    _dict_mysql_quote in libglobal.a(dict_mysql.o)
    "_mysql_error", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_num_fields", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_fetch_row", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_num_rows", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_close", referenced from:
    _dict_mysql_event in libglobal.a(dict_mysql.o)
    _plmysql_down_host in libglobal.a(dict_mysql.o)
    _dict_mysql_close in libglobal.a(dict_mysql.o)
    "_mysql_query", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_real_connect", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_init", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_store_result", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    "_mysql_free_result", referenced from:
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    _dict_mysql_lookup in libglobal.a(dict_mysql.o)
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    make: *** [error] Error 1
    make: *** [update] Error 1
    '

  • surpher
    31 May 2009

    Pha, nevermind :/
    I should have been running the x86_64 ./configure :/

Reply

You must log in to post.