php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56604 php_yaz.dll not loaded
Submitted: 2005-10-20 03:56 UTC Modified: 2017-01-22 04:22 UTC
Votes:8
Avg. Score:3.4 ± 0.9
Reproduced:5 of 5 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: michel dot ruillet at hermescc dot fr Assigned:
Status: No Feedback Package: yaz (PECL)
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-10-20 03:56 UTC] michel dot ruillet at hermescc dot fr
Description:
------------
pecl-5.0.5-Win32.zip

Reproduce code:
---------------
;Windows Extensions
;Note that ODBC support is built in, so no dll is needed for it.
;

extension=php_yaz.dll

Actual result:
--------------
Error messages when running PHP in command mode:
- Entry point of procedure _ZOOM_query_cql@8 not found in dynamic loadable library  yaz.dll
- PHP Startup: Unable to load dynamic library
'C:\PHP\ext\php_yaz.dll' - Specified procedure not found.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-01 07:18 UTC] adam at indexdata dot dk
You must use YAZ.DLL with version 2.0.13 or later.

The YAZ.DLL version that is shipped with
php-5.0.5-win32.zip is version 1.9.1 and does not work.

YAZ.DLL is part of 
 http://ftp.indexdata.dk/pub/yaz/win32/
.. when installed copy yaz.dll from yaz\bin to a location in your path (\winnt\system32 or similar).
 [2005-11-01 12:09 UTC] michel dot ruillet at hermescc dot fr
Thanks for your early answer.
Unfortunately, the problem is still present.

I've downloaded yaz 2.0.13, as well as the latest 2.1.8 releases.
After installing yaz_xxx.exe, I moved yaz.dll from YAZ\bin to PHP\ext directory.
I've added the following line in the php.ini file.
When typing the "php -help" command, I get the following error message :
PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'yaz.dll' in Unknown on line 0
 [2005-11-01 12:14 UTC] michel dot ruillet at hermescc dot fr
Sorry, I missed a line in my last note
The added line in php.ini is :
extension=yaz.dll
 [2005-11-01 19:48 UTC] adam at indexdata dot dk
php_yaz.dll is fine and should be loaded from php.
In php.ini write:
 extension=php_yaz.dll
NOT yaz.dll.

php_yaz.dll depends on yaz.dll (just as php_mysql.dll could depend on mysql.dll). And it's yaz.dll part of PHP that is no good (1.9.1). Use yaz.dll from the YAZ site.
 [2005-11-02 02:07 UTC] michel dot ruillet at hermescc dot fr
Now, it works fine. Thanks
 [2006-03-14 06:56 UTC] r dot raimbert at lasentinelle dot mu
Xampp on Win98

When I activate php_yaz.dll in php.ini Apache starts but I cannot load anything. 
I've tried adam's recipe. To no avail.
 [2017-01-10 07:48 UTC] kalle@php.net
-Status: Assigned +Status: Feedback -Assigned To: edink +Assigned To:
 [2017-01-10 07:48 UTC] kalle@php.net
Unassigning Edin as he have sadly passed away.

Note to the bug: The error you are seeing is most likely a missing dependency, looking at the possibly outdated config.w32 (maybe the repository have moved), it seems to require libcurl to be available within your PATH or the directory where your PHP executable live
 [2017-01-22 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC