#21148 [Opn->Fbk]: collect2 error: ar related
| From: | sniper@php.net | Date: | Tue, 25 Feb 2003 09:48:12 +0000 |
| Subject: | #21148 [Opn->Fbk]: collect2 error: ar related | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34200@lists.php.net to get a copy of this message | ||
ID: 21148
Updated by: sniper@php.net
Reported By: gburnore at netbasix dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: SCO Openserver 5.0.5
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-12-22 15:09:42] gburnore at netbasix dot net
For some reason, on OSR 5.0.5, the creation of the .a files creates a
problem. It's easily fixed each time it occurs by running: ar -ts
afilename.a and restarting the make.
Is there a simple way to force it every time a .a file is created?
Also, if I may, I'd like to offer login/space on an OSR5.0.5
system in case you folks need it to test/debug installs on OpenServer.
The relevant part of the error. This may be a libtool issue.
/bin/sh /local/src/www/php-4.2.3/libtool --silent --mode=link gcc -I.
-I/local/s
rc/www/php-4.2.3/ -I/local/src/www/php-4.2.3/main
-I/local/src/www/php-4.2.3 -I/
local/src/www/php-4.2.3/Zend
-I/local/src/www/php-4.2.3/ext/mysql/libmysql -I/lo
cal/src/www/php-4.2.3/ext/xml/expat -I/local/src/www/php-4.2.3/TSRM -g
-O2 -o
php -export-dynamic stub.lo libphp4.la
./.libs/libphp4.a: libelf error: elf_getarsym:
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/local/src/www/php-4.2.3'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21148&edit=1