qpid-cpp-server 1.39.0 will not start on Centos with error qpidd: symbol lookup error: /lib64/libqpidcommon.so.2: - centos7

On Centos7, the qpid-cpp-server has been installed
epel package has been installed
yum install qpid-cpp-server qpid-tools
The server will not start with error :
qpidd[22202]: /usr/sbin/qpidd: symbol lookup error: /lib64/libqpidcommon.so.2: undefined symbol: _ZNK5boost15program_options22error_with_option_name23substitute_placeholdersERKSs
I have tried installing other packages there error persists.

Related

Python-2.7.18: cryptography-3.3.2 module installation from source failed

I need to install custom module of cryptography#3.3.2 with python-2.7.18 on Ubuntu-18.04, on installation from source got below error
build/temp.linux-x86_64-2.7/_openssl.c: In function '_cffi_d_i2d_re_X509_REQ_tbs':
build/temp.linux-x86_64-2.7/_openssl.c:50709:10: warning: implicit declaration of function 'i2d_re_X509_REQ_tbs'; did you mean 'i2d_re_X509_tbs'? [-Wimplicit-function-declaration]
return i2d_re_X509_REQ_tbs(x0, x1);
^~~~~~~~~~~~~~~~~~~
i2d_re_X509_tbs
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation.html for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq.html
=============================DEBUG ASSISTANCE=============================
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
Current pip version is : pip 20.3.4 (latest supported)
openssl version : OpenSSL 1.1.1
Also all required dependencies are installed.
If
pip install cryptography is done it successfully installs 3.3.2 version.
Kindly suggest.
I tried to install all dependencies but did not solved my problem.
Also attempted to install non patched cryptography-3.3.2 module from source but got the same error.

What is "no entry for app..." error in flatpak?

I installed elementary OS. I was trying to download apps with flatpak. I downloaded flatpakref files into "~/Downloads/flatpak/" directory. Then i wrote sudo flatpak install com.discordapp.Discord.flatpakref.
I got an error like this
error: No entry for app/com.discordapp.Discord/x86_64/stable in remote 'freedesktop' summary flatpak cache
Then i thought that the discord package is broken. I tried with Atom text editor.
Then i got this error
error: No entry for app/io.atom.Atom/x86_64/stable in remote 'freedesktop' summary flatpak cache.
I searched about the error but i couldn't find anything. What is this error and how can i fix this?

fatal error C1083: Cannot open include file: 'magic.h': No such file or directory

trying to run a django server on my windows 10 computer.
When I execute python manage.py runserver, I get the following error:
fatal error C1083: Cannot open include file: 'magic.h': No such file or directory
I'm running 64 bit python 3.5, on Windows 10.
Here is the picture of the error:
This issue was discussed in GitHub: https://github.com/ahupp/python-magic/issues/154
It seems that solution is to reinstall libmagic "pip install libmagic" and/or "pip install python-magic" (the environment I work with uses both) and download Windows-specific file from https://pypi.python.org/pypi/python-magic-bin/0.4.14 and install that with "pip install " to your Python-environment.

pip error while installing mayavi

I run this code sudo pip install mayavi
I installed vtk by using brew and it works with python up to this point everything is fine. But pip,easy_install and also installing from source code gives error at the same point. error indicates setup.py line 178.
print "Generating the mlab reference documentation"
^
SyntaxError: invalid syntax
Thank you

Issue compiling thrift 0.9.0 c++ client

I have tried compiling a cpp application with thrift 0.9.0 on ubuntu precise32:
g++ hello_client.cpp gen-cpp/HelloSvc.cpp -lthrift
However, this results in:
In file included from /usr/local/include/thrift/transport/TSocket.h:25:0,
from hello_client.cpp:4:
/usr/local/include/thrift/transport/TTransport.h:34:1: error: 'uint32_t' does not name a type
/usr/local/include/thrift/transport/TTransport.h:107:3: error: 'uint32_t' does not name a type
...
I tried to fix 0.9.0 by:
1) Install python-dev (I noticed an error: missing python.h when building thrift)
sudo apt-get install python-dev
2) Building thrift with:
./configure CPPFLAGS="-DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H"
Still the same errors, so I decided to checkout, build and install the latest thrift (HEAD version 6f2a5037105ccad05eb84ec0a60da3389c85eb3f in git).
With the latest thrift, there were no errors building the cpp client. However, running a.out returned an error:
./a.out: error while loading shared libraries: libthrift-1.0.0-dev.so: cannot open
shared object file: No such file or directory
Setting LD_LIBRARY_PATH to the newly built thrift library fixed this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$THRIFT_SRC/lib/cpp/.libs/