sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Update | Sketchucation Tools 5.0.8 released with licensing improvements and bugfixes Download

    How to unload a .so file?

    Scheduled Pinned Locked Moved Developers' Forum
    18 Posts 4 Posters 1.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dan RathbunD
      Dan Rathbun
      last edited by

      @wikii said:

      Is there a way to unload a loaded *.so file?

      Not really as it's not written in Ruby. It's written in C.

      The solution is to control the Ruby enviroment you are running, so:

      Where and what Ruby version is your so files getting loaded from ??

      What ruby version are you running ??
      In the Ruby Console type:
      RUBY_VERSION
      and
      RUBY_PATCHLEVEL

      What platform are you running on?
      What SketchUp edition, version and MR are you using ??
      (Your forum user info is not displaying this info. Please go to the forum User Control Panel, and enter this info. It will help us help you better, and the forum's cleanup routine will not flag you as needing to be deleted.)

      I'm not here much anymore.

      1 Reply Last reply
      Reply Quote 0
      • thomthomT
        thomthom
        last edited by

        You could do what I did - download the Win32 API from the Win32 Utils project: http://rubyforge.org/projects/win32utils (download the win32-api package), modify it into your own namespace and build your own version.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply
        Reply Quote 0
        • W
          wikii
          last edited by

          @dan rathbun said:

          @wikii said:

          Is there a way to unload a loaded *.so file?

          Not really as it's not written in Ruby. It's written in C.

          The solution is to control the Ruby enviroment you are running, so:

          Where and what Ruby version is your so files getting loaded from ??

          What ruby version are you running ??
          In the Ruby Console type:
          RUBY_VERSION
          and
          RUBY_PATCHLEVEL

          What platform are you running on?
          What SketchUp edition, version and MR are you using ??
          (Your forum user info is not displaying this info. Please go to the forum User Control Panel, and enter this info. It will help us help you better, and the forum's cleanup routine will not flag you as needing to be deleted.)

          Thank you!

          RUBY_VERSION
          1.8.6
          RUBY_PATCHLEVEL
          287

          My platform is win7 64bit.Sketchup version is 8.0.14364.
          And I modified my info in control panel.

          I need more help about unload a .so file.
          Thank you!

          1 Reply Last reply
          Reply Quote 0
          • Dan RathbunD
            Dan Rathbun
            last edited by

            The solution is to control the Ruby enviroment you are running, so:

            Where did you get the .so files that you are trying to load ??

            What Ruby version / patchlevel did they come from ?

            I'm not here much anymore.

            1 Reply Last reply
            Reply Quote 0
            • W
              wikii
              last edited by

              I found that one plugin uses digest.so from ruby 1.8 , another uses digest.so from ruby 1.86.

              1 Reply Last reply
              Reply Quote 0
              • Dan RathbunD
                Dan Rathbun
                last edited by

                Get the full Ruby & install it
                and use the !loadpaths script (or something similar,) to be sure that files from the system Ruby libs are loading.
                http://forums.sketchucation.com/viewtopic.php?t=29412#p257058

                Remove any standard Ruby .so files from plugin dir.

                I'm not here much anymore.

                1 Reply Last reply
                Reply Quote 0
                • Dan RathbunD
                  Dan Rathbun
                  last edited by

                  How are you doing on the so file version situation ??

                  I'm not here much anymore.

                  1 Reply Last reply
                  Reply Quote 0
                  • W
                    wikii
                    last edited by

                    @dan rathbun said:

                    How are you doing on the so file version situation ??

                    I ask the author of the plugin.He told me that plugin use degist.so from 1.8.

                    1 Reply Last reply
                    Reply Quote 0
                    • Dan RathbunD
                      Dan Rathbun
                      last edited by

                      @wikii said:

                      @dan rathbun said:

                      How are you doing on the so file version situation ??

                      I ask the author of the plugin.He told me that plugin use degist.so from 1.8.

                      Well they need to update the plugin, as SketchUp 8 on Win32 uses Ruby v1.8.6-p287 ...

                      I'm not here much anymore.

                      1 Reply Last reply
                      Reply Quote 0
                      • W
                        wikii
                        last edited by

                        @dan rathbun said:

                        @wikii said:

                        @dan rathbun said:

                        How are you doing on the so file version situation ??

                        I ask the author of the plugin.He told me that plugin use degist.so from 1.8.

                        Well they need to update the plugin, as SketchUp 8 on Win32 uses Ruby v1.8.6-p287 ...

                        Thank you!
                        He told me he will.

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement