cyrus-sasl-2.1.23 cannot install: unknown LIBTOOL version: 22.

Hello everyone,

I am installing postfix on FreeBSD 7.1 using ports. When I going to install it I saw a error on my FreeBSD machine.

Code:
# cd /usr/ports/mail/postfix
# make all install clean

===>   postfix-2.6.3,1 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   postfix-2.6.3,1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   postfix-2.6.3,1 depends on shared library: pcre.0 - found
===>   postfix-2.6.3,1 depends on shared library: sasl2.2 - not found
===>    Verifying install for sasl2.2 in /usr/ports/security/cyrus-sasl2
===>  cyrus-sasl-2.1.23 cannot install: unknown LIBTOOL version: 22.
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2.
*** Error code 1

Stop in /usr/ports/mail/postfix.
*** Error code 1

Stop in /usr/ports/mail/postfix.
*** Error code 1

Stop in /usr/ports/mail/postfix.

Please help you remove this errors.
 
This should be because of an upgrade of libtool. Remember to check /usr/ports/UPDATING before you update since there are some important messages there.

Follow the steps and the problem should be solved:
20090802:
AFFECTS: users of devel/libtool15 and devel/libltdl15
AUTHOR: mezz@FreeBSD.org

The devel/libtool15 and devel/libltdl15 ports have been moved to libtool22
and libltdl22, respectively, then updated to 2.2.6a. You will need to run
portmaster or portupgrade to properly perform the upgrade:

Portmaster:
-----------

portmaster -o devel/libtool22 devel/libtool15
portmaster -o devel/libltdl22 devel/libltdl15

Portupgrade:
------------

portupgrade -o devel/libtool22 libtool-1.5\*
portupgrade -o devel/libltdl22 libltdl-1.5\*

After that, you will need to rebuild all ports that depend on libltdl.
Since all dependent ports' PORTREVISIONs have been bumped, you can run
portupgrade or portmaster with '-a' to complete the upgrade.
 
I able to resolve this with postfix now when I trying to install apache22 again I receive this message.


Code:
nxb.com.pk# make install
===>  apache-2.2.13 cannot install: unknown LIBTOOL version: 22.
*** Error code 1

Stop in /usr/ports/www/apache22.

Please let me know how would this resolve.. breifly....
 
Read the previous post again ... You must update your ports tree and reinstall libtool/libltdl and everything depending on it.
 
I am able to follow the second post but still receiving error.

Code:
myPostfix# portmaster -o devel/libtool22 devel/libtool15
===>>> Gathering distinfo list for installed ports

===>>> The first argument must be a directory in /usr/ports

===>>> No valid installed port, or port directory given
===>>> Try portmaster --help

Terminated
myPostfix#

When I try to run portupgrade command..

Code:
myPostfix# portupgrade -o devel/libtool22 devel/libtool15
** Port directory not found: devel/libtool22
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - devel/libtool22 (port directory error)
 
First (of course) make sure you actually have /usr/ports/devel/libtool22.

Then run one of these:

[cmd=]portmaster -o devel/libtool22 libtool-1.5.26[/cmd]
[cmd=]portupgrade -o devel/libtool22 libtool-1.5.26[/cmd]

And in general: use portmaster OR portupgrade. Don't mix these tools. Choose one and stick with it.
 
SpAwN_gUy said:
there is no devel/libtoo22 nor devel/libtld22
BUT there is devel/libtoo and devel/libtld
This was already explained in post #2.
 
Back
Top