Koen van der Drift wrote:
> First of all, thanks for all the help and suggestions. Little by little
> I am undestanding more of the whole building process.
> 
> Now for the results :)

> Unfortunately, I still get the same error:
> 
> t/1....Can't load
> '/sw/src/fink.build/bio-emboss-pm588-5.0.0.1-1/Bio-Emboss-5.0.0.1/blib/arch/auto/Bio/Emboss/Emboss.bundle'
> for module Bio::Emboss:
> dlopen(/sw/src/fink.build/bio-emboss-pm588-5.0.0.1-1/Bio-Emboss-5.0.0.1/blib/arch/auto/Bio/Emboss/Emboss.bundle,
> 1): Symbol not found: _XS_Bio__Emboss_ajStrTokenCount

> Actually, if I *do* comment out that line, the error changes to:

> dlopen(/sw/src/fink.build/bio-emboss-pm588-5.0.0.1-1/Bio-Emboss-5.0.0.1/blib/arch/auto/Bio/Emboss/Emboss.bundle,
> 2): Symbol not found: _XS_Bio__Emboss_ajStrTokenCount

> Note the 2) instead of the 1)
> 

That's fine, commenting out that line changed the call to dlopen(). With
it there perl does dlopen("/path/to/bundle",RTLD_LAZY); with it
commented out it does dlopen("/path/to/bundle",RTLD_NOW);
You can see the #defines for these in /usr/include/dlfcn.h.

So, it looks like I had it backwards before, I misread the perl and
figured it was setting PERL_DL_NONLAZY, but of course it is unsetting it :(

Which probably means that the upstream author is aware of the linking
issues and is trying to cover them up :(

> 
> That seems ok to me, since ajStrTokenCount is part of libajax.
> 

Yes, but the loader is not looking for ajStrTokenCount, it is looking
for XS_Bio__Emboss_ajStrTokenCount. And that is undefined.

Did you do jfm's magic on Emboss.bundle?

Peter
-- 
Peter O'Gorman
http://pogma.com

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to