php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19967 Undefined Symbols (IMAP c-client related)
Submitted: 2002-10-17 19:47 UTC Modified: 2002-11-10 18:23 UTC
From: aaron at yourlink dot net Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 4.2.3 OS: Mac OS X 10.2.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-10-17 19:47 UTC] aaron at yourlink dot net
I am using Mac OS X 10.2.1, Apache 2.0.43, PHP 4.2.3, and IMAP-2002.RC8.

I have built libc-client solely as a dylib (shared library), and all of my other extensions are also shared libraries. 

I have successfully compiled the PHP module, and I have properly configured the webserver to load and use it.

However, when I attempt to start the web server, it refuses to start and produces the following output:

dyld: /Library/Apache2/bin/httpd Undefined symbols:
_mm_critical
_mm_diskerror
_mm_dlog
_mm_exists
_mm_expunged
_mm_fatal
_mm_flags
_mm_list
_mm_log
_mm_login
_mm_lsub
_mm_nocritical
_mm_notify
_mm_searched
_mm_status

These symbols are defined in libphp.so, so I would assume it would not compain about this:

[homer:/Library/Apache2/modules] afaby# nm -n libphp4.so | grep mm_
00072ea8 T _mm_searched
00072fa4 T _mm_exists
00072fa8 T _mm_expunged
00072fac T _mm_flags
00072fb0 T _mm_notify
000730d8 T _mm_list
00073318 T _mm_lsub
00073554 T _mm_status
0007367c T _mm_log
000737b4 T _mm_dlog
000737b8 T _mm_login
0007386c T _mm_critical
00073870 T _mm_nocritical
00073874 T _mm_diskerror
0007387c T _mm_fatal

I have been struggling with this for quite a while and I am at a standstill right now.

Could this perhaps be another chapter in the book of issues that plague Mac OS X's libtool?

Thanks!
Aaron Faby

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-17 22:22 UTC] kalowsky@php.net
c-client works as a dylib?  Thats news to me.  I'm able to configure and use PHP just fine with IMAP2001 and Apache 1.3x systems.  

I'm thinking it's more likely an Apache2 issue at this time, but I haven't looked into it.  Can you please try the following:

A) PHP snapshot.  4.2.3 does not officially support OSX.  Any hacking you did to make it compile I can't help you with.  But the 4.3.0 should work out of box for OSX (yippie!).

B) With Apache 1.3 systems?
 [2002-10-18 11:42 UTC] aaron at yourlink dot net
I assumed that c-client works as a dylib, as it works as a shared library on other platforms. I could be wrong.... In any case, the reason I had to build it as a shared library is aparently libtool won't link to static and shared libraries at the same time. It will either link to all shared or all static libraries when building projects. I'm still trying to figure out how to get around that...
 [2002-10-18 12:53 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-10 18:23 UTC] sniper@php.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 "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC