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

Re: loadlib and libraries with '.' in the name

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
September 23, 2005 00:47
Subject:
Re: loadlib and libraries with '.' in the name
Message ID:
036809efdbd149a178c173c88e6b84a8@toetsch.at

On Sep 23, 2005, at 7:51, Ross McFarland wrote:

> i was playing around with NCI stuff tonight and ran across a problem 
> in loadlib. the following code does not work:
>
>     .local pmc lib_gtk
>     lib_gtk = loadlib "libgtk-x11-2.0"

The need for such libnames arises typically on debian and alikes, where 
not all -devel packages are installed. I see two possibilities here:
1) demand from user to either install the -devel pkg or symlink the 
shortname
2) Parrot stops trying to  ...

>     ext_start = strrchr(*lib_name, '.');

... strip extensions.

> i was planning on playing around with gtk+ bindings and parrot and 
> went about looking around for the work that had already been done and 
> didn't turn anything up. if anyone knows where i can find it or who i 
> should talk to i would appreciate that info as well.

Google for "NCI gtk". There is also a weekly summary entry but the 
xrl.us shortcut seems to have expired.

> -rm

leo


Thread Previous | Thread Next


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