Steffen Kaiser
2013-Feb-28 11:00 UTC
[Dovecot] Imaptest: Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, is it possible to build imaptest ( http://imapwiki.org/ImapTest ) that the binary has no external dependencies? I followed the Install page: 1) downloaded both "latest" tgz 2) cd dovecot-* && ./configure --without-shared-libs && make 3) cd ../imaptest-* && ./configure --without-shared-libs \ - --with-dovecot=$(dirname $(pwd))/dovecot-20130221 && make 4) strace -e open -f -o log src/imaptest Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory 5) cat log 4534 open("/etc/ld.so.cache", O_RDONLY) = 3 4534 open("/lib/libdl.so.2", O_RDONLY) = 3 4534 open("/lib/librt.so.1", O_RDONLY) = 3 4534 open("/lib/libc.so.6", O_RDONLY) = 3 4534 open("/lib/libpthread.so.0", O_RDONLY) = 3 4534 open("/usr/local/lib/dovecot", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) Kind regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUS84zV3r2wJMiz2NAQInNwf/bJmjQaBxzjr/dmVDMwN2ptBvm5mFmUFy YYVwdQMfr1oDf8Jr9XIuag4gYCrgdzIxppUo+7scu+F72dCEF7uNvh2h1EdVhY+i Dy+z8fWLwyl332dGsL1XW93wtY8CJ/ybd34fEh/15M7uKaWYioocp2kyb8uZ4CPJ faIJ8Xaqpem8Rx1Erthkw+YKrVqMQiO7cnPgsCSdoxCFTFU3wJW7+mq2DVjyUUqv bIVgH8RSF79u5xKa54YAZBxW/KaQtkhcCWZAzEQFxmUl6qvOiAs/5/HmYDeftihS jp0ApB05mdsPQ/hCYd9f9Vt8Wyk5b4/QEeh4rzGeqOPn3boo7dp9Nw==D56V -----END PGP SIGNATURE-----
Steffen Kaiser
2013-Feb-28 12:16 UTC
[Dovecot] Imaptest: Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 28 Feb 2013, Steffen Kaiser wrote:> is it possible to build imaptest ( http://imapwiki.org/ImapTest ) that the > binary has no external dependencies?I forgot to mention why I ask :-S The installation page says that no "make install" is required, therefore to rely on /usr/local/lib/dovecot is wrong. When I build imaptest with an installed v2.2 instance, libssl_iostream_openssl.so is loaded from /usr/local/lib/dovecot .> I followed the Install page: > > 1) downloaded both "latest" tgz > 2) cd dovecot-* && ./configure --without-shared-libs && make > 3) cd ../imaptest-* && ./configure --without-shared-libs \ > --with-dovecot=$(dirname $(pwd))/dovecot-20130221 && make > 4) strace -e open -f -o log src/imaptest > Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory > 5) cat log > 4534 open("/etc/ld.so.cache", O_RDONLY) = 3 > 4534 open("/lib/libdl.so.2", O_RDONLY) = 3 > 4534 open("/lib/librt.so.1", O_RDONLY) = 3 > 4534 open("/lib/libc.so.6", O_RDONLY) = 3 > 4534 open("/lib/libpthread.so.0", O_RDONLY) = 3 > 4534 open("/usr/local/lib/dovecot", > O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or > directory)- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUS9Kll3r2wJMiz2NAQJWSwf/dVB9Eb4y/mVKEIprpUOmWnCRRbK8Ykzs wNiHKmZALrGT+kn1I5QqxTcnqUg51S/PO14m00x47fErsop7WTTk0TiZsyvR4vdS l+YMZ4W8aiPirpjJV6l3i/YP/dLXYNtJKd6kjSFMeghGeFGgYoM7JPhLT+qOFy29 Kf+3dqiNTqlW/zYtV47w1KM4LqUVZefDDcMfrlPYaGjwAoGtZfM2K/W8EghuV3S3 5PdIAXCwQV82JBYtpB1yb9okgBEXnWrqyaShV1XsAaWAch8NS/IEnAUF61a2pVeB +LjLvpg6q4EyDOmteie58NqqG/TzzR/schbVZ/IdvqFxliLfsTfhhw==C5VA -----END PGP SIGNATURE-----