I have to use qdiscs in some part of my project. so i was using the below command and got this error. the problem is there is libnl3 package prersent but it is searhing for libnl version.
nl-qdisc-add --dev=veth-host --parent=root --update plug --buffer
Error: Unable to load module "/usr/lib/x86_64-linux-gnu/libnl/cli/qdisc/plug.so": /usr/lib/x86_64-linux-gnu/libnl/cli/qdisc/plug.so: cannot open shared object file: No such file or directory
So I tried this solution mentioned in comments, but its not working. cannot comment on this link due to reputation.
I changed the 4th step to ./configure --prefix=/usr/local --with-pkgconfigdir=/usr/local/lib because of some error it was giving.
It throws this error:
/usr/local/sbin/nl-qdisc-add --dev=veth-host --parent=root plug --limit=32768
/usr/local/sbin/nl-qdisc-add: /lib/x86_64-linux-gnu/libnl-3.so.200: no version information available (required by /usr/local/sbin/nl-qdisc-add)
/usr/local/sbin/nl-qdisc-add: /usr/lib/x86_64-linux-gnu/libnl-cli-3.so.200: no version information available (required by /usr/local/sbin/nl-qdisc-add)
/usr/local/sbin/nl-qdisc-add: /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200: no version information available (required by /usr/local/sbin/nl-qdisc-add)
Error: Unable to load module "/usr/lib/x86_64-linux-gnu/libnl/cli/qdisc/plug.so": /usr/lib/x86_64-linux-gnu/libnl/cli/qdisc/plug.so: cannot open shared object file: No such file or directory
I'm using the system ubuntu 19.10
Related
I recently updated R and Rstudio and since then have not been able to load any libraries, including ggplot2, tidyverse.
Just for clarity, let me share the messages I get when I install tidyverse and try to load the library:
install.packages("tidyverse")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
**https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Computer User 1/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/tidyverse_1.3.2.zip'
Content type 'application/zip' length 428970 bytes (418 KB)
downloaded 418 KB
package ‘tidyverse’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Computer User 1\AppData\Local\Temp\RtmpQZdI11\downloaded_packages**
**> library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.2.2/library/stats/libs/x64/stats.dll':
LoadLibrary failure: The specified module could not be found.
**
Also, to be clear, I did install the latest version of Rtools.
Now I tried reading through several messages on google regarding the same error but failed to understand the solution. The main thing I do not understand is why the packages are installed here: C:\Users\Computer User 1\AppData\Local\Temp\RtmpQZdI11\downloaded_packages, and then are loaded from here: C:/Program Files/R/R-4.2.2/library/stats/libs/x64/stats.dll.
I have tried specifying the library path but have not been successful at solving the problem. I don't know why R is unable to load the libraries. Also, on running .libpaths(), I get two libraries:
[1] "C:/Users/Computer User 1/AppData/Local/R/win-library/4.2"
[2] "C:/Program Files/R/R-4.2.2/library"
And when I try to install tidyverse here: C:/Program Files/R/R-4.2.2/library, I get this error: the folder is unwritable.
I don't know how to solve this issue. Please help.
Question
I'm new to Substrate and going through Add a Pallet to Your Runtime. At first, running the command cargo check -p node-template-runtime gave me error
error: failed to parse manifest at `/Users/bashar/work/substrate/start/substrate-node-template/pallets/template/Cargo.toml`
Caused by:
feature `rename-dependency` is required
consider adding `cargo-features = ["rename-dependency"]` to the manifest
I added it and then I started getting this error:
error: no matching version `^2.0.0` found for package `codec`
location searched: registry `https://github.com/rust-lang/crates.io-index`
versions found: 0.0.0
required by package `frame-benchmarking-cli v3.0.0`
... which is depended on by `node-template v3.0.0 (/Users/bashar/work/substrate/start/substrate-node-template/node)`
I tried modifying the codec version to 2.0.1 with no luck. My setup
rustup 1.23.1
rustc 1.50.0
cargo 1.30.0
Any idea what I'm doing wrong?
UPDATE
I went back to the Create Your First Substrate Chain, which this tutorial is built on, started from scratch, which the Pallet tutorial is based on. And this time, after cloning the repository for first tutorial, cargo build --release failed with the same error feature rename-dependency is required.
This built fine the first time before I moved to the second tutorial. Which makes me think maybe a recent Mac update ruined something? I even tried uninstalling Rust and re-installing it, then installing a new template. Same thing
I am trying to install qt/5.14.2 with conan.
Using
qt/5.14.2#bincrafters/stable
I receive
ERROR: libpq/11.5: Error in package_info() method, line 211
self.cpp_info.components["pq"].requires.append("zlib::zlib")
AttributeError: 'Component' object has no attribute 'requires'
OK, there is a bug in libpq/11.5
I am trying to downgrade to
libpq/11.4#bincrafters/stable
ERROR: Conflict in qt/5.14.2#bincrafters/stable:
'qt/5.14.2#bincrafters/stable' requires 'zlib/1.2.11' while 'libpq/11.4#bincrafters/stable' requires 'zlib/1.2.11#conan/stable'.
To fix this conflict you need to override the package 'zlib' in your root package.
BTW:
Why is it not enough to require the correct version of the library, and requiring the same repository? (and require two different repositories in two different packages for the same dependence)
OK, I attempted
zlib/1.2.11#bincrafters/stable
WARN: libpq/11.4#bincrafters/stable: requirement zlib/1.2.11#conan/stable overridden by your conanfile to zlib/1.2.11#bincrafters/stable
zlib/1.2.11#bincrafters/stable: Not found in local cache, looking in remotes...
zlib/1.2.11#bincrafters/stable: Trying with 'conan-center'...
zlib/1.2.11#bincrafters/stable: Trying with 'minres'...
zlib/1.2.11#bincrafters/stable: Trying with 'bincrafters'...
ERROR: Failed requirement 'zlib/1.2.11#bincrafters/stable' from 'libpq/11.4#bincrafters/stable'
ERROR: Unable to find 'zlib/1.2.11#bincrafters/stable' in remotes
Finally, I arrived at
libpq/11.4#bincrafters/stable
zlib/1.2.11#conan/stable
qt/5.14.2#bincrafters/stable
After this, it looks like it was oK:
Installing (downloading, building) binaries...
qt/5.14.2#bincrafters/stable: Retrieving package 93c70de10405da9f2d5a1f42b8c299ca7af869d2 from remote 'bincrafters'
Downloading conanmanifest.txt
Downloading conaninfo.txt
Downloading conan_package.tgz
....qt/5.14.2#bincrafters/stable: Package installed 93c70de10405da9f2d5a1f42b8c299ca7af869d2
qt/5.14.2#bincrafters/stable: Downloaded package revision 0
However, the install fails with
CMake was unable to find Qt5, put qmake in your path or set
QTDIR/QT_QMAKE_EXECUTABLE.
The package is downloaded, I see all components in the corresponding subdirectory in my home directory. However, unlike the other components, it is not installed, before CMake attempts to find it.
What do I wrong?
In case of any strange behavior of conan, upgrade! For me, switch 1.24.0 -> 1.28.1 with configs clean up fixed the same problem with libpq/11.5
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.
I recently tried installing IJulia on OS X 10.6.8, with Julia v0.2.1. After installing IPython, I ran Pkg.build("IJulia") and got the following console errors:
julia> Pkg.build("IJulia")
INFO: Building Homebrew
INFO: Cloning brew from https://github.com/staticfloat/homebrew.git
Cloning into '/Users/peterrichter/.julia/v0.2/Homebrew/deps/usr'...
dyld: Library not loaded: /usr/lib/libcurl.4.dylib
Referenced from: /Applications/Julia-0.2.1.app/Contents/Resources/julia/libexec/git-core/git-remote-https
Reason: Incompatible library version: git-remote-https requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
==============================[ ERROR: Homebrew ]===============================
brew_prefix! not defined
at /Users/peterrichter/.julia/v0.2/Homebrew/src/Homebrew.jl:200
at /Users/peterrichter/.julia/v0.2/Homebrew/deps/build.jl:1
================================================================================
It seems to be complaining about an old version of libcurl (?), but when I run curl -V in Terminal, it says I am using curl 7.19.7. Likewise, executing ipython --version shows that I'm using 2.0.0, the latest version of IPython. Am I misreading the error message? If so, what steps should I take to fix it?
Additional Errors
In addition to the error text I pasted above, it also printed the following:
INFO: Building Nettle
INFO: Attempting to Create directory /Users/peterrichter/.julia/v0.2/Nettle/deps/downloads
INFO: Directory /Users/peterrichter/.julia/v0.2/Nettle/deps/downloads already created
INFO: Downloading file http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
INFO: Done downloading file http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
INFO: Attempting to Create directory /Users/peterrichter/.julia/v0.2/Nettle/deps/src
INFO: Directory /Users/peterrichter/.julia/v0.2/Nettle/deps/src already created
INFO: Attempting to Create directory /Users/peterrichter/.julia/v0.2/Nettle/deps
INFO: Directory /Users/peterrichter/.julia/v0.2/Nettle/deps already created
INFO: Attempting to Create directory /Users/peterrichter/.julia/v0.2/Nettle/deps/src/nettle-2.7.1
INFO: Directory /Users/peterrichter/.julia/v0.2/Nettle/deps/src/nettle-2.7.1 already created
INFO: Attempting to Create directory /Users/peterrichter/.julia/v0.2/Nettle/deps/builds/nettle
INFO: Directory /Users/peterrichter/.julia/v0.2/Nettle/deps/builds/nettle already created
INFO: Changing Directory to /Users/peterrichter/.julia/v0.2/Nettle/deps/builds/nettle
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for -R flag... none
Searching for libraries
checking /Users/peterrichter/.julia/v0.2/Nettle/deps/usr/lib... not found
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/peterrichter/.julia/v0.2/Nettle/deps/builds/nettle':
configure: error: C compiler cannot create executables
See `config.log' for more details
===============================[ ERROR: Nettle ]================================
failed process: Process(`/Users/peterrichter/.julia/v0.2/Nettle/deps/src/nettle-2.7.1/configure --disable-openssl --libdir=/Users/peterrichter/.julia/v0.2/Nettle/deps/usr/lib --prefix=/Users/peterrichter/.julia/v0.2/Nettle/deps/usr`, ProcessExited(77)) [77]
at /Users/peterrichter/.julia/v0.2/Nettle/deps/build.jl:35
================================================================================
INFO: Building ZMQ
INFO: Building IJulia
Found IPython version 2.0.0 ... ok.
Creating julia profile in IPython...
(Existing KernelManager.kernel_cmd setting in ipython_config.py is untouched.)
(Existing IPythonWidget.execute_on_complete_input setting in ipython_qtconsole_config.py is untouched.)
(Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is untouched.)
(Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.)
(Existing ipynblogo.png file untouched.)
(Existing ipynblogo.svg file untouched.)
(Existing favicon.ico file untouched.)
(Existing custom.js file untouched.)
(Existing julia.js file untouched.)
================================[ BUILD ERRORS ]================================
WARNING: Homebrew and Nettle had build errors.
- packages with build errors remain installed in /Users/peterrichter/.julia/v0.2
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
================================================================================
It looks like you don't have a C compiler installed so the Pkg.add is failing on some of IJulia's nettle dependency.
Your first errors dependency though looks like it's a linking conflict between the bundled git implementation for your julia distribution and the system provided library.
You can see exactly what shared library the git app is using with otool.
otool -L /Applications/Julia-0.2.1.app/Contents/Resources/julia/libexec/git-core/git-remote-https
This should list the full path of the libcurl dylib that the git-remote-https binary is linking to.
You can compare that against the output for otool -L $(which curl) and see if they are linking to the same library.
You can also run otool -L on the referenced libraries themselves to see what versions they are. This should at least tell you what the conflict is. It's possible that you will need to upgrade the git version that your julia distribution uses. But I'm not sure what would be involved there. I just install julia from source which bypasses this particular problem.
You might find it easier to do the same.
What worked for me might be of help to you:
Using latest Anaconda free python, download windows32 exe file from github and extract, start julia.bat, then in the Julia command window type Pkg.add("IJulia"), In another command window type
ipython notebook --profile=julia and enjoy the webpage that opens in your default browser(Chrome)!!
I had trouble because of the syntax of the --profile=julia command part.
I too use macports and not Homebrew.
I seem to have fixed this by changing lines 21,22 in ~/.julia/v0.3/Nettle/deps/build.jl to:
libdirs = String["$(julia_usrdir)/lib"; "/opt/local/lib"]
includedirs = String["$(julia_usrdir)/include"; "/opt/local/include"]
i.e. I added the macports lib and include dirs explicitly.
Can someone please notify the appropriate authorities, cheers.