Sierra and Photos: unable to load library of pictures located on a NAS

I have a 300 GB photo library located on a NAS.

No problem with El Capitan and Yosemite.

With Sierra when I opened the Photos I had a spinning wheel and even after a night full, nothing happened (Finally, the NAS disconnected... but I think it's something Sierra... never happened before)

Now, I am trying to get all the Masters folder within the library of Photos...

I have the same problem. Cannot open the pictures library that is located on a Synology NAS. Finder (not answer)

Tags: Mac OS & System Software

Similar Questions

  • Unable to load library ' / usr/lib64/php/modules/oci8.so'-libclntsh.so.11.1

    Hi all


    I have a problem with installing OCI8 and I would be grateful if you could kindly guide me how to solve this problem.

    I started to read the following articles to find out how to install the package OCI8 to install between PHP and oracle

    http://www.php.net/manual/en/oci8.installation.php

    http://www.Oracle.com/technetwork/articles/TechNote-PHP-instant-084410.html


    Here is my description of the environment
    OS: Fedora Core 17 (X86_64)
    Oracle version: Oracle Enterprise Edition 11gR2 (11.2.0.1.0) X86_64
    PHP Version: 5.4.13
    Apache version: 2.2.23
    Just a detail: almost every documentation begins by explaining the instant client installation. However, on the same physical machine, before you even install Apache and PHP. Oracle server was completely installed, i.e. both server and client (SQL * Plus, SQL * Loader,...). Accordingly, I have omitted this step in the documentation and I continued by measured install OCI8 and apparently everything has been compiled successfully (no error message).

    Problem: OCI8 does not appear in the phpinfo() function

    This suggests that there is a problem. I'll write exactly how I did and I would be grateful if you could well want to take a look at these steps and say if I made errors

    I started by running as ROOT. As I said the oracle server has already been installed on the machine and therefore all environment variables required as LD_LIBRARY_PATH ORACLE_SID,... have already been defined in ~/.bash_profile
    And if you look at the output below, you can see that for example ORACLE_HOME is detected automatically during the installation (* check Oracle ORACLE_HOME install directory... u01/app/oracle/product/11.2.0/db_1*)
    # pecl install oci8
    It gave me the following result
    # pecl install oci8
    downloading oci8-1.4.9.tgz ...
    Starting to download oci8-1.4.9.tgz (169,255 bytes)
    .....................................done: 169,255 bytes
    10 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : 
    building in /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9
    running: /var/tmp/oci8/configure --with-oci8
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
    checking for PHP extension directory... /usr/lib64/php/modules
    checking for PHP installed headers prefix... /usr/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for Oracle Database OCI8 support... yes, shared
    checking PHP version... 5.4.13, ok
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking size of long int... 8
    checking checking if we're on a 64-bit platform... yes
    checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1
    checking ORACLE_HOME library validity... lib
    checking Oracle library version compatibility... 11.1
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) gawk
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... no
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating ./config.status
    config.status: creating config.h
    config.status: executing libtool commands
    running: make
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8.c -o oci8.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_lob.c -o oci8_lob.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c  -fPIC -DPIC -o .libs/oci8_lob.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_statement.c -o oci8_statement.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c  -fPIC -DPIC -o .libs/oci8_statement.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_collection.c -o oci8_collection.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c  -fPIC -DPIC -o .libs/oci8_collection.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_interface.c -o oci8_interface.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c  -fPIC -DPIC -o .libs/oci8_interface.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules  oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh
    libtool: link: cc -shared  -fPIC -DPIC  .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o   -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh  -O2 -Wl,-rpath -Wl,/u01/app/oracle/product/11.2.0/db_1/lib   -Wl,-soname -Wl,oci8.so -o .libs/oci8.so
    libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" )
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=install cp ./oci8.la /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    libtool: install: cp ./.libs/oci8.so /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.so
    libtool: install: cp ./.libs/oci8.lai /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.la
    libtool: finish: PATH="/usr/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/op
    t/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/sbin" ldconfig -n /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    
    Build complete.
    Don't forget to run 'make test'.
    
    running: make INSTALL_ROOT="/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" install
    Installing shared extensions:     /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/
    running: find "/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" | xargs ls -dils
    3679979   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9
    3680009   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr
    3680010   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64
    3680011   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php
    3680012   4 drwxr-xr-x. 2 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules
    3680008 596 -rwxr-xr-x. 1 root root 606865 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/oci8.so
    
    Build process completed successfully
    Installing '/usr/lib64/php/modules/oci8.so'
    install ok: channel://pecl.php.net/oci8-1.4.9
    configuration option "php_ini" is not set to php.ini location
    You should add "extension=oci8.so" to php.ini
    # 
    Once installed OCI8 I've updated the */etc/php.ini* accordingly, by adding the following entries
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ;   extension=modulename.extension
                           .
                           .
                           .
    extension=oci8.so
                           .
                           .
                           .
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;
    ;
                           .
                           .
                           .
    extension_dir="/usr/lib64/php/modules"
    Also I updated the * / etc/sysconfig/httpd * in order to export the specified operating system environment variables set. So I added the following lines at the end of the file
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    LD_LIBRARY_PATH64=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
    NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_SID=db01
    To verify that these values are actually taken into account by Apache, I run
    # service httpd restart
    Can I run a PHP script with the phpinfo() function and present especially in the environment section were the values above the LD_LIBRARY_PATH variable.

    As I said, however, there is no OCI8 input output of the phpinfo() function. I checked the apache log file and saw that there is a problem
    # cat /var/log/httpd/error_log
    [Thu Apr 04 16:02:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Thu Apr 04 16:02:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Apr 04 16:02:13 2013] [notice] Digest: generating secret for digest authentication ...
    [Thu Apr 04 16:02:13 2013] [notice] Digest: done
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2.
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
    [Thu Apr 04 16:02:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
    #
    What I understand log above, is that the libclntsh.so.11.1 shared library is not found. Yet I checked and saw that it is present in LD_LIBRARY_PATH
    # locate libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/inventory/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/inventory/backup/2012-06-25_12-08-41PM/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.10.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    # 
    If the last line, shows that the specified library exists in * / u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1*.

    So I seem really what is the problem and the strangest thing is that, in the command line PHP seems to detect my oracle server settings.
    $ php --ri oci8
    
    oci8
    
    OCI8 Support => enabled
    Version => 1.4.9
    Revision => $Id: e2241cffb72c940cb2ca267b7a6a0ce436de7e5e $
    Active Persistent Connections => 0
    Active Connections => 0
    Oracle Run-time Client Library Version => 11.2.0.1.0
    Oracle Version => 11.2
    Compile-time ORACLE_HOME => /u01/app/oracle/product/11.2.0/db_1
    Libraries Used => -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib  -lclntsh
    Temporary Lob support => enabled
    Collections support => enabled
    
    Directive => Local Value => Master Value
    oci8.max_persistent => -1 => -1
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    oci8.default_prefetch => 100 => 100
    oci8.old_oci_close_semantics => Off => Off
    oci8.connection_class => no value => no value
    oci8.events => Off => Off
    $ 
    I thought that maybe there are several different php.ini and one used in GUI is not the same used in CLI but research has shown that there is only a single php.ini file
    # locate php.ini
    /etc/php.ini
    #
    #
    # php -i | grep Configuration
    Configuration File (php.ini) Path => /etc
    Loaded Configuration File => /etc/php.ini
    Configuration
    #
    It's almost 3 days I'm Googling to find a solution to this problem without success.

    So, could someone help me, what is the problem? Why the OCI8 module cannot be loaded by PHP and become visible in the output of the phpinfo() function?


    Thanks in advance,

    Kind regards
    Dariyoosh

    Since you say that the PHP command line is OK, I'm sure the problem comes from the Apache environment variables set.
    The last time I saw a similar problem, it was because I forgot to use "export". It was on Oracle Linux, equivalent to RHEL.

    I can't explain a couple of your most recent results, for example what you're seeing when using 'export' in/etc/sysconfig/httpd.

    Try to disable SELinux. On Oracle Linux would change/etc/selinux/config, SELINUX set to DISABLED and reboot. See also the setenforce command.

    About starting Apache, you must use apachectl start or /etc/init.d/httpd only if you set environment variables in your shell terminal and you want those to go down to Apache. If you look at the script of shell/sbin/service (Linux, Oracle), you can see that it works 'env-i' to start with a vacuum environment. If the environment values that you set in the terminal shell would be ignored. That's why they should be added to/etc/sysconfig/httpd when using 'service '.

    Oh, and don't forget to give the permissions for the owner of the process Apache to read the Oracle libraries and other data files in u01/app/oracle/product/11.2.0/db_1. After a new installation of DB I always change the permissions on the ~ 700 to 755 oracle directory. See 'frequently observed connection and environment errors.
    page 107 of the book.

  • Sierra and photos?

    I use iPhoto and Photos app to keep my photos. How will affect Sierra these applications?

    You'll have to wait until the Sierra was released because it is still in beta and subject to change. What I can tell you (from comment around the internet), is that the Photos are updated in the Sierra and iPhoto remains the same. But wait a day or two after that that it is released and see notes on the final version before the update - and of course make a backup.

  • Fatal error: unable to load library "pdh.dll."

    When I double click on Skype icon, a dialog box appears. It says "Fatal error" at the top, and inside, it says: "cannot load library 'pdh.dll.'" "I can't Skype to open at all.

    I used Skype without problem the day before, and I did nothing for all the files or anything like that. I don't think so.

    I restarted my computer, uninstalled and reinstalled Skype and entered %APPDATA%\microsoft\windows\sendto and renamed the Skype folder, tried to open Skype, then renamed the file back again. None of this has worked.

    I did a scan for Malware, and he came clean. I am running a virus scan.
    Can someone help me?

    Try to run the tool (sfc.exe) System File Checker

    http://support.Microsoft.com/kb/929833

  • iPhoto and photos, delete the iPhoto library?

    After that I've migrated a default iPhoto library during installation of the Photos, I no longer intend to use iPhoto,

    Delete the iPhoto library?

    If so, which file to remove - see PHOTO...

    All this without losing any data.

    PS

    I also use iCloud photo library - with my iOS and OS X devices - what is here?

    Thank you.

    You will not lose data if you delete the iPhoto library - you don't have an it's one you delete

    However is it discouraged because it will save very little space and you may want to or have need of the later - iPhoto library it is best to wait at least three months and when you remove it remember to archive everything first just in case where you want or need

    LN

  • Firefox forget profile and says "unable to load Your Firefox profile"

    Win7 64 bit, Firefox 24

    • I have Firefox installed on my drive C. I created a profile on my drive d. (by the way: I also Thunderbird installed on my C drive, with a profile on my C drive; the reason for my Firefox profile to reside on drive D is that it is pretty huge, and the COMPUTER does not)
    • Whenever I restart my computer, Firefox forgets that my profile is on my D drive. I get a warning "cannot load your Firefox profile. It may be missing or inaccessible.
    • Firefox.exe Pei learns that Firefox created a (inactive) profile called "default".
    • Create a new profile and that points to the profile on my D drive folder solves the problem until the next reboot.
    • Completely remove Firefox and reinstalling has not solved my problem.

    You can try to create a desktop shortcut that starts Firefox via an absolute path to the profile folder.

  • Unable to load library "d3d9.dll".

    Get the above error, and when I run regsvr32 I get this error. "The 'd3d9.dl' module was loaded, but the DllRegisterServer entry point was not found. Make sure 'd3d9.dll' is a valid DLL or OCX file and then try again. "I downloaded and installed the latest version of DirectX, and that did not help.

    Running WIndows 7 64 - bit WIndows update is current as of today, 26/03/12.

    Any idea on how to solve this problem?

    Download and reinstall DirectX package will not help you in this case especially because d3d9.dll is a base file of Windows 7 (part of Windows 7). You're better advised with any type of system repair (restoring from a restore point 'good', from a system backup using system repair options - restart with type F8 before Windows starts - or by using the OEM recovery features).

  • Card SD and photos - where can I find the pictures after I put it inside the slot smart media

    I have a micro sd card in the regular sd card.  I put it inside the smart desktop media slot and the little light turned green, where can I find photos?

    Open computer and you should see a new drive letter. Can say new Drive X or X to removable disk, etc. Click on it.

  • Suddenly icloud calendar does not load on my Lenovo PC.  Has worked for months;  iCloud contacts and photos both continue to operate.  Any suggestions?

    Suddenly icloud calendar does not load on my Lenovo PC.  Has worked for months;  iCloud contacts and photos both continue to operate.  Any suggestions?

    Hi scschwind,

    I understand that you are having problems with your iCloud calendar on your Windows computer. Here is an article for you that will help you solve this problem:

    Microsoft Windows (Microsoft Outlook)

    After each step, check to see if the problem persists.

    Check the system requirements

    Make sure that your PC meets the system iCloud.

    Check your Internet connection

    1. Try to go to www.apple.com. If you are unable to connect to the Internet, your iCloud calendars and events does not update in Outlook. Get help with your Internet connection.
    2. Try to open a secure Web site to your PC to see if you can access the ports 80 and 443. If the site does not open, you do not have access. Contact your ISP for help. Safari requires access to port 443 to push updates between iCloud and your devices.

    Check your settings

    ICloud opened for Windows and make sure that you are connected to the same iCloud account that you use on your other supported devices.

    Update Outlook

    If you have recently made changes in Outlook that are not updated on your other devices (or vice versa), click the Refresh button on Outlook.

    Turn off iCloud calendar and turn it back on

    1. Close Outlook.
    2. ICloud opened for Windows.
    3. Uncheck the Mail, Contacts, calendars, & tasks and click on apply.
    4. Wait a few seconds. Select Mail, Contacts, calendars, & tasks and click on apply.
    5. Open Outlook.

    Make sure that the Outlook Add-in iCloud is enabled in Outlook

    In Outlook 2010 and later:

    1. Click on the file menu.
    2. Click Options in the left panel.
    3. Click on add-ins in the left panel of the window Options in Outlook.
    4. Look at the list of add-ins in the section Active Application Add-Ins.
    5. Select the Outlook Add-in iCloud.

    In Outlook 2007:

    1. On the Tools menu, select Management Center.
    2. Select Add-ins in the left column.
    3. Look at the list of add-ins in the section Active Application Add-Ins.
    4. Select the Outlook Add-in iCloud.

    Make sure that iCloud is not your default account in Outlook

    • In Outlook 2010 and later, select file > Info > Account Settings > data files. If iCloud is listed as default account in the comments column, select another account and click on set as default.
    • In Outlook 2007, select file > data file management > data files. If iCloud is listed as default account in the comments column, select another account and click on set as default.

    Restart your computer

    After you restart your computer, see if you solved the problem.

    Find your calendar in Microsoft Outlook

    Learn how to manage Add-ins with Microsoft Outlook.

    1. Make sure that the calendar is enabled in iCloud for Windows.
    2. Locate your data in the iCloud folder in Outlook. You can also view your data in deleted items in your Outlook folder list.

    If you find your calendar data in the deleted items folder, it is not because iCloud deleted your data. When you turn on Mail, Contacts, calendars, & tasks in iCloud for Windows, iCloud copy your calendar for the default Outlook .pst file data in iCloud. Then iCloud removes the calendar of the .pst file data by placing it in the folder deleted in Outlook items. Calendar data then moves to the iCloud data set in Outlook so that iCloud can push data to and from Outlook.

    Get help using iCloud calendar - Apple Support

    https://support.Apple.com/en-us/HT203521

    Thank you for using communities Support from Apple!

  • Unable to load the shared library LVASPT_WA.*

    Hello

    I have a hope that easy to fix the error: I want to use the function "WA Detrend' to the signal processing tool advanced in a real-time application running on a cRio 9030. When I try to run the VI I get the following error:

    ...

    Deployment NI_AdvSigProcWA.lvlib:WA decimation Filter.vi

    NI_AdvSigProcWA.lvlib:WA decimation Filter.vi loaded with errors on the target and was closed.
    LabVIEW: Unable to load the shared library LVASPT_WA.*ptDecimationFilterH:C. make sure that the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    ...

    I reinstalled signals Advanced processing toolkit and linked things 'add new software' MAX, but the error persists.

    A picture of what the system looks like to the MAX is attached.

    Also, I Fund this post:

    http://forums.NI.com/T5/LabVIEW/problem-error-deploying-item-on-RT/m-p/3201345/highlight/true#M92822...

    could someone tell me what he means by "Please check the installation of the custom software all mode '?

    Can you telll me what I am doing wrong?

    Thank you very much in advance!

    I ran your situation in R & D, and the problem seems to be as a result of Advanced Signal Processing Toolkit is not not compatible on the x 64 under Linux RT OS in the 9030.  The product page could be clearer on this gap.  I am currently a web application to get this fixed!

    Best,

    David

  • Error opening a VI (LabVIEW: unable to load dynamic library due to lack of external symbols or dependencies, or a format file not valid.) The file could not be loaded)

    Hi all!

    Yesterday, I worked all day in a VI and today, unfortunately, I'm frustrated when I tried to open it. Received the following error message:

    LABVIEW: Unable to load dynamic library due to lack of external symbols or dependencies, or a format file not valid. The "ENG633 v1.vi" file could not be loaded.

    This message repeats when I try else open a Subvi.

    Step by step:

    1. I created a copy of the LabVIEW VI example: "FuzzyEx Tanks with control of PI." I kept the copy in the same original directory.

    2 - I have edited the copy, created Subvi etc.

    3 - once I finished my course of programming I closed all the cut (ctrl-x) files and copied (ctrl v) into the other folder.

    4. then I tried to open the next day and... bug! I just couldn't do

    What can I do to open/recover the VI?

    I am using 32-bit LabVIEW 2016 in a Windows 10

    I tried opening them and got the same error you did, so I them opened with a hex editor to see if there was something in the file, and there is literally nothing other than the value of 0x00 for the entire file.

  • Unable to load the shared library nilvce.*

    When you try to deploy a Labview 2009 real-time application, I get the message:

    Deployment XDNodeRunTimeDep.lvlib:loadnilvce.viXDNodeRunTimeDep.lvlib:loadnilvce.vi loaded with errors on the target and was closed.

    LabVIEW: Unable to load the shared library nilvce. *: niLVCtrlEngineReserveProc:C on the target RT device.
    Completed with errors of deployment

    I reformatted the CRIO-9073 and reinstalled the software, but this did not help.

    Any ideas on how to solve this problem?

    I was able to solve this problem by changing the settings in a timed loop Structure.

    The Source Type has been set to "synchronize in the scan engine.  This change to the problem solved 1 kHz clock source.

    This vi was initially written for the interface of the scan engine and reused on another project that uses the FPGA interface.

  • Error message "unable to load the shared library.

    I try to get my programs for school to work, and I get these error message whenever I try to run anything. The last line of the State of deployment is as follows:

    Deployment time get NLVSim and isAcceptedStep.vi IsAcceptedStep.vi and NILVSim get busy with errors on the target and has been closed.

    LabVIEW: Unable to load the shared library NILVSim.*: SIM_GetTimeAndIsAccepted:C. make sure the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    I tried everything I can think of to fix this. I checked NEITHER Max and I'm all for date on the software. I reinstalled LabVIEW twice, and I reset my myRIO. My classmates do not experience problems with getting theres to work. I start to lose hope and hope someone might know what the question. Thank you for your help.

    WubaDee,

    NILVSim is part of the LV Control Design and Simulation Module. This one is correctly installed on your Windows development system and you installed it on your myRIO?

    Norbert

  • Update for Sierra and now my Apple music does not appear I have a subscription and I am unable to get my music on the cloud?

    Update for Sierra and now my Apple music does not appear I have a subscription and I am unable to get my music on the cloud?

    Hey there Scotchman2926,

    I understand that you are experiencing some problems with Apple music on Sierra. I have a few suggestions to help you solve this problem. First of all, if you are unable to access the iTunes Store as well as music from Apple, use the information in this article to help resolve this problem:

    If you cannot connect to the iTunes Store - Apple Support

    If this does not resolve the problem, you might try signing out of your Apple ID in iTunes and then connect again.

    Thanks to be come to the communities of Apple Support and let us know how it goes.

    See you soon.

  • can photos and opening to share a library?

    Can photos and opening to share a library?

    I want to share so I can use photos to back up the library in iCloud, but want to do all my work photo still open... is this possible?

    No, I cannot open to open a library of Photos.   It is only one-way: migrate an Aperture to photo library.

    Once the photos or Photos you can send them to your Aperture library to edit using the command share > add to open "", if you want o send to open for editing.

Maybe you are looking for