Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-212

undefined symbol: _mongoc_sasl_set_service_host

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.0
    • Affects Version/s: 0.3.1
    • Component/s: None
    • None
    • Environment:
      Fedora 21, PHP 5.6.7

      Building version without option, or with --with-openssl-dir=/usr --with-mongodb-sasl=/usr

      $ php -d extension=modules/mongodb.so -v
      PHP Warning: PHP Startup: Unable to load dynamic library 'modules/mongodb.so' - modules/mongodb.so: undefined symbol: _mongoc_sasl_set_service_host in Unknown on line 0
      PHP 5.6.7 (cli) (built: Mar 19 2015 13:50:28)
      ...

      Notice, fedora PHP build use RTLD_NOW instead of RTLD_LAZY, this can raise immediate load error, instead of runtime segfaults.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            remi Remi Collet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: