develooper Front page | perl.perl6.internals | Postings from September 2005

[perl #37258] loadlib and libraries with '.' in the name

From:
Ross
Date:
September 25, 2005 05:26
Subject:
[perl #37258] loadlib and libraries with '.' in the name
Message ID:
rt-3.0.11-37258-121354.8.58782975674799@perl.org
# New Ticket Created by  Ross 
# Please include the string:  [perl #37258]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37258 >



email thread discussing the issue:
     http://www.nntp.perl.org/group/perl.perl6.internals/30979

first pass at a fix is attached. as is a pir file that tests  
possibilities. for local lib tests to work you need libgtk-x11-2.0.so  
in your path and need to symlink to it in your local working  
directory as libgtk-x11-local-2.0.so

the previous code was using some runtime stuff that didn't seem to be  
appropriate as it would incorrectly find files that didn't exist.  
this loads all possible cases i could come up with (loadlibs.pir) if  
there's some sort of libs in the runtime dirs then changes will need  
to be made. feedback welcome, i'm more than happy to rework if desired.

-rm




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About