On Wed, 22 May 2002, Alan Burlison wrote: > Thanks Doug. I'm using the Apache/perl/mod_perl that will ship as part of > Solaris 9, so I was a little concerned that we'd screwed something up :-)
maybe solaris 9 should include 2.0 instead ;-) > >From your description, I'm guessing that the root cause of this that that > two dlopen'ed shared objects need to be able to cross-call each other, > correct? right. > This might not be of much use if you already have a fix for 2.0, > but I have a little trick which makes this work on Solaris, at least. You > stick the following in the call to WriteMakefile in Makefile.PL > > dynamic_lib => { OTHERLDFLAGS => > '-h $(DLBASE).$(DLEXT) ' . > '-R\$$ORIGIN/.. $(INST_ARCHAUTODIR)/../OtherModule.so' > }, interesting trick. probably won't attempt it for modperl-1.27 tho, since it likely won't work on some platforms and the #perl include feature isn't very high demand.