Koen van der Drift wrote:
> On Dec 2, 2007, at 10:55 AM, Koen van der Drift wrote:

>> But, I now get another similar 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
>>  Referenced from: /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
>>  Expected in: dynamic lookup
>> at t/1.t line 11
> 
> 
> 
> OK, I solved that by commenting out the following line in the test file:
> 
> BEGIN { delete $ENV{PERL_DL_NONLAZY}; };

Yes, this makes it pass RTLD_NOW to dlopen() which is similar to setting
DYLD_BIND_AT_LAUNCH. It should work with this set, if it does not it
means there is a missing lib or symbol when linking the loadable bundle.

> 
> 
> However, now I get the following, again similar 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, 2): Symbol not  
> found: _XAllocColor
>    Referenced from: /sw/lib/EMBOSS/libeplplot.3.dylib
>    Expected in: dynamic lookup
>   at t/1.t line 11
> Compilation failed in require at t/1.t line 11.

Did you check with otool -L that libeplplot loads libX11?

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