Bug #12636: non-linked libpam function?

From: Date: Tue, 07 Aug 2001 23:05:04 +0000
Subject: Bug #12636: non-linked libpam function?
Groups: php.dev 
Request: Send a blank email to php-dev+get-62504@lists.php.net to get a copy of this message
From: scarfboy@yahoo.com 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

« previous php.dev (#62504) next »