libgtk issue

I have downloaded a Linux 64 bit binary of http://factorcode.org and want to run it.

The first time I tried running it, it said libgtkglext-x11-1.0.so was missing. So I went to software.opensuse.org, and installed it from there. Now when I try to run factor, I get:


rahul@acb70333:~/Dev/factor> ./factor
Cannot resolve C library function
Symbol: gtk_gl_init
Library: DLL" libgtkglext-x11-1.0.so"
(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
    ]
rahul@acb70333:~/Dev/factor> ./factor
Cannot resolve C library function
Symbol: gtk_gl_init
Library: DLL" libgtkglext-x11-1.0.so"
(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
    ]

How do I fix the problem?

(For what it’s worth, this binary works just fine on my another machine that has Kubuntu 12.04.)

Well it works for me on 12.2 and it worked for me on 12.1 (both 64 bit),
so what openSUSE version are you using?

My factor version may be a bit older (factor-linux-x86-64-0.94.tar.gz),
I can give the most current one a try if you tell me first the answer to
what I asked.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.2 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

Am 03.10.2012 14:19, schrieb Martin Helm:
> Well it works for me on 12.2 and it worked for me on 12.1 (both 64 bit),
> so what openSUSE version are you using?
>
> My factor version may be a bit older (factor-linux-x86-64-0.94.tar.gz),
> I can give the most current one a try if you tell me first the answer to
> what I asked.
>
Ok I can see the error with 0.95


martinh@ganymed:~/Downloads/factor> ./factor
../factor: error while loading shared libraries:
libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file
or directory
martinh@ganymed:~/Downloads/factor>

let me see if I can find a way to resolve that such that it really works.

Ok found it, install gtkglext-devel, this contains some symbolic links
for the .so libs which are obviously needed by the new factor binary.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

Sorry about that. I am running openSUSE 12.2 x86_64. I also added the information to my signature (but can’t see it in the box I am typing this text it in).

The Factor version I am trying to run is 0.95.

Thanks; trying it.

It’s working. Thanks a lot for your prompt help! :slight_smile:

Am 03.10.2012 15:46, schrieb missingfaktor:
> It’s working. Thanks a lot for your prompt help! :slight_smile:
Glad to hear, have much fun.


PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.5 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10