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

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

Thread Previous | Thread Next
Leopold Toetsch
September 23, 2005 00:47
Re: loadlib and libraries with '.' in the name
Message ID:

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 
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 shortcut seems to have expired.

> -rm


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About