In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (William Ross) wrote:
> I've run into these. The answer has been to specify explicitly > libraries that are normally left implicit. I found the failures odd, > too. if a libdir is incorrect, make fails. if the directory is correct > but the library is unspecified, make appears to work but all tests > fail. > > (eg. to build Image::Magick properly you have to specify -lpng -lxml2 > -ljpeg and so on in the LIBS, and to build DBD::Pg you have to specify > -lssl -lcrypto, though it both normally work without the extra nudges.) > > In your case it looks like a broken link to libapreq. i had similar > errors with libapreq built through CPAN.pm, but I vaguely recall that > rebuilding it by hand seemed to work. It wasn't a new apache, though: > just the standard one, and i was so beset with error messages at the > time that it's hard to remember what worked. But ... libapreq is what I am building/testing. I can't link libapreq to itself ... so I have no idea what to do here. Here's the complete error: dyld: /usr/local/apache/bin/httpd Undefined symbols: /Users/pudge/.cpan/build/libapreq-1.3/blib/arch/auto/Apache/Request/Request.b undle undefined reference to _ApacheRequest _post_params expected to be defined in a dynamic image /Users/pudge/.cpan/build/libapreq-1.3/blib/arch/auto/Apache/Request/Request.b undle undefined reference to _ApacheRequest _query_params expected to be defined in a dynamic image [Fri Nov 21 12:48:52 2003] [notice] child pid 1858 exit signal Trace/BPT trap (5) > but most things still just work, for me, including other XSive modules > and heavy linkers like DBD::mysql. I've only had trouble linking to > fink- and cpan-built libraries, now that i think of it. Perhaps there > is a subtle mismatch of compilers or configurations somewhere? Nope. Everything built fresh with same compilers, same perl version. I really hope I don't need to back out of this two-level namespace thing and rebuild everything again. -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/
