Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal Error Resolved - .so - Dynamic Library - OpenId

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1869 Views
  • BigB
    Avatar
    Community Member
    9 Posts

    Fatal Error Resolved - .so - Dynamic Library - OpenId Link to this post

    Although I am very surprised someone from the SS core team did not touch upon this error after it was posted twice (and I sent the error to the core team requesting I pay them for support as it was important and was simply asked to post on the forum)... I am happy to say that one reply by a kind designer did point us in the right direction with the dynamic libraries not loading and we were able to clear up the error. I would suggest that the core team review this since they do answer many posts yet could not answer mine.

    In short, you need to:

    - access to the master php.ini of the server, which you will need SSH access in order to edit
    - recompile PHP on your server to use suPHP, which will allow you to have your own local php.ini file in your account so you don't need to edit the master one.
    - move the .so file to the extensions directory and add it to the php.ini
    - remove the Open/Id - it does not need to be there

    ______________________________

    The following error shows up on login and withing the cms as well as on the client facing site by users (seemingly on a random basis)... randomly and not on any particular page or in any pattern.

    It began to occur upon adding modules, all of which we need.

    Any help is well appreciate.

    Fatal error: Uncaught exception 'Exception' with message 'dl() [<a href='function.dl'>function.dl</a>]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/gmp.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/gmp.so: cannot open shared object file: No such file or directory' in /home/design27/public_html/auth_openid/code/Auth/OpenID/BigMath.php:379 Stack trace: #0 /home/design27/public_html/auth_openid/code/Auth/OpenID/BigMath.php(379): dl() #1 /home/design27/public_html/auth_openid/code/Auth/OpenID/BigMath.php(438): Auth_OpenID_detectMathLibrary() #2 /home/design27/public_html/auth_openid/code/Auth/OpenID.php(99): Auth_OpenID_getMathLib() #3 /home/design27/public_html/auth_openid/code/Auth/OpenID/Consumer.php(163): require_once('/home/design27/...') #4 /home/design27/public_html/auth_openid/code/OpenIDAuthenticator.php(23): require_once('/home/design27/...') #5 /home/design27/public_html/sapphire/core/Core.php(63): include_once('/home/design27/...') #6 /home/design27/publi in /home/design27/public_html/auth_openid/code/Auth/OpenID/BigMath.php on line 379

  • simon_w
    Avatar
    Forum Moderator
    473 Posts

    Re: Fatal Error Resolved - .so - Dynamic Library - OpenId Link to this post

    This is because your version of PHP isn't compiled to handle loading dynamic libraries, which some modules (like auth_openid) require.

    I got told off for breaking SilverStripe due to the same problem (;

    1869 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.