NuSphere Forums Forum Index
NuSphere Forums


Tue Sep 09, 2003 12:40 pm
Replies: 8
Views: 12777
Ok, with a little hacking of the Makefile, I got it to compile a dbg.so file that worked with PHP 4.3.3 on Mac OS X.

Here is the Makefile:


srcdir = /Users/dwstevens/Desktop/dbg-2.11.23-src
bu ...

Tue Sep 09, 2003 7:46 am
Replies: 8
Views: 12777
Has anyone used DBG on Mac OS X that you know of? I think the problem has something to do with how the shared object is created. I'm not positive, but I think Mac OS X needs .dylib files instead of . ...

Tue Sep 09, 2003 6:38 am
Replies: 8
Views: 12777
Ok, read up on .so and .dylib in Mac OS X. I tried to create a dbg.dylib "dynamic library" using this command:

[gravelOne:~dwstevens/Desktop/dbg-2.11.23-src] dwstevens# libtool -install_name /usr/ ...

Tue Sep 09, 2003 6:28 am
Replies: 8
Views: 12777
Ok, installed PHP 4.3.3, recompiled DBG and now I'm getting this error:

[10-Sep-2003 07:27:11] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/Zend/modules/dbg.so' - not a Mach- ...

Tue Sep 09, 2003 6:05 am
Replies: 8
Views: 12777
Ok, I got the dbg.so created. I had to create a symbolic link to glibtoolize. That did the trick. Now I'm getting this in the php_error_log:

[10-Sep-2003 07:02:03] PHP Warning: Unknown(): Unabl ...

Mon Sep 08, 2003 6:24 pm
Replies: 8
Views: 12777
I'm having some trouble installing an actual dbg.so file on MacOS X 10.2.6 with PHP 4.3.2 and DBG 2.11.23. All it is creating is dbg.a and dbg.la files in the <src>/modules directory. Is there ...
Page 1 of 1
All times are GMT - 5 Hours