libmesos-1.3.0.so: cannot open shared object file: No such file or directory - mesos

I have installed mesos-1.3.0 from sources on ubuntu 16.04 (mint 18.2). When I try to start mesos-master with next command:
mesos-master --ip="XXX.XXX.XXX.XXX" --work_dir="/tmp/mesos-master1" --zk=zk://zookeeper1:4181,zookeeper2:5181,zookeeper3:6181/mesos --quorum=1 --log_dir=/tmp/mesos/master/log --cluster=YAMYAM
I'm getting the error below:
mesos-master: error while loading shared libraries: libmesos-1.3.0.so: cannot open shared object file: No such file or directory

It looks that library "libmesos-1.3.0.so" could not found by mesos-master command. There are 2 options to solve this issue:
Option 1: try to update mesos shared libraries with the next command:
sudo ldconfig
Option 2: If option 1 doesn't solve your problem try the next steps for updating location of missed mesos libraries:
locate "libmesos-1.3.0.so" result: /usr/local/lib/libmesos-1.3.0.so
update environment variable "LD_LIBRARY_PATH":
export LD_LIBRARY_PATH=/usr/local/lib
run the failed command again

Related

fatal error: gnu/stubs-32.h: No such file or directory

I'm trying to build gcc 7.2.0. I get this error:
fatal error: gnu/stubs-32.h: No such file or directory
I don't have root access or sudo access on this machine so I cannot use apt. What source package can I install that will resolve this?
Try installing glibc-devel, see https://www.question-defense.com/2010/03/09/usrincludegnustubs-h727-error-gnustubs-32-h-no-such-file-or-directory and https://stackoverflow.com/a/7412698/6723250.

Problem installing omni compiler - fatal error: mpi.h: No such file or directory

I am trying to install omni compiler in order to compile XcalableMP programs on OSX. I can ./configure successfully as per the instructions but am receiving this error when I make:
../include/xmp_internal.h:19:10: fatal error: mpi.h: No such file or directory
My Open MPI is installed via homebrew and mpi.h is located through my Cellar folder. How do I go about including this header file?
can you try the following command to be sure the location of the installed openmpi is correct:
mpicc -showme
Then, are you sure the mpi path is in your path, try to set these environment variables and then try:
Note that I assume the openmpi is installed in "/home/openmpi" path for example:
export PATH=/home/opempi/bin:/home/opempi/include:$PATH
and for the runtime:
export LD_LIBRARY_PATH=/home/openmpi/lib:$LD_LIBRARY_PATH
Then try to configure and make again the omnicomppiler,

Unable to run the command dspmqver command

We are facing issue while installing Websphere MQClient v9.0.0.1 on linux machine.at the time of rpm packages installation we are getting below error.
Note: And it is Multi-installation setup,we have a MQClient version 8.0.0.4 in different file system which is Installation1 file system is /Informatica/app/MQClient.
Installed packages on server.
MQSeriesMan-8.0.0-4.x86_64
MQSeriesGSKit-9.0.0-1.x86_64
MQSeriesGSKit-8.0.0-4.x86_64
MQSeriesSamples-8.0.0-4.x86_64
MQSeriesSDK-9.0.0-1.x86_64
MQSeriesClient-9.0.0-1.x86_64
MQSeriesClient-8.0.0-4.x86_64
MQSeriesSDK-8.0.0-4.x86_64
MQSeriesJava-9.0.0-1.x86_64
MQSeriesMan-9.0.0-1.x86_64
MQSeriesRuntime-8.0.0-4.x86_64
MQSeriesJava-8.0.0-4.x86_64
MQSeriesRuntime-9.0.0-1.x86_64
MQSeriesJRE-9.0.0-1.x86_64
MQSeriesJRE-8.0.0-4.x86_64
MQSeriesSamples-9.0.0-1.x86_64
We could see the libmqmr_r.so file in below location
/infaicc/app/MQClient/lib/libmqmr_r.so
We have set the environment variableby using below command
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/infaicc/app/MQClient/lib64
but still we are facing same error.
rpm -ivh --prefix /infaicc/app/MQClient MQSeriesRuntime-9.0.0-1.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesRuntime-8.0.0-0 ################################# [100%]
ERROR: dspmqver: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
rpm -ivh --prefix /infaicc/app/MQClient MQSeriesClient-9.0.0-7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:MQSeriesRuntime-8.0.0-0 ################################# [100%]
ERROR: dspmqver: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
[root#XXXX-as-0037 bin]# ./dspmqver
./dspmqver: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
[root#XXXX-as-0037 bin]#
Please let us know is it mandatory to run this crtmqpkg suffix in multiple installation scenario, if yes kindly confirm from which location I need to run this ( means from installation1 ) command.
Our existing setup is working fine without any issue. If we run crtmqpkg suffix command is there any impact on my existing version.
Before installation should we stop the all existing MQ process?
#Roger/Josh: Thanks for update,we are getting below error while executing ./crtmqpkg 2. kindly help on this issue.
[root#xxxx_xxx_xx_ mqclient]# ./crtmqpkg 1
ERROR: Unable to execute "/usr/bin/rpmbuild" - required for packaging.
Check that you have the "rpm-build" package installed on your system,
or which ever package provides "rpmbuild" on your Linux distribution.
#Josh: we have installed the rpm-build packages and run the ./crtmqpkg 2 command it got succeed but while installing websphere MQ rpm packages getting below error.We followed the given IBM tech-notes still facing error.
[root#XXXX_XXX_XX MQClient]# rpm --prefix /infaicc/app/MQClient -ivh /infaicc/app/MQClient_Binary/2/x86_64/MQSeriesRuntime_2-9.0.0-1.x86_64.rpm
Preparing... ########################################### [100%]
1:MQSeriesRuntime_2 ########################################### [100%]
ERROR: Return code "127" from amqicdir for "-i -f", output is:
/infaicc/app/MQClient/bin/amqicdir: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
ERROR: Return code "127" from crtmqinst for "-p /infaicc/app/MQClient ", output is:
/infaicc/app/MQClient/bin/crtmqinst: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
ERROR: Return code "127" from amqicdir for "-s -f", output is:
/infaicc/app/MQClient/bin/amqicdir: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
ERROR: Return code "127" from setmqinst for "-r -p /infaicc/app/MQClient", output is:
/infaicc/app/MQClient/bin/setmqinst: error while loading shared libraries: libmqmcs_r.so: cannot open shared object file: No such file or directory
Did you follow the MQ instructions here or here because I don't see any mention of creating the install package. Also, you need to set your installation but I don't see anything about it either.
As Roger pointed out the following IBM MQ Knowledge Center page provided details: IBM MQ 9.0.x>IBM MQ>Installing and uninstalling>Installing and uninstalling IBM MQ on Linux>Installing IBM MQ on Linux using rpm>Installing IBM MQ server on Linux
First this page answers your first question:
Note
The crtmqpkg command is required only if this is not the first
installation of IBM MQ on the system. If you have earlier versions of
IBM MQ installed on your system, then installing the latest version
works correctly if you install it in a different location.
Given that it appears you already have MQ v8.0.0.4 installed you will need to perform the required steps to create a MQ v9.0.0.7 set of rpms with a new suffix.
The reason this is required is because you can not install two rpms with the same base package name. By creating a new RPM with a suffix is giving the rpm a different base name.
Actually running the crtmqpkg command will not cause any issues with your existing installation since it is just creating new rpm files on the file system. When you install it as long as you specify a different installation location it will not cause any problem for your existing installation either.
Roger provided the second link to the IBM MQ Knowledge Center page that provides details specific to the MQ client packages: IBM MQ 9.0.x>IBM MQ>Installing and uninstalling>Installing and uninstalling IBM MQ on Linux>Installing IBM MQ on Linux using rpm>Installing an IBM MQ client on Linux
If you have multiple installations on this system, you must run crtmqpkg to create a unique set of packages to install on the system:
a. Enter the following command:
./crtmqpkg suffix
where suffix is a name of your choosing, that will uniquely identify the installation packages on the system. suffix is not the
same as an installation name, although the names can be identical.
suffix is limited to 16 characters in the ranges A-Z, a-z, and 0-9.
b. Set your current directory to the location specified when the
crtmqpkg command completes. This directory is a sub-directory of /var/tmp/mq_rpms, in which the unique set of packages is created. The
packages have the suffix value contained within the filename.
Because the installation of the new package is not going into the same location there is No requirement to stop existing IBM MQ processes.

ROOT cern install error

I'm trying to install ROOT (from cern) and I have a problem. This is the error that I have after make comand.
bin/rootcling: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory
How can I resolve this? I looked for a libtinfow package but seems it doen't exist!
You need to install ncurses shared lib, and while configuring ncurses before building do:
./configure --prefix=/path/to/ncurses --with-termlib --with-shared --enable-widec

Memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file

Situation: I installed memcached on a CenTOS 5 (64 bit). I also ended up installing some PHP plugins using PECL, though they're unnecessary now.
Problem:When I execute
/etc/init.d/memcached start
I get the following error:
Starting memcached: memcached: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
But the file libevent-2.0.so.5 is present in /opt/couchbase/lib/.
Should it be there in some other folder ? How to get memcached to start ?
/opt/couchbase/lib will not be set on your system library path by default. That's why your unable to find libevent when running /etc/init.d/memcached.
To quickly solve this you can just run the command as follows:
LD_LIBRARY_PATH=/opt/couchbase/lib /etc/init.d/memcached
or to solve this over the long term add the following file (assuming your using centos):
/etc/ld.so.conf.d/couchbase.conf
and in that file add the path "/opt/couchbase/lib". Then run ldconfig and re-run the command to start memcached.
sudo ln -s /usr/lib/libevent-2.1.so.6 /usr/lib64/libevent-2.1.so.6
for libevent-2.0.so.5 the same.

Resources