On 11/03/2014 11:54 PM, John Benediktsson wrote:
Ok, if you look at the top of gtk.ffi vocabulary, you'll see the new way we look for libraries:

    <<
     "gtk" {
        { linux "gtk-x11-2.0" }
        { windows "libgtk-win32-2.0-0" }
    } os of [ find-library cdecl add-library ] when*
     >>


Actually, mine says ...

<<
 "gtk" {
    { linux "gtk-x11-2.0" }
    { windows "libgtk-win32-2.0-0" }
 } os of [ find-library cdecl add-library ] [ drop ] if*
>>

You can test how well the find-library mechanism works by trying it in your listener:

    IN: scratchpad "gtk-x11-2.0" find-library .
    "/usr/lib/libgtk-x11-2.0.so.0"

Is find-library new to 0.97?  Didn't work in the 0.96 listener.


If you want to revert back to the old mechanism, you can replace that "new way" with this "old way":

    <<
     "gtk" {
        { [ os windows? ] [ "libgtk-win32-2.0-0.dll" cdecl add-library ] }
        { [ os macosx? ] [ drop ] }
{ [ os unix? ] [ "libgtk-x11-2.0.so <http://libgtk-x11-2.0.so>" cdecl add-library ] }
    } cond
    >>


Tried that and got the same error.

Should I be working with the compiled Factor?

Hopefully this can get you up and running on the 0.97 release, but I would like to figure out why our find-library isn't working on Ubuntu 14.04.


Intuition tells me that it's not a problem with the 0.97 release, but with the Linux configuration here.

Do you know which package in apt-get is associated with the file, libgtk-x11-2.0.so?

  - mrw


------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to