Le Saturday 04 July 2009 14:13:15 Laurent HENRY (EHESS/CRI), vous avez écrit : > Le Sam 4 juillet 2009 14:00, [email protected] a écrit : > > Le Saturday 04 July 2009 11:45:26 Laurent HENRY (EHESS/CRI), vous avez > > > > écrit : > >> Bonjour, > >> Je suis à la recherche d'un peu d'aide concernant un sendmail sur une > >> opensuse 11.1 x64. > >> > >> J'ai un sendmail qui tourne sur cette machine. > >> > >> Quand j'essaye de recompiler la mailertable, j'obtiens: > >> smtp2a:/etc/mail # make > >> Rebuilding /etc/mail/mailertable.db. > >> makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable > >> makemap: Need to recompile with -DNEWDB for hash support > >> make: *** [/etc/mail/mailertable.db] Erreur 73 > >> > >> ou encore: > >> smtp2a:/etc/mail # makemap hash mailertable.db < mailertable > >> makemap: Need to recompile with -DNEWDB for hash support > >> > >> Je ne comprends pas car sur d'autres serveurs, a priori identiques, je > >> ne > >> rencontre pas ce soucis. > >> > >> Dans mon sendmail.mc: > >> FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl > >> > >> Ce qui donne dans le sendmail.cf > >> Kmailertable hash -o /etc/mail/mailertable.db > >> > >> > >> Mon sendmail est celui de la distribution: > >> smtp2a:/etc/mail # rpm -qa|grep sendmail > >> sendmail-devel-8.14.3-50.9 > >> sendmail-8.14.3-50.9 > >> > >> En cherchant ce probleme sur google, j'ai vu que cela pouvait etre un > >> probleme avec la libdb qui pourtant est bien là: > >> smtp2a:/etc/mail # locate libdb > >> (...) > >> /usr/lib64/libdb-4.5.a > >> /usr/lib64/libdb-4.5.so > >> /usr/lib64/libdb-4.so > >> /usr/lib64/libdb.a > >> /usr/lib64/libdb.so > >> > >> > >> Ou pourrais-je chercher ? (Sachant que je ne souhaite pas (re)compiler > >> sendmail, la version rpm me va) > >> > >> Merci. > > > > Salut, > > > > Hélas je suis partis de Sendmail pour Exim ( il y a longtemps maintenant > > ). > > Pour ce que je me rappel, la construction de la table avec Berkeley DB en > > Hash > > me semble correcte et "makemap" de devrait pas se plaindre. > > Enfin, si "makemap" se plaignait de la lib "libdb-4.5.so", alors Sendmail > > aussi et il ne pourrait plus courir... > > > > Peut-être avec "ldd": > > % ldd /usr/sbin/makemap > > > > Bonne continuation. > > -- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > Oui, c'est vers cette piste que je me suis orienté aussi. > C'est incompréhensible pour moi: > Sur cette machine: > smtp:~ # cat /etc/SuSE-release ; uname -a > openSUSE 11.1 (x86_64) > VERSION = 11.1 > Linux smtp 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 x86_64 > x86_64 x86_64 GNU/Linux > smtp:~ # rpm -qa|grep sendmail > sendmail-devel-8.14.3-50.9 > sendmail-8.14.3-50.9 > smtp:~ # ldd /usr/sbin/makemap > linux-vdso.so.1 => (0x00007fff769fe000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f0e6e54b000) > libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007f0e6e2fd000) > libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f0e6df80000) > libc.so.6 => /lib64/libc.so.6 (0x00007f0e6dc27000) > /lib64/ld-linux-x86-64.so.2 (0x00007f0e6e74f000) > libz.so.1 => /lib64/libz.so.1 (0x00007f0e6da11000) > > > Sur une autre qui fonctionne correctement: > smtp2:~ # cat /etc/SuSE-release ;uname -a > openSUSE 11.1 (x86_64) > VERSION = 11.1 > Linux smtp2 2.6.27.23-0.1-xen #1 SMP 2009-05-26 17:02:05 -0400 x86_64 > x86_64 x86_64 GNU/Linux > smtp2:~ # rpm -qa|grep sendmail > sendmail-devel-8.14.3-50.9 > sendmail-8.14.3-50.9 > smtp2:~ # ldd /usr/sbin/makemap > linux-vdso.so.1 => (0x00007fff65dff000) > libdb-4.5.so => /usr/lib64/libdb-4.5.so (0x00007f605d6f1000) > libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007f605d4ad000) > liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f605d29d000) > libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007f605d04f000) > libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f605ccd2000) > libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f605cab7000) > libc.so.6 => /lib64/libc.so.6 (0x00007f605c75e000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f605c542000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f605c33e000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f605c127000) > libz.so.1 => /lib64/libz.so.1 (0x00007f605bf11000) > /lib64/ld-linux-x86-64.so.2 (0x00007f605da29000) > > Effectivement, il manque libdb, entre autre. Comment est-ce possible ?
Il semblerait que "makemap" ( du Tux récalcitrant ) ne soit pas compilé avec le support Berkeley DB => libdb.so ni OpenSSL => libssl.so ni libpthread.so ?? Étrange. Tu peux télécharger le rpm "sendmail-8.14.3-50.9.x86_64.rpm" puis le décompresser avec "rpm2cpio " et "cpio" pour comparer: % cd ~ % mkdir -p sendmail_rpm % cd sendmail_rpm % rpm2cpio sendmail-8.14.3-50.9.x86_64.rpm | cpio -idvd % ldd usr/sbin/makemap Étrange... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
