|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-09-18 16:00 UTC] flconseil at yahoo dot fr
Description: ------------ Building PHP 5.1.6 on AIX 5.2. GD compiled in shared mode. gd.so is linked without the math library (-lm). Then, when loading the GD extension, we get an error for all the math functions it is using (sqrt(), ...). Workaround: after having built everything and before install : rm ext/gd/gd.so gmake LDFLAGS="$LDFLAGS -lm" and, now, it can be loaded. Reproduce code: --------------- ./configure --with-gd=shared and then loading gd. Expected result: ---------------- load OK Actual result: -------------- I don't have the exact messages but they are all about unsesolved symbols from the math library (there is at least sqrt()). PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 02:00:01 2025 UTC |
Same problem with 5.1.2. Here are the exact error messages : PHP Warning: dl(): Unable to load dynamic library '/logi/http/php/lib/php/extensions/gd.so' - rtld: 0712-001 Symbol sqrt was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol atan2 was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol sin was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol cos was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol tan was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol floor was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition o in /logi/http/comp/util/.data/test.php on line 22 Warning: dl(): Unable to load dynamic library '/logi/http/php/lib/php/extensions/gd.so' - rtld: 0712-001 Symbol sqrt was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol atan2 was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol sin was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol cos was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol tan was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol floor was referenced from module /logi/http/php/lib/php/extensions/gd.so(), but a runtime definition o in /logi/http/comp/util/.data/test.php on line 22