Search code examples
rubylinuxeclipseunixfxruby

Library not recognized in Linux environment


I installed "eclipse" and want to run "fxruby" on fedora "linux", but it does not work it. The error says :

cannot load such file -- fox16 (LoadError)

I installed this file with command

gem install fxruby

but fxruby not exist in gem list.

How can i fix it?


Solution

  • solved for fedora


    i installed all of them :

    ruby-devel.x86_64

    fox-devel.x86_64

    sudo dnf install redhat-rpm-config

    yum groupinstall 'Development Tools'

    yum group info 'Development Tools' yum -y install gcc ruby-devel

    rubygems compass

    gcc compt gcc-c++-x86_64-linux-gnu.x86_64

    gcc-c++

    [
    gcc-c++-8.2.1-4.fc28.x86_64 C++ support for GCC libstdc++-devel-8.2.1-4.fc28.x86_64 Header files and libraries for C++ development

    ]

    sudo dnf install libpng12-devel.x86_64

    sudo dnf install libb2-devel.x86_64

    sudo dnf install libX11-devel

    sudo dnf install libXcursor-devel.x86_64

    sudo dnf install libXext-devel.x86_64 libXrandr-devel.x86_64

    gem install fxruby