Skip to content

Instantly share code, notes, and snippets.

@brzuchal
Created May 25, 2020 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brzuchal/edf54993fa9ed6684d5c182518256f10 to your computer and use it in GitHub Desktop.
Save brzuchal/edf54993fa9ed6684d5c182518256f10 to your computer and use it in GitHub Desktop.
root@284352ebf2f3:/src# make install
/bin/bash /src/libtool --mode=install cp ./stdng.la /src/modules
cp ./.libs/stdng.so /src/modules/stdng.so
cp ./.libs/stdng.lai /src/modules/stdng.la
PATH="$PATH:/sbin" ldconfig -n /src/modules
----------------------------------------------------------------------
Libraries have been installed in:
/src/modules
...
----------------------------------------------------------------------
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
root@284352ebf2f3:/src# ls -lah /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
total 744K
drwxr-xr-x 1 root root 4.0K May 25 05:23 .
drwxr-xr-x 1 root root 4.0K Feb 1 19:34 ..
-rwxr-xr-x 1 root root 60K May 25 05:23 stdng.so
root@284352ebf2f3:/src# php -dextension=stdng -m
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'stdng' in Unknown on line 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment