> From [EMAIL PROTECTED] Sat Mar 9 15:48:27 2002 > At 19:31 Uhr +0100 09.03.2002, Max Horn wrote: > >OK, so I am working on PHP 4.1.2. Problem is, it tries to use gd, > >but gd is only available as a static library. Yeah, I read the > >comment, it is compiled with "-fno-common", but libtool still > >refuses to link this static library against a loadable module. Hence > >I either have to drop gd support from PHP, or the gd package has to > >be changed to also provide a shared library. [snip] > > Building a shared lib of gd could be as simple as this: > > cc -dynamiclib -o libgd.1.8.dylib -install_name /sw/lib/libGL.1.dylib > -compatibility_version 1.8 -current_version 1.8 -all_load libgd.a > -L/sw/lib -lpng -lz -ljpeg -lfreetype >
Done. See new version. -- Dave _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel