still can't intall POSTFX.. something missing?

started at 07 Jul 2007 by syzygy
  • syzygy
    07 Jul 2007

    Hi, folks.

    I'm sure this problem was alluded to in an earlier incarnation of the guide, but I'm struggling hard to get POSTFIX to compile. When I carry out the sudo make install, I get:

    /usr/bin/ld: Undefined symbols:
    _db_create
    _db_version
    collect2: ld returned 1 exit status
    make: *** [master] Error 1
    make: *** [update] Error 1

    Now, I've installed mysql-5.0.41-osx10.4 (as well as 33 and then 27 in other attempts) and carried out the library untarring and compilations as per the instructions.. and when I do a mysql_config it appears to look peachy:

           --cflags         [-I/usr/local/mysql/include/mysql -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk]
            --include        [-I/usr/local/mysql/include/mysql]
            --libs           [-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm]
            --libs_r         [-L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lm]
            --socket         [/tmp/mysql.sock]
            --port           [3306]
            --version        [5.0.41]
            --libmysqld-libs [-L/usr/local/mysql/lib/mysql -lmysqld -lz -lm]

    Try, try, try as I can, I can't get past this point. Please could someone tell me what I'm doing wrong - and, of course, what I should do right!

    Thanks in advance.

  • jlbrown
    31 Aug 2007

    I'm having the same problem syzyqy. Did you manage to get it working?

    I'm trying to upgrade from 2.3.4 to 2.4.5.

    I haven't upgraded my version of mysql yet. I just left it at 5.0.27.

    I'm using an intel mac.

    Thanks,

    James.

  • EricLeBaron
    31 Aug 2007

    http://www.security-express.com/archives/postfix/2002-01/1487.html
    Would it have something to do with the Berkeley DB version?
    I Googled with "/usr/bin/ld Undefined symbols _db_create".
    Also have a look at gatorparrots posting and testuser's answer on http://www.macfora.com/forum/archive/index.php/t-5985.html

Reply

You must log in to post.