Outils pour utilisateurs

Outils du site


tech:pb_php_startup_-_unable_to_load_dynamic_library

Pb PHP Warning: PHP Startup: Unable to load dynamic library

su - apache
cd /var/www/plop
php symfony cc
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mapscript.so' - libhdf5.so.6: cannot open shared object file: No such file or directory in Unknown on line 0

On test en changeant le LD_LIBRARY_PATH

export LD_LIBRARY_PATH=/usr/lib64/mpich/lib/
php symfony cc

Ça marche !

Voir aussi

env LD_LIBRARY_PATH=/run/current-system/sw/lib:$LD_LIBRARY_PATH

Rendre la manip permanante

Pour ne pas a avoir à exporter systématiquement LD_LIBRARY_PATH

/etc/ld.so.conf.d/mpich-x86_64.conf

/usr/lib64/mpich/lib
ldconfig

Autres

ldconfig en lecture seule (pas besion de compte root)

/sbin/ldconfig -NXv |grep mpich
tech/pb_php_startup_-_unable_to_load_dynamic_library.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki