Red Hat Bugzilla – Bug 987961
Executable files in qpid-cpp-win package cannot run due missing dependencies
Last modified: 2015-01-21 07:57:19 EST
Description of problem:
Executable files placed in "bin" directory: "qpid-ping.exe", "qpid-receive.exe", "qpid-send.exe", "qpid-topic-listener.exe", "qpid-topic-publisher.exe", "receiver.exe" and "sender.exe" cannot be started; one or more libraries could not be found.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Download and unpack qpid-cpp-win packages.
2. Try to start one of applications in ~/bin directory (f.e. qpid-send.exe)
The application does not start and writes ae error message about missing dependencies.
In case qpid-send.exe application the error message is: "This application has failed to start because qpidmessaging.dll was not found. Re-installing the application may fix this problem."
The application should run without error messages.
Several new files have been added to C++ install
But these files are not properly disposed in the WinSDK build process. WinSDK separates the debug and release variants into separate subdirectories bin\Debug and bin\Release. The files listed above are installed twice to \bin with the Release variants overwriting the Debug variants. The final SDK is left with only the Release variants sitting in the wrong directory.
These files should be moved into bin\Debug after the debug build and moved again into bin\Release after the release build.
Upon further reflection a better strategy for these files is to simply delete them during the creation of the SDK. WinSDK is a vehicle for delivering qpid client libraries and not for delivering generally useful tools. A general tool kit needs much more than these few files and is beyond the scope of WinSDK.
Patch upstream at r1509016.
Due to planning remove "qpid-perftest" application (see https://bugzilla.redhat.com/show_bug.cgi?id=789412), it is needed to keep at least "qpid-send" and "qpid-receive" applications in the Windows kit to be able to measure performance of the Windows client by "qpid-benchmark" tool.
Could you possibly compile and add at least these two applications "qpid-send" and "qpid-receive" back into the Windows package, please?
Committed upstream at r1520417
Adds bin\Release\qpid-send.exe and bin\Release\qpid-receive.exe
to the WinSDK
All executable files contained in the "bin" directory, "qpid-perftest.exe", "qpid-latency-test.exe", "qpid-send.exe", "qpid-receive.exe", "qpid-txtest.exe", "qpid-client-test.exe" are able to run on all currently supported Windows platforms.
Verified on packages qpid-cpp-win-188.8.131.52-1, on WindowsXP-x86, Windows7-x86 and x64, Windows Server2003-x86 and x64, Windows2008-x86, x64 and R2.