php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-08-23 09:36 UTC] imthiazj2 at hcl dot in
Description:
------------
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:
----------------
Success

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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 libphp5.la 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.

Thanks
 [2007-10-23 07:40 UTC] nobody at nowhere dot com
Concerning pecl perl package (http://pecl.php.net/package/perl), 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] yohgaki@php.net
-Status: Open +Status: Feedback
 [2013-07-31 02:11 UTC] yohgaki@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [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