Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12503 - libmcrypt must depend on libtool

Attached to Project: Arch Linux
Opened by kargerm (kargerm) - Friday, 19 December 2008, 04:46 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 14 January 2009, 00:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

(Sorry about my english)

Description:
libmcrypt needs libtool to work

I hadn't installed libtool, so I did it and libmcrypt became to work.

Additional info:
* package version(s)

libtool 2.2.6a-1
libmcrypt 2.5.8-1

* config and/or log files etc.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/mcrypt.so' - libltdl.so.7: cannot open shared object file: No such file or directory in Unknown on line 0

/* libltdl.so.7 is owned by libtool */
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Wednesday, 14 January 2009, 00:24 GMT
Reason for closing:  Not a bug
Comment by Glenn Matthys (RedShift) - Friday, 19 December 2008, 10:17 GMT
libmcrypt currently has no maintainer.
Comment by kargerm (kargerm) - Friday, 19 December 2008, 12:53 GMT
There is no new libmcrypt version since February 2007.

http://sourceforge.net/project/showfiles.php?group_id=87941
Comment by Pierre Schmitz (Pierre) - Friday, 19 December 2008, 16:31 GMT
Are you sure that libmcrypt itself depends on libtool or just the php module? The last one has libtool as optdepends.
Comment by kargerm (kargerm) - Saturday, 20 December 2008, 00:33 GMT
I'm not sure, the only thing I've tested was the php module I wanted to use. But I've just seen few minutes ago the libmcrypt PKGBUILD, and I think its outdated:

# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=libmcrypt
pkgver=2.5.8
pkgrel=1
pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
arch=(i686 x86_64)
license=('LGPL')
depends=('glibc')
options=('!libtool')
source=(http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2)
url="http://mcrypt.sourceforge.net/"
md5sums=('c4f491dd411a09e9de3b8702ea6f73eb')

build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
}

I don't know what variable "options" means(deprecated?), it isn't at ArchWiki's page about PKGBUILDs, also I don't trust on "!" that goes before libtool, it seems to avoid use libtool pkg? I'm new with this, but I think you should replace "options=('!libtool')" line with optdepends=('libtool: for make php module work properly') or something like that. I repeat: I have only tested it with php, so I don't know if it works properly when you don't use php module.

Sorry about my english, I have to learn a bit more.
Comment by Aaron Griffin (phrakture) - Saturday, 20 December 2008, 00:41 GMT
options=(!libtool) is valid. Please see `man PKGBUILD` for details
Comment by kargerm (kargerm) - Saturday, 20 December 2008, 01:12 GMT
Unless you know if libs don't work without libtool, you should add:
optdepends=('libtool: for make php module work properly')
Comment by Pierre Schmitz (Pierre) - Saturday, 20 December 2008, 09:42 GMT
I don't see any bug here. libmcrypt itself does not depend on libtool (I checked with namcap, ldd and plain strings command). The mcrypt module of php need libmcrypt and libtool. But this is already coverd by optdepends in php.

And I am sorry, but adding libtool as optdepend to libmcrypt is quite insane.
Comment by kargerm (kargerm) - Saturday, 20 December 2008, 13:23 GMT
OK, I'm a damn noob. I don't know how i installed php, but I don't remember having seen optdepends messages, also i thought they were written to pacman.log, but now i'm looking at it and don't.

Excuse me guys, it's my fault, i thought that dependency would came with libmcrypt, but it is already with php, as you say Pierre. i'm going to request a close.
Comment by kargerm (kargerm) - Saturday, 20 December 2008, 14:29 GMT
By the way, I'm not sure if this is correct, in php's PKGBUILD:
optdepends=(
'mcrypt: mcrypt' \
'libtool: mcrypt' \

i think it's not necessary to install mcrypt, with libmcrypt it's enough.

Loading...