Aki Tuomi
2019-Dec-15 12:06 UTC
Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
We provide rpm packages for centos 6&7 at https://repo.dovecot.org if you
want to try them?
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 15/12/2019 13:01 Mart Pirita <
<a
href="mailto:mart@e-positive.ee">mart@e-positive.ee</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi,
</div>
<div>
<br>
</div>
<div>
For some reason I've never been able to build x64 dovecot rpm package,
</div>
<div>
no matter how I try, I'm still getting lib64 errors, first tried few
</div>
<div>
years on centos 5, ok I know this is old distro, then few years tried
</div>
<div>
with centos 6 (and wrote here also - CentOS x64 compilation fails),
</div>
<div>
supported distro, no luck, now installed centos 7 and still no luck, so
</div>
<div>
seems it's not about centos or rpm version.
</div>
<div>
<br>
</div>
<div>
So I'm using option "rpmbuild -ba --target=i686
dovecot2.3.spec" to
</div>
<div>
build it, and it works but I'd still like to build x64 version. Why
</div>
<div>
libtool tries to install libdcrypt_openssl.la only instead
</div>
<div>
/usr/lib/dovecot into /usr/lib64/dovecot? . But as I can compile fine
</div>
<div>
postfix etc other openssl used app rpm -s, then is this some dovecot bug
</div>
<div>
or what am I missing?
</div>
<div>
<br>
</div>
<div>
Error:
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot'
</div>
<div>
/bin/sh ../../libtool --mode=install /usr/bin/install -c
</div>
<div>
libssl_iostream_openssl.la
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot'
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.so
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.so
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.lai
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.la
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.a
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: install: chmod 644
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: install: ranlib
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: warning: remember to run 'libtool --finish
/usr/lib/dovecot'
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot'
</div>
<div>
/usr/bin/install -c -m 644 iostream-openssl.h iostream-ssl.h
</div>
<div>
iostream-ssl-private.h iostream-ssl-test.h
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot'
</div>
<div>
make[3]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream'
</div>
<div>
make[2]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream'
</div>
<div>
Making install in lib-dcrypt
</div>
<div>
make[2]: Entering directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[3]: Entering directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot'
</div>
<div>
/bin/sh ../../libtool --mode=install /usr/bin/install -c
</div>
<div>
libdcrypt_openssl.la
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot'
</div>
<div>
libtool: error: error: cannot install 'libdcrypt_openssl.la' to a
</div>
<div>
directory not ending in /usr/lib/dovecot
</div>
<div>
make[3]: *** [install-pkglibLTLIBRARIES] Error 1
</div>
<div>
make[3]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[2]: *** [install-am] Error 2
</div>
<div>
make[2]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[1]: *** [install-recursive] Error 1
</div>
<div>
make[1]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src'
</div>
<div>
make: *** [install-recursive] Error 1
</div>
<div>
error: Bad exit status from /var/tmp/rpm-tmp.EVWbif (%install)
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Options:
</div>
<div>
./configure \
</div>
<div>
--prefix=/usr \
</div>
<div>
--with-ssl=openssl \
</div>
<div>
--with-ssldir=/etc/ssl \
</div>
<div>
--sysconfdir=/etc \
</div>
<div>
--without-vpopmail \
</div>
<div>
--with-pam \
</div>
<div>
--without-bsdauth \
</div>
<div>
--without-sql \
</div>
<div>
--without-nss \
</div>
<div>
--without-ldap \
</div>
<div>
--without-pgsql \
</div>
<div>
--without-mysql \
</div>
<div>
--without-sqlite \
</div>
<div>
--with-rundir=/var/run/dovecot \
</div>
<div>
--without-sia \
</div>
<div>
--without-cassandra \
</div>
<div>
--without-lucene \
</div>
<div>
--without-solr \
</div>
<div>
--without-textcat \
</div>
<div>
--without-libcap \
</div>
<div>
--without-stemmer \
</div>
<div>
--disable-rpath \
</div>
<div>
--disable-dependency-tracking \
</div>
<div>
--disable-silent-rules \
</div>
<div>
--without-gssapi \
</div>
<div>
--without-cdb
</div>
<div>
<br>
</div>
<div>
--
</div>
<div>
Mart
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>
Mart Pirita
2019-Dec-15 20:08 UTC
Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
Well, but not for centos 5 and also these rpm are including a lot stuff what I don't need. But I will check the src rpm -s from repo and diff these specs with my current ones. Mart Aki Tuomi wrote:> We provide rpm packages for centos 6&7 at https://repo.dovecot.org if you want > to try them? > > Aki >> On 15/12/2019 13:01 Mart Pirita < mart at e-positive.ee >> <mailto:mart at e-positive.ee>> wrote: >> >> >> Hi, >> >> For some reason I've never been able to build x64 dovecot rpm package, >> no matter how I try, I'm still getting lib64 errors, first tried few >> years on centos 5, ok I know this is old distro, then few years tried >> with centos 6 (and wrote here also - CentOS x64 compilation fails), >> supported distro, no luck, now installed centos 7 and still no luck, so >> seems it's not about centos or rpm version. >> >> So I'm using option "rpmbuild -ba --target=i686 dovecot2.3.spec" to >> build it, and it works but I'd still like to build x64 version. Why >> libtool tries to install libdcrypt_openssl.la only instead >> /usr/lib/dovecot into /usr/lib64/dovecot? . But as I can compile fine >> postfix etc other openssl used app rpm -s, then is this some dovecot bug >> or what am I missing? >> >> Error: >> /usr/bin/mkdir -p >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot' >> /bin/sh ../../libtool --mode=install /usr/bin/install -c >> libssl_iostream_openssl.la >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot' >> libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.so >> /root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.so >> >> libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.lai >> /root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.la >> >> libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.a >> /root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a >> >> libtool: install: chmod 644 >> /root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a >> >> libtool: install: ranlib >> /root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a >> >> libtool: warning: remember to run 'libtool --finish /usr/lib/dovecot' >> /usr/bin/mkdir -p >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot' >> /usr/bin/install -c -m 644 iostream-openssl.h iostream-ssl.h >> iostream-ssl-private.h iostream-ssl-test.h >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot' >> make[3]: Leaving directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream' >> make[2]: Leaving directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream' >> Making install in lib-dcrypt >> make[2]: Entering directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt' >> make[3]: Entering directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt' >> /usr/bin/mkdir -p >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot' >> /bin/sh ../../libtool --mode=install /usr/bin/install -c >> libdcrypt_openssl.la >> '/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot' >> libtool: error: error: cannot install 'libdcrypt_openssl.la' to a >> directory not ending in /usr/lib/dovecot >> make[3]: *** [install-pkglibLTLIBRARIES] Error 1 >> make[3]: Leaving directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt' >> make[2]: *** [install-am] Error 2 >> make[2]: Leaving directory >> `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt' >> make[1]: *** [install-recursive] Error 1 >> make[1]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src' >> make: *** [install-recursive] Error 1 >> error: Bad exit status from /var/tmp/rpm-tmp.EVWbif (%install) >> >> >> Options: >> ./configure \ >> --prefix=/usr \ >> --with-ssl=openssl \ >> --with-ssldir=/etc/ssl \ >> --sysconfdir=/etc \ >> --without-vpopmail \ >> --with-pam \ >> --without-bsdauth \ >> --without-sql \ >> --without-nss \ >> --without-ldap \ >> --without-pgsql \ >> --without-mysql \ >> --without-sqlite \ >> --with-rundir=/var/run/dovecot \ >> --without-sia \ >> --without-cassandra \ >> --without-lucene \ >> --without-solr \ >> --without-textcat \ >> --without-libcap \ >> --without-stemmer \ >> --disable-rpath \ >> --disable-dependency-tracking \ >> --disable-silent-rules \ >> --without-gssapi \ >> --without-cdb >> >> -- >> Mart > > --- > Aki Tuomi >
Alexander Dalloz
2019-Dec-15 22:19 UTC
Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
Am 15.12.2019 um 21:08 schrieb Mart Pirita:> Well, but not for centos 5 and also these rpm are including a lot stuff > what I don't need. But I will check the src rpm -s from repo and diff > these specs with my current ones. > > > > MartCentOS 5 is end of life since April 2017. Don't use it! There is no good reason to build anything for it. Alexander
Reasonably Related Threads
- Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
- Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
- Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
- Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot
- Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot