#20926 [Fbk]: libmcrypt error in configure

From: Date: Wed, 11 Dec 2002 18:50:22 +0000
Subject: #20926 [Fbk]: libmcrypt error in configure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27399@lists.php.net to get a copy of this message
ID: 20926 Updated by: msopacua@php.net Reported By: fn@panix.com Status: Feedback Bug Type: mcrypt related Operating System: NetBSD-1.5.2 PHP Version: 4.3.0RC2 New Comment: The problem here is: --enable-shared=no in libmcrypt, but still there are lt_dl symbols in there. The lt_dl approach has never worked nicely - especially on BSD's and Derick is right, that the prefix does matter, even with --with-pic (use make DESTDIR=/pkg/libmcrypt-2.5.3 install for what I think you wanna do). The more recent versions, allow you to link in the encryptions in the shared lib, which is the approach I would recommend. Previous Comments: ------------------------------------------------------------------------ [2002-12-11 11:52:51] derick@php.net I believe the pkg prefix might be the problem here. Why don't you just use "/usr/local" here? ------------------------------------------------------------------------ [2002-12-11 11:14:58] fn@panix.com Please ignore the /pkg settings. These packages get installed into /usr/local. configure for libmcrypt: ./configure --prefix=/pkg/libmcrypt-2.5.3 --enable-shared=no --with-pic configure for php: ./configure --prefix=/pkg/php-4.3.0rc2 --enable-shared=no --with-mysql=/pkg/mysql-3.23.46 --enable-discard-path --with-config-file-path=/pkg/php-4.3.0rc2/libdata/php-4.3.0rc2 --with-xml --with-imap-ssl=/devel/build/pine/pine-4.50/imap/ --libdir=/pkg/php-4.3.0rc2/libdata/php-4.3.0rc2 --with-openssl=/usr/local --with-ndbm --with-gd --with-jpeg-dir=/usr/local --with-mcrypt=/usr/local --with-zlib-dir=/usr/local --with-db autoconf (GNU Autoconf) 2.53 automake (GNU automake) 1.4 libmcrypt-2.5.3 mysql-3.23.46 openssl-0.9.6g gd-2.0.4 jpeg-6b zlib-1.1.4 ------------------------------------------------------------------------ [2002-12-11 11:02:53] derick@php.net In order to reproduce it, I'd like to have: 1. The full configure line of libmcrypt 2. The full configure line for PHP 3. version numbers of autoconf and automake 4. version numbers of relevant libraries. regards, Derick ------------------------------------------------------------------------ [2002-12-11 10:59:43] fn@panix.com libtool --version ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) Yes, libmcrypt has been installed in /usr/local. ------------------------------------------------------------------------ [2002-12-11 10:55:44] derick@php.net Oops! Which version of libtool are you using? And did you do a "make install" of libmcrypt? Derick ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20926 -- Edit this bug report at http://bugs.php.net/?id=20926&edit=1

« previous php.bugs (#27399) next »