OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Catalin Boiangiu (catalinboiangiu_at_SoftHome.net)
Date: Sun Nov 03 2002 - 04:26:06 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello
    I am trying to install Postfix, MySQL, Cyrus IMAP, Web-cyradm on a
    Turbolinux 7.0 Server (i386 platform). I have reached the Postfix
    installation point (using postfix-1.1.11-20021015.tar.gz) and I am not able
    to make it use the Berkeley DB that it is installed on my OS.
    I've got db3 packages installed on this TLS 7.0 as follows:
    For the db3 3.1.17-6 package
    /usr/lib/libdb-3.1.so
    /usr/lib/libdb-3.so -> libdb-3.1.so
    For the db3-devel 3.1.17-6 package
    /usr/include/db3
    /usr/include/db3/db.h
    /usr/include/db3/db_185.h
    /usr/include/db3/db_cxx.h
    /usr/lib/libdb-3.1.a
    /usr/lib/libdb-3.1.la
    usr/lib/libdb_cxx-3.1.a
    /usr/lib/libdb_cxx-3.1.la
    /usr/lib/libdb_cxx.so -> libdb_cxx-3.1.so
    /usr/lib/libdb_java-3.1.la
    /usr/lib/libdb_java.so -> libdb_java-3.1.so
    /usr/lib/libdb_tcl-3.1.la
    /usr/lib/libdb_tcl.so -> libdb_tcl-3.1.so
    I also have the other packages needed for those two to work but I didn't
    listed them here.
    To compile postfix I tried this command first:
    make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql
    -DUSE_SASL_AUTH \
    -I/usr/include/sasl' 'AUXLIBS=-L/usr/local/mysql/lib/mysql \
    -lmysqlclient -lz -lm -L/usr/lib -lsasl2'

    This got me the following error:
    /usr/bin/ld: cannot find -ldb
    collect2: ld returned 1 exit status
    make: **** [master] Error 1
    make: **** [update] Error 1

    I realized I was wrong and read the README_FILES/DB_README and then tried
    this command
    make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql
    -DUSE_SASL_AUTH \
    -I/usr/include/sasl' 'AUXLIBS=-L/usr/local/mysql/lib/mysql \
    -lmysqlclient -lz -lm -L/usr/lib -lsasl2' 'CCARGS=-I/usr/include/db3'
    'AUXLIBS=-ldb3'

    The error persisted and the only thing that changed was that I've got -lbd3
    instead -lbd
    /usr/bin/ld: cannot find -ldb3
    collect2: ld returned 1 exit status
    make: **** [master] Error 1
    make: **** [update] Error 1
    I have read the DB_README file several times from top to bottom but I
    really don't know how to change that command to make it work. I don't
    understand how to point postfix to the correct direction with the configure
    options.
    I tried to read more about it on the Net but didn't have any more luck. All
    clues redirected me to the DB_REAMDE.
    It has become obvious for me that I simply don't know how to write down the
    correct command that's why I am humble asking for your help if possible.
    Any tips or ideas will be greatly appreciated.
    Thank you in advance for your time!
    Most gratefully yours,
    Catalin Boiangiu
    Bucharest, Romania
    Email: catalinboiangiuSoftHome.net

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users