Re: sapi/cli/php, compiling error
| From: | Hannes Magnusson | Date: | Thu, 17 Nov 2011 09:41:59 +0000 |
| Subject: | Re: sapi/cli/php, compiling error | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56363@lists.php.net to get a copy of this message | ||
On Thu, Nov 17, 2011 at 10:38, Ivan Enderlin @ Hoa
<ivan.enderlin@hoa-project.net> wrote:
> Hi all,
>
> I was trying to compile PHP trunk on my machine and here is the error I got:
>
> Undefined symbols for architecture x86_64:
> "_zim_SessionHandler_open", referenced from:
> _php_session_class_functions in session..o
> "_zim_SessionHandler_close", referenced from:
> _php_session_class_functions in session..o
> "_zim_SessionHandler_read", referenced from:
> _php_session_class_functions in session..o
> "_zim_SessionHandler_write", referenced from:
> _php_session_class_functions in session..o
> "_zim_SessionHandler_destroy", referenced from:
> _php_session_class_functions in session..o
> "_zim_SessionHandler_gc", referenced from:
> _php_session_class_functions in session..o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> Is it a known issue?
> My ./configure was very simple: --prefix and --with-config-file-path were
> the only arguments I used.
> The issue doesn't appear with the tag php_5_4_0RC1, so it's a trunk related
> issue.
You need to clean your build:
./vcsclean
./buildconf --force
./configure
-Hannes