php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37751 ld: fatal: file ext/: unknown file type
Submitted: 2006-06-08 19:40 UTC Modified: 2006-06-14 16:30 UTC
From: douglas at gpc dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: solaris 10
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: douglas at gpc dot edu
New email:
PHP Version: OS:

 

 [2006-06-08 19:40 UTC] douglas at gpc dot edu
Description:
------------
In compile php 5.1.4 on Solaris 10, I get (last few lines):

...
li/getopt.lo main/internal_functions_cli.lo -lmysqlclient -lldap -llber -lintl -
lgd -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -lnsl -l
socket -lxml2 -lz -lm -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lxml2 -
lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lns
l -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl  -o sapi/cli/php
ld: fatal: file ext/: unknown file type
ld: fatal: File processing errors. No output written to a.out
make: *** [sapi/cli/php] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-08 20:29 UTC] douglas at gpc dot edu
I have (since the original) reconfigured and compiled with
the following:

./configure --with-apxs2=/usr/local/apache/bin/apxs\
        --with-mysql=/usr/local/mysql

The configure appears to run fine. I then do just
'make' and the compile fails with (last few lines):

=================================================
 Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend
_default_classes.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/php_cli_re
adline.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lmysqlclient -lreso
lv -lm -lnsl -lsocket -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lns
l -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -ls
ocket -lnsl -lxml2 -lz -lm -lsocket -lnsl  -o sapi/cli/php
ld: fatal: file ext/sqlite/libsq: open failed: No such file or directory
ld: fatal: File processing errors. No output written to a.out
make: *** [sapi/cli/php] Error 1
====================================================

Right now, I am trying to use the most basic, the apx
reference and mysql. I can drop down to apx only if
needed. The compiler is the sun C compiler:

%cc -V
cc: Sun C 5.8 2005/10/13

If you want more of the make file or more information,
please let me know. Thanks for the help!
 [2006-06-08 23:32 UTC] douglas at gpc dot edu
I took this a step back and excluded mysql. The new config
line is:

./configure --with-apxs2=/usr/local/apache/bin/apxs

and the last few lines of the output are:

end/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lresolv -lm -lnsl -lsocket -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl  -o sapi/cli/php
ld: fatal: file ext/: unknown file type
ld: fatal: File processing errors. No output written to a.out
make: *** [sapi/cli/php] Error 1

If wanted, I can produce more, I just did not want to flood
this report with a very long output for everyone. Thanks
for any help! Thanks!
 [2006-06-08 23:34 UTC] douglas at gpc dot edu
Just wanted to confirm versions:

apache - 2.2.2
php 5.1.4
Sun C compiler: cc: Sun C 5.8 2005/10/13
Solaris 10

Thanks!
 [2006-06-09 01:39 UTC] douglas at gpc dot edu
I just tried with apache 2.0.58, since the doc referred
to apache 2.0. Still same same error at end. Thanks!
 [2006-06-14 16:30 UTC] sniper@php.net
Due to a bug in the installed sed on your system the build
fails. Install GNU sed and it should be okay.
 
Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 17:01:32 2024 UTC