Edit report at https://bugs.php.net/bug.php?id=65497&edit=1

 ID:                 65497
 Updated by:         yohg...@php.net
 Reported by:        cmbecker69 at gmx dot de
 Summary:            All tests are failing
 Status:             Open
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Cygwin
 PHP Version:        5.5.2
 Block user comment: N
 Private report:     N

 New Comment:

You might have linked with incompatible library.

ldd php or ldd libphp5.so too see what are linked.

It may happen during build also.
I recently helped a user who had build problem due to libtool installed under 
/usr/local. Explicitly using proper libtool solved the problem.

Look for suspicious errors in build log, too.


Previous Comments:
------------------------------------------------------------------------
[2013-08-22 05:50:07] s...@php.net

This looks like some environment problem. PHP does not load its own shared 
libs, 
so whatever is going wrong is going wrong either in the compiler or in the 
environment. If you're getting this message with tests but not when you run 
either -v or -i, the difference may be either php.ini or some environment vars.

------------------------------------------------------------------------
[2013-08-21 22:40:37] cmbecker69 at gmx dot de

For most development I'm using "normal" Windows builds,
but for some experiments I prefer the Unix toolchain,
so Cygwin comes in handy (I could use a virtual machine,
but it seems a bit heavyweight).

I should have noted in the first place that the compiled
PHP seems to run fine; at least I haven't noticed any issues
yet (neither CLI nor CGI).

basic/001.out:
  /home/cmb/php-5.5.2/sapi/cli/php.exe: error while loading
  shared libraries: ?: cannot open shared object file: No 
  such file or directory

The other .out files have the same message (I've checked 
only a handful, however).

------------------------------------------------------------------------
[2013-08-21 21:57:46] johan...@php.net

Cygwin is a complicated platform, any reason you're not using "normal" Windows 
or some "normal"  Unix/linux?

That aside: There shouldn't be any dll's or so's being built. Can you please 
check the created .out / .diff files from the tests to see whether the report 
any specific error? If they run at all PHP can't be totally broken as the test 
runner is using PHP, too. I guess it is some php.ini related error.

------------------------------------------------------------------------
[2013-08-21 21:38:01] cmbecker69 at gmx dot de

Description:
------------
After compiling PHP 5.5.2 on Cygwin[1] all tests 
of the accompanying test suite are failing.

This might be related to the shared libraries, which don't seem
to be properly build on Cygwin (.so instead of .dll.a, with a filesize
of less than 1 KB).

[1] $ uname -a
    CYGWIN_NT-5.1 RELIANT 1.7.18(0.263/5/3) 2013-04-19 10:39 i686 Cygwin


Test script:
---------------
./configure --enable-opcache=no
make
make test

Expected result:
----------------
The tests succeed.

Actual result:
--------------
All tests fail.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65497&edit=1

Reply via email to