#22460 [NEW]: libtool failed
| From: | s_arnaud at yahoo dot com | Date: | Thu, 27 Feb 2003 15:57:35 +0000 |
| Subject: | #22460 [NEW]: libtool failed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-34443@lists.php.net to get a copy of this message | ||
From: s_arnaud at yahoo dot com
Operating system: Solaris 8
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: libtool failed
Here is the configure line I use:
./configure --prefix=/_TOOLS_/dist/apache-php-4.3.1/sparc64-sun-solaris2.8
--with-mysql=/_TOOLS_/dist/mysql-3.23.55/sparc64-sun-solaris2.8
--with-apache=../apache_1.3.27
--with-ldap=/_TOOLS_/dist/openldap-2.0.18/sparc64-sun-solaris2.8
--with-mcrypt=/_TOOLS_/dist/libmcrypt-2.5.2/sparc32-sun-solaris2.7
--with-gd --with-jpeg-dir=/_TOOLS_/dist/jpeg6b/sparc64-sun-solaris2.8
--with-png-dir=/_TOOLS_/dist/libpng-1.2.2/sparc64-sun-solaris2.8
--with-zlib-dir=/_TOOLS_/dist/zlib-1.1.4/sparc64-sun-solaris2.8
--enable-track-vars --enable-bcmath
All is fine
Then when running "make" I get:
libtool: link: warning: library
`/_TOOLS_/dist/libmcrypt-2.5.2/sparc32-sun-solaris2.7/lib/libmcrypt.la'
was moved.
grep: can't open /_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la
Can't open /_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la
libtool: link: `/_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la' is not a
valid libtool archive
make: *** [libphp4.la] Error 1
After doing some modifications in the "libtool" script, it seems the
problem is pecific to the libmcrypt library path, because when I put some
echo commands in the script (arroud line 1896:
# Find the relevant object directory and library name.
echo "Testing libdir/linklib: $libdir/$linklib\n and abs_ladir/linklib:
$abs_ladir/$linklib"
I get:
Testing libdir/linklib:
/_TOOLS_/dist/mysql-3.23.55/sparc64-sun-solaris2.8/lib/mysql/libmysqlclient.so
and abs_ladir/linklib:
/_TOOLS_/dist/mysql-3.23.55/sparc64-sun-solaris2.8/lib/mysql/libmysqlclient.so
Testing libdir/linklib: /_TOOLS_/dist/libmcrypt-2.5.2/lib/libmcrypt.so
and abs_ladir/linklib:
/_TOOLS_/dist/libmcrypt-2.5.2/sparc32-sun-solaris2.7/lib/libmcrypt.so
libtool: link: warning: library
`/_TOOLS_/dist/libmcrypt-2.5.2/sparc32-sun-solaris2.7/lib/libmcrypt.la'
was moved.
grep: can't open /_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la
Can't open /_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la
libtool: link: `/_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la' is not a
valid libtool archive
make: *** [libphp4.la] Error 1
So for mysql, it's fine, but not for libmcrypt, despite the fact I put in
my LD_LIBRARY_PATH variable the complete path to that library, ie:
/_TOOLS_/dist/libmcrypt-2.5.2/sparc32-sun-solaris2.7/lib
it does not work...
Any idea ???
Many thanks,
Sylvain.
--
Edit bug report at http://bugs.php.net/?id=22460&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22460&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22460&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22460&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22460&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22460&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22460&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22460&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22460&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22460&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22460&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22460&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22460&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22460&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22460&r=gnused