From:             [EMAIL PROTECTED]
Operating system: Linux (SuSE 7.1)
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  non-linked libpam function?

I just compiled PHP 4.0.6 from the sources, (well, after 
fighting with it a bit, but never mind that) and apache 
won't load the module. When i try to start apache:

Syntax error on line 147 of /etc/httpd/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: 
undefined symbol: pam_end

(line 147 is the one that loads the module)

>From both someone else's report and my trial and error, i 
figured it is the imap module that is the problem.
I do have the libpam library and the function is in that 
library:

# objdump -T /lib/libpam.so.0.72 | grep pam_end
00001b40 g    DF .text  0000025f  Base        pam_end

The thing is that the php module isn't linked with this. 
Now i don't know enough about all this funky dynamic stuff 
to fix this.. (or even know for sure that's the problem) 
but it strikes me that if the imap module depends on this 
library it should put that in its makefile or whereever.
I can live without imap, but i do want it sometime.. 

-- 
Edit bug report at: http://bugs.php.net/?id=12636&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to