Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Fatal Error Resolved - .so - Dynamic Library - OpenId


Go to End


2 Posts   2970 Views

Avatar
BigB

Community Member, 9 Posts

26 January 2008 at 3:02am

Edited: 28/01/2008 7:40am

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

Avatar
(deleted)

Community Member, 473 Posts

26 January 2008 at 8:00am

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 (;