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.
Best regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa.42/ or http://hoa-project.net/
PhD. student at LIFC/DISC (Vesontio) and INRIA (Cassis)
http://lifc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/
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 1Is 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
Hi Hannes,
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 1Is 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
Ok it works. Thanks.
#feelridiculous
Best regards.
--
Ivan Enderlin
Developer of Hoa
http://hoa.42/ or http://hoa-project.net/
PhD. student at LIFC/DISC (Vesontio) and INRIA (Cassis)
http://lifc.univ-fcomte.fr/ and http://www.inria.fr/
Member of HTML and WebApps Working Group of W3C
http://w3.org/