make error

etherman
2006-01-06
2013-05-01
  • etherman
    etherman
    2006-01-06

    I'm trying to install mbd tools 0.5 on UNIX (Mac OS X 3.9)

    ...having glib 2.6 installed...

    I get an error during make:

    Making install in src
    Making install in libmdb
    /bin/sh ../../libtool --mode=link gcc  -g -O2 -DSQL   -o libmdb.la -rpath /usr/local/lib  catalog.lo mem.lo file.lo kkd.lo table.lo data.lo dump.lo backend.lo money.lo sargs.lo index.lo like.lo write.lo stats.lo  -L/usr/local/lib -lglib-2.0 -lintl -liconv 
    rm -fr .libs/libmdb.la .libs/libmdb.* .libs/libmdb.*
    gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libmdb.0.0.0.dylib  catalog.lo mem.lo file.lo kkd.lo table.lo data.lo dump.lo backend.lo money.lo sargs.lo index.lo like.lo write.lo stats.lo  -L/usr/lib -L/usr/local/lib -lglib-2.0 -lintl -liconv -lc -install_name  /usr/local/lib/libmdb.0.dylib -compatibility_version 1 -current_version 1.0
    ld: multiple definitions of symbol _mdb_backends
    catalog.lo definition of _mdb_backends in section (__DATA,__common)
    mem.lo definition of _mdb_backends in section (__DATA,__common)
    file.lo definition of _mdb_backends in section (__DATA,__common)
    kkd.lo definition of _mdb_backends in section (__DATA,__common)
    table.lo definition of _mdb_backends in section (__DATA,__common)
    data.lo definition of _mdb_backends in section (__DATA,__common)
    backend.lo definition of _mdb_backends in section (__DATA,__common)
    money.lo definition of _mdb_backends in section (__DATA,__common)
    sargs.lo definition of _mdb_backends in section (__DATA,__common)
    index.lo definition of _mdb_backends in section (__DATA,__common)
    write.lo definition of _mdb_backends in section (__DATA,__common)
    stats.lo definition of _mdb_backends in section (__DATA,__common)
    ld: warning multiple definitions of symbol _locale_charset
    /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
    /usr/lib/libintl.dylib(localcharset.o) definition of _locale_charset
    /usr/bin/libtool: internal link edit command failed
    make[2]: *** [libmdb.la] Error 1
    make[1]: *** [install-recursive] Error 1
    make: *** [install-recursive] Error 1

    - - -

    Anyone know anyhting about this issue?