#40771 [NEW]: php5-mysqli-5.2.1_3 have problem after install

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40771 [NEW]: php5-mysqli-5.2.1_3 have problem after install

    From: ls at ispserver dot com
    Operating system: FreeBSD 6.2
    PHP version: 5.2.1
    PHP Bug Type: MySQLi related
    Bug description: php5-mysqli-5.2.1_3 have problem after install

    Description:
    ------------
    after install php5-mysqli-5.2.1_3 extenrtion mysqli.so dont work because
    cant find file

    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/local/lib/php/20060613/mysql.so' - Shared object
    "libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
    line 0

    In server installed

    mysql-client-5.0.33 Multithreaded SQL database (client)
    mysql-server-5.0.33 Multithreaded SQL database (server)

    Expected result:
    ----------------
    # php -m
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/local/lib/php/20060613-debug/mysql.so' - Shared object
    "libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
    line 0
    [PHP Modules]
    bz2
    ctype
    curl
    date
    dom
    filter
    gd
    gettext
    hash
    iconv
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysqli
    openssl
    pcre
    pdf
    PDO
    pdo_sqlite
    posix
    Reflection
    session
    SimpleXML
    SPL
    SQLite
    standard
    tokenizer
    xml
    xmlreader
    xmlwriter
    zlib

    [Zend Modules]


    Actual result:
    --------------
    I fix this by creating symbol link

    /usr/local/lib/mysql# ln -s libmysqlclient.so libmysqlclient.so.14

    lrwxr-xr-x 1 root wheel 20 Mar 10 05:17 libmysqlclient.so ->
    libmysqlclient.so.15
    lrwxr-xr-x 1 root wheel 17 Mar 10 08:37 libmysqlclient.so.14 ->
    libmysqlclient.so
    -rwxr-xr-x 1 root wheel 415293 Mar 10 05:17 libmysqlclient.so.15

    --
    Edit bug report at http://bugs.php.net/?id=40771&edit=1
    --
    Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40771&r=trysnapshot44
    Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40771&r=trysnapshot52
    Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40771&r=trysnapshot60
    Fixed in CVS: http://bugs.php.net/fix.php?id=40771&r=fixedcvs
    Fixed in release: http://bugs.php.net/fix.php?id=40771&r=alreadyfixed
    Need backtrace: http://bugs.php.net/fix.php?id=40771&r=needtrace
    Need Reproduce Script: http://bugs.php.net/fix.php?id=40771&r=needscript
    Try newer version: http://bugs.php.net/fix.php?id=40771&r=oldversion
    Not developer issue: http://bugs.php.net/fix.php?id=40771&r=support
    Expected behavior: http://bugs.php.net/fix.php?id=40771&r=notwrong
    Not enough info: http://bugs.php.net/fix.php?id=40771&r=notenoughinfo
    Submitted twice: http://bugs.php.net/fix.php?id=40771&r=submittedtwice
    register_globals: http://bugs.php.net/fix.php?id=40771&r=globals
    PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40771&r=php3
    Daylight Savings: http://bugs.php.net/fix.php?id=40771&r=dst
    IIS Stability: http://bugs.php.net/fix.php?id=40771&r=isapi
    Install GNU Sed: http://bugs.php.net/fix.php?id=40771&r=gnused
    Floating point limitations: http://bugs.php.net/fix.php?id=40771&r=float
    No Zend Extensions: http://bugs.php.net/fix.php?id=40771&r=nozend
    MySQL Configuration Error: http://bugs.php.net/fix.php?id=40771&r=mysqlcfg
    ls at ispserver dot com Guest

  2. Similar Questions and Discussions

    1. #38841 [Asn]: Unable to load dynamic library '/usr/lib/php5/extensions/mysqli.so'
      ID: 38841 Updated by: hholzgra@php.net Reported By: albertbrian at gmail dot com Status: Assigned Bug Type: ...
    2. php5 OOP problem
      Anyone see a problem with this section of code? When I try to use the setSql() method I get the following error. Fatal error: Using $this when...
    3. PHP5 problem
      Hello all, I upgrade my php version 4.3.3 to PHP 5, when i try to run my previous website it give follwing error, But previously it is working...
    4. Help with a PHP5 problem
      > Hi, that pass
    5. Compiling php5 with mysqli support
      I tryed to compile php5 (a dev snapshot) --with-mysqli=/usr/local/bin/mysql_config The configuration works just fine but the compilation crash...
  3. #2

    Default #40771 [Opn->Bgs]: php5-mysqli-5.2.1_3 have problem after install

    ID: 40771
    Updated by: [email]tony2001@php.net[/email]
    Reported By: ls at ispserver dot com
    -Status: Open
    +Status: Bogus
    Bug Type: MySQLi related
    Operating System: FreeBSD 6.2
    PHP Version: 5.2.1
    New Comment:

    Please report this problem to FreeBSD port maintainers.



    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-10 07:17:01] ls at ispserver dot com

    Description:
    ------------
    after install php5-mysqli-5.2.1_3 extenrtion mysqli.so dont work
    because cant find file

    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/local/lib/php/20060613/mysql.so' - Shared object
    "libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
    line 0

    In server installed

    mysql-client-5.0.33 Multithreaded SQL database (client)
    mysql-server-5.0.33 Multithreaded SQL database (server)

    Expected result:
    ----------------
    # php -m
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/local/lib/php/20060613-debug/mysql.so' - Shared object
    "libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
    line 0
    [PHP Modules]
    bz2
    ctype
    curl
    date
    dom
    filter
    gd
    gettext
    hash
    iconv
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysqli
    openssl
    pcre
    pdf
    PDO
    pdo_sqlite
    posix
    Reflection
    session
    SimpleXML
    SPL
    SQLite
    standard
    tokenizer
    xml
    xmlreader
    xmlwriter
    zlib

    [Zend Modules]


    Actual result:
    --------------
    I fix this by creating symbol link

    /usr/local/lib/mysql# ln -s libmysqlclient.so libmysqlclient.so.14

    lrwxr-xr-x 1 root wheel 20 Mar 10 05:17 libmysqlclient.so ->
    libmysqlclient.so.15
    lrwxr-xr-x 1 root wheel 17 Mar 10 08:37 libmysqlclient.so.14 ->
    libmysqlclient.so
    -rwxr-xr-x 1 root wheel 415293 Mar 10 05:17 libmysqlclient.so.15


    ------------------------------------------------------------------------


    --
    Edit this bug report at http://bugs.php.net/?id=40771&edit=1
    tony2001@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139