php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #405 Linking Apache v1.3b6 with PHP v3.0RC4 fails with "_strerror: multiply defined"
Submitted: 1998-05-26 16:14 UTC Modified: 1998-07-02 13:12 UTC
From: maupin at easystreet dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Release Candidate 4 OS: SunOS 4.1.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: maupin at easystreet dot com
New email:
PHP Version: OS:

 

 [1998-05-26 16:14 UTC] maupin at easystreet dot com
I'm attempting to build PHP v3.0RC4 as a module into Apache v1.3b6 on SunOS 4.1.4 using GCC.
I'm configuring Apache with "--enable-module=most --enable-shared=max --activate-module=src/modules/php3/libphp3.a" (i.e., PHP is static).
I'm configuring PHP with "--with-mysql=/usr/local/mysql" (excluding the "--with-apache=..." switch).
PHP compiles fine and the Apache compilation succeeds until the link phase, when it reports...


"collect2: ld returned 2 exit status
 ld: main/libmain.a(util.o): _strerror: multiply defined"


This error doesn't occur when building Apache without PHP.

Thanks!


- Ken Maupin

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-02 13:12 UTC] ssb
PHP 3.0 on SunOS 4.1.2 with gcc 2.7.2.1 works fine.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC