[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:
- 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)
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-----
-----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-----
On 28.2.2013, at 13.16, Steffen Kaiser skdovecot@smail.inf.fh-brs.de wrote:
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 .
Don't usee SSL connections, so it won't load it? :)
Currently it's not possible to build the SSL stuff into the binary. I guess it wouldn't be difficult to change that..
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 28 Feb 2013, Timo Sirainen wrote:
On 28.2.2013, at 13.16, Steffen Kaiser skdovecot@smail.inf.fh-brs.de wrote:
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 .
Don't usee SSL connections, so it won't load it? :)
OK, I needed two tries to understand :-)
imaptest does not use SSL itself, its connections are clear text, but the dovecot library is loading the library nonetheless.
I have configured "dovecot-latest" with:
./configure --without-shared-libs --with-ssl=no
Now imaptest does not try to load libssl_iostream_openssl.so and does run happily when built with the non-installed "lastest" v2.2 instance.
Thanks,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUS9rg13r2wJMiz2NAQImQwgAkSNsRYB80SAtjCxIvvf0hdo82sFk4KMq rOMWCdORJnp64kZ1lamCeVkrkjTpRAdzQu0xyEaZvOv11rjZp2K/g/LloD5gqG+2 4OqokHGUM+emXnr+v8yN+ohTfuc0+YgFGU+kphcEGu1qveEdrWnG3qj4mj5hm9fR 3XfEhSo34eWsYWggPparAGLYY5Cx9K8nqvue6QbB25itQTXop70GmJKIRc1gNsOT B/KBpClmQn/ew6e1I/PIoc8TZx9IdKSPD2oIKfHAggxGXGWjR84/CUQgKnO6hKnB I9kRbt3Re33X7EKy0JCaVzLdfmBhXRzdAXuIiWRtKkgj4LJKy1LT4A== =zHGg -----END PGP SIGNATURE-----
On 28.2.2013, at 16.36, Steffen Kaiser skdovecot@smail.inf.fh-brs.de wrote:
When I build imaptest with an installed v2.2 instance, libssl_iostream_openssl.so is loaded from /usr/local/lib/dovecot .
Don't usee SSL connections, so it won't load it? :)
OK, I needed two tries to understand :-)
imaptest does not use SSL itself, its connections are clear text, but the dovecot library is loading the library nonetheless.
participants (2)
-
Steffen Kaiser
-
Timo Sirainen