|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57194 Getting Error while compiling --with-perl option
Submitted: 2006-08-23 09:36 UTC Modified: 2013-10-15 11:54 UTC
From: imthiazj2 at hcl dot in Assigned:
Status: No Feedback Package: perl (PECL)
PHP Version: 5.0.4 OS: Solaris
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: imthiazj2 at hcl dot in
New email:
PHP Version: OS:


 [2006-08-23 09:36 UTC] imthiazj2 at hcl dot in
LDFLAGS='-lstdc++' \
'./configure' \
'--enable-soap' \
'--prefix=/home/amudha/phplatest' \
'--with-apxs2=/home/amudha/myapache/bin/apxs' \
'--with-libxml-dir=/home/amudha/builddir/libxml' \
'--with-xsl=/home/amudha/builddir/libxsl' \
'--with-mysql=/usr/local/mysql/mysql' \
'--with-zlib-dir=/home/amudha/tools/php/php-5.0.5/ext/zlib' \
'--with-oracle=/oracle/product/920' \
'--with-perl=/usr/local/perl/perl-5.8.7/' \

Expected result:

Actual result:
slt -lxml2 -lz -liconv -lsocket -lnsl -lm  -o sapi/cli/php
Undefined                       first referenced
 symbol                             in file
perl_module_entry                   main/internal_functions_cli.lo
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-23 09:39 UTC] pierre dot php at gmail dot com
not a website bug
 [2006-08-23 11:03 UTC] imthiazj2 at hcl dot in
*** Warning: Linking the shared library against the
*** static library /usr/local/perl/perl-5.8.7/lib/5.8.7/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable!

Whether this is the cause for the problem
Please get out of this problem.

 [2007-10-23 07:40 UTC] nobody at nowhere dot com
Concerning pecl perl package (, which offers the same functionality, I needed to add "-mimpure-text" flag to CFLAGS on makefile. Otherwise linker complains about unresolved symbols.
Environment: PHP 5.2.4, perl 5.8.0, gcc 3.3.2, SunOS 5.8 sparc.
 [2013-07-31 02:11 UTC]
-Status: Open +Status: Feedback
 [2013-07-31 02:11 UTC]
Please try using this snapshot:
For Windows:

 [2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 04:03:36 2021 UTC