#21148 [NEW]: collect2 error: ar related
| From: | gburnore at netbasix dot net | Date: | Sun, 22 Dec 2002 21:09:42 +0000 |
| Subject: | #21148 [NEW]: collect2 error: ar related | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28217@lists.php.net to get a copy of this message | ||
From: gburnore@netbasix.net
Operating system: SCO Openserver 5.0.5
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: collect2 error: ar related
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 bug report at http://bugs.php.net/?id=21148&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21148&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21148&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21148&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21148&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21148&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21148&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21148&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21148&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21148&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21148&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21148&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21148&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21148&r=isapi