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!
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!
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
Opened by kargerm (kargerm) - Friday, 19 December 2008, 04:46 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 14 January 2009, 00:24 GMT
|
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
Wednesday, 14 January 2009, 00:24 GMT
Reason for closing: Not a bug
http://sourceforge.net/project/showfiles.php?group_id=87941
# $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.
optdepends=('libtool: for make php module work properly')
And I am sorry, but adding libtool as optdepend to libmcrypt is quite insane.
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.
optdepends=(
'mcrypt: mcrypt' \
'libtool: mcrypt' \
i think it's not necessary to install mcrypt, with libmcrypt it's enough.