sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    How to unload a .so file?

    Scheduled Pinned Locked Moved Developers' Forum
    18 Posts 4 Posters 1.1k 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      DO you have the .so version that is appropriate to your Sketchup version ?
      Dan has them set out here http://forums.sketchucation.com/viewtopic.php?p=380121#p380121

      TIG

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

        Sounds like your plugin wants to use digest.so

        I'm not here much anymore.

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

          @dan rathbun said:

          Sounds like your plugin wants to use digest.so

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

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            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 Offline
              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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                      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 Offline
                        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 Offline
                          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 Offline
                            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 Offline
                              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
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement