-----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:
- downloaded both "latest" tgz
- cd dovecot-* && ./configure --without-shared-libs && make
- cd ../imaptest-* && ./configure --without-shared-libs
--with-dovecot=$(dirname $(pwd))/dovecot-20130221 && make- strace -e open -f -o log src/imaptest Fatal: opendir(/usr/local/lib/dovecot) failed: No such file or directory
- 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-----