#22460 [Fbk->Opn]: libtool failed
| From: | s_arnaud at yahoo dot com | Date: | Thu, 27 Feb 2003 18:16:01 +0000 |
| Subject: | #22460 [Fbk->Opn]: libtool failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34464@lists.php.net to get a copy of this message | ||
ID: 22460
User updated by: s_arnaud at yahoo dot com
Reported By: s_arnaud at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.3.1
New Comment:
Thanks for the quick answer, but same message:
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
/_TOOLS_/dist/gnu-sed-3.02/sparc64-sun-solaris2.8/bin/gsed: can't read
/_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la: No such file or
directory
libtool: link: `/_TOOLS_/dist/libmcrypt-2.5.2/lib/libltdl.la' is not a
valid libtool archive
make: *** [libphp4.la] Error 1
Other idea ?
Previous Comments:
------------------------------------------------------------------------
[2003-02-27 10:09:35] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-02-27 09:57:35] s_arnaud at yahoo dot com
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 this bug report at http://bugs.php.net/?id=22460&edit=1