php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8528 Undefined symbol compiling PHP as DSO --with-mysql
Submitted: 2001-01-03 05:26 UTC Modified: 2001-01-11 10:41 UTC
From: jbadiella at drac dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4 OS: Linux Slackware 7.1
Private report: No CVE-ID: None
 [2001-01-03 05:26 UTC] jbadiella at drac dot com
I want to compile PHP for Apache with the external MySQL libraries:

./configure \
   --with-apxs=/usr/local/lib/apache/bin/apxs \
   --with-mysql=/usr/local

works, but after installation, Apache aborts with:
Syntax error on line 238 of /usr/local/lib/apache/conf/httpd.conf:
Cannot load /usr/local/lib/apache/libexec/libphp4.so into server: /usr/local/lib
/apache/libexec/libphp4.so: undefined symbol: __dn_expand

I checked the config log and it actually complains about libraries it cannot find (bind socket dir pam), but make appears to be succesful! It is the same with any PHP 4.x.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 13:12 UTC] sniper@php.net
Please add the config.log error into this bug report.

--Jani
 [2001-01-09 21:02 UTC] sniper@php.net
Could you please try the latest snapshot from http://snaps.php.net/ ??
There was one fix that might solve this problem.

--Jani

(btw. I changed the bug system to open the user edit per default..)

 [2001-01-11 10:39 UTC] jbadiella at drac dot com
Looks like it works... thank you very much.

As far as I am concerned, you may close the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 15:01:29 2024 UTC