Your humble guinea pig reporting. I wanted to use PHP with Apple’s Apache and changed the .info ConfigureParams to use the preinstalled apxs with the following parameter: --with-apxs=/usr/sbin/apxs. I don’t see that that caused any problem but if you know better, please enlighten me.
The dependency of gd-shlibs requires the installation of the gd-shlibs package that installs libgd.1.8.dylib and an alias to it named libgd.1.dylib. There is no libgd.dylib alias but I don’t see any evidence that that is a problem. The BuildDepends is gd which requires the installation of the gd package that installs libgd.a. I tried using the just gd and just gd-shlibs separately. Each of those failed so clearly both are required.
The build using both got most of the way through but failed while “Making all in . “ during the linking process. The error was:
/usr/bin/ld: multiple definitions of symbol _gdCacheCreate
ext/gd/.libs/libgd.al(gdcache.lo) definition of _gdCacheCreate in section (__TEXT,__text)
/sw/lib/libgd.a(gdcache.o) definition of _gdCacheCreate in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _gdCacheDelete
ext/gd/.libs/libgd.al(gdcache.lo) definition of _gdCacheDelete in section (__TEXT,__text)
/sw/lib/libgd.a(gdcache.o) definition of _gdCacheDelete in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _gdCacheGet
ext/gd/.libs/libgd.al(gdcache.lo) definition of _gdCacheGet in section (__TEXT,__text)
/sw/lib/libgd.a(gdcache.o) definition of _gdCacheGet in section (__TEXT,__text)
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.2.dylib(localcharset.lo) definition of _locale_charset
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1
### make failed, exit code 2
I don’t understand why there is a libgd.al in ext/gd/.libs/. The multiple definitions of _locale_charset would seem to be a more serious problem though. Would you know how to avoid that?
I apologize for the brevity of the descriptions of what I’ve done. I will happily elaborate on any points where I’ve not adequately explained what I’ve done. All suggestions are welcomed and I will certainly try any updates you put in CVS. I agree that with the recent discovery of security holes in older versions of PHP, the development of a working 4.1.2 package should be a high priority.
I am really impressed with all of the work that you guys have done with Fink in Chris’ absence. The failure of Fink would have been a real tragedy for Mac OS X, but it has certainly flourished under your care. On behalf of all Fink users, you have our deepest gratitude!
--
Gary Kerbaugh
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~
"Virtual" means never knowing where your next byte is coming from.