php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22157 libtool: s%^.*/%%: No such file or directory
Submitted: 2003-02-10 18:13 UTC Modified: 2003-02-11 10:48 UTC
From: daniel dot gorski at develnet dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2003-02-10 (dev) OS: RH 6.2, RH 7.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: daniel dot gorski at develnet dot org
New email:
PHP Version: OS:

 

 [2003-02-10 18:13 UTC] daniel dot gorski at develnet dot org
Hi,

libtool perishes in todays PHP5 CVS 

[root@orbiter php5]# cat /etc/redhat-release 
Red Hat Linux release 7.3 (Valhalla)

[root@orbiter php5]# uname -a
Linux orbiter 2.4.18-3smp #1 SMP Thu Apr 18 06:59:55 EDT 2002 i686 unknown

[root@orbiter php5]# cat config.nice 
#! /bin/sh
#
# Created by configure

'./configure' \
'--enable-force-cgi-redirect' \
'--with-config-file-path=../conf' \
'--with-zlib' \
"$@"

[root@orbiter php5]# ./libtool --version
./libtool: s%^.*/%%: No such file or directory
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)

[root@orbiter php5]# make -j2
/bin/sh libtool --silent --mode=link gcc -export-dynamic -g-O2 [... ... ... ... ... ... etc.] /zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt  -o sapi/cli/php
libtool: s%^.*/%%: No such file or directory
libtool: s%^.*/%%: No such file or directory
libtool: -e: command not found
libtool: -e: command not found

regards dtg

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-10 18:53 UTC] sniper@php.net
Snapshot or straight from CVS? 
Do you have libtool 1.4.3 installed?


 [2003-02-10 20:42 UTC] daniel dot gorski at develnet dot org
>Snapshot or straight from CVS? 

Straight from CVS in a fresh directory

>Do you have libtool 1.4.3 installed?

Yes.

[root@orbiter php5]# whereis libtool
libtool: /usr/src/php5/libtool /usr/src/libart_lgpl-2.3.11/libtool /usr/src/libtool-1.4.3/libtool.m4 /usr/src/libtool-1.4.3/libtool /usr/bin/libtool /usr/local/bin/libtool /usr/share/libtool

[root@orbiter php5]# ls -la /usr/bin/libtool
lrwxrwxrwx    1 root     root           22 Feb 11 03:33 /usr/bin/libtool -> /usr/local/bin/libtool

[root@orbiter php5]# /usr/bin/libtool --version
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)

regards dtg
 [2003-02-10 20:57 UTC] sniper@php.net
You're doing something wrong or I broke the damn libtool when I upgraded it in CVS.

It looks like you've installed libtool pretty weirdly..
Are you sure it's not conflicting with some old version?
And you should have libtool.m4 somehwere under /usr/share/libtool too. 

Basically the problem is that when you run buildconf (do ./cvsclean && ./buildconf) aclocal will add the contents of that libtool.m4 into your configure script. And that doesn't seem to happen now.

Try running aclocal manually after buildconf to see if it outputs some error.


 [2003-02-11 10:48 UTC] daniel dot gorski at develnet dot org
Ok, I've kicked all libtool, automake and autoconf RPMs from the RH6.2 and RH7.3 machines and installed the new versions of these programs from source.

It worked then. Thanks for your efforts.

regards dtg
 [2003-05-22 16:51 UTC] jome at emoj dot net
I found an alternative solution in a php-dev thread, Timm Friebe posted it:

http://marc.theaimsgroup.com/?l=php-dev&m=104517788324125&q=raw
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 19:00:02 2025 UTC