factor / factor

Factor programming language
https://factorcode.org/
BSD 2-Clause "Simplified" License
1.62k stars 205 forks source link

Can't start editor due to missing library on Ubuntu 14.04 #1241

Closed hhamilto closed 9 years ago

hhamilto commented 9 years ago

I ran the command for ubuntu listed here: http://concatenative.org/wiki/view/Factor/Requirements Error:

Library: DLL" /usr/lib/libgtk-x11-2.0.so.0"
Symbol: gtk_init
DlError: none
See http://concatenative.org/wiki/view/Factor/Requirements
(U) Quotation: [ c-to-factor -> ]
    Word: c-to-factor
(U) Quotation: [ [ catchstack* push ] dip call -> catchstack* pop* ]
(O) Word: command-line-startup
(O) Method: M\ gtk-ui-backend (with-ui)
(U) Quotation: [
        OBJ-CURRENT-THREAD special-object error-thread set-global
        current-continuation -> error-continuation set-global
        [ original-error set-global ] [ rethrow ] bi
    ]

Computer info:

$ uname -a
Linux alpha 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
 Codename:  trusty
mrjbq7 commented 9 years ago

Thanks for the bug report!

If you're using the 0.97 release, we've had a similar report before. Possible fixes:

1) locally reload gtk:

$ cd $FACTOR
$ ./factor -run=listener
IN: scratchpad "gtk.ffi" reload
IN: scratchpad save
^D

2) or download the nightly builds which have should have fixed this problem.

Can you try and let me know if it fixes it for you?

hhamilto commented 9 years ago

I did #1 and it works now! thanks so much for the fast response!

hhamilto commented 9 years ago

I was using version 0.97