error: Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit) - centos6

I want to install sphinx on Centos 6.4 but i get errors.
What can i do so i can install sphinx? I have searcged around but can only find i need to reinstall mysql (yeah, that is not what i'm looking for. Also reinstalling the VPS is not a good solution ;-))
[root#server01 src]# yum install --nogpgcheck sphinx-2.1.5-1.rhel6.x86_64.rpm
---------------------
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.5-1.rhel6.x86_64
--> Finished Dependency Resolution
**Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)**
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

You just need to install the MySQL compat package which will provide libmysqlclient.so.16
Go to http://dev.mysql.com/downloads/mysql/ and change the platform selector to RedHat Enterprise Linux and look for the "Red Hat Enterprise Linux 6 / Oracle Linux 6 (x86, 64-bit), RPM Package
Compatibility Libraries"
Once you install that, you can then install Sphinx.

Related

not able to install 'fable' package (ERROR: compilation failed for package ‘fable’)

I am trying to install fable running the command install.packages("fable"), as it says in https://cran.r-project.org/web/packages/fable/readme/README.html
however i am getting the following:
It says clearly that it is because i don't have llapack, lblas and lgfortran in my computer. But i am not sure how to procede here. I'm using Ubuntu 20.04.3 LTS
I'll appreciate any guidence.
To install from sources, you will need a GNU Fortran compiler installed. On Ubuntu this can be done with sudo apt install gfortran.
Alternatively, you can install a precompiled binary from the RStudio Package Manager - some guidance on how this can be done can be found here: https://packagemanager.rstudio.com/client/#/repos/1/overview

Dependency error while installing MariaDB10.1 on RHEL 7.1

I am trying to install MariaDB 10.1 on RHEL 7.1 using following link
https://downloads.mariadb.org/mariadb/repositories/#mirror=Fibergrid&distro=RedHat&distro_release=rhel7-amd64--rhel7&version=10.1
I am Getting following error while installing
--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.1.20-1.el7.centos will be installed
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0()(64bit)
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Looks like the same issue was solved by Docker community
Their solution was to upgrade RHEL to 7.2 version and these problems should be gone
I had the same issue with Amazon Linux, but solution is different (solution can be found here)
Good luck.

Unable to locate package libqt5webkit5-dev

Suddenly today, without us changing any configuration, all test containers began to fail because of the following error:
$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install libqt5webkit5-dev qtdeclarative5-dev
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libqt5webkit5-dev
E: Unable to locate package qtdeclarative5-dev
We have the following configuration in our .travis.yml in order to use QT5 on Travis with Ubuntu 12.04:
apt:
sources:
- ubuntu-sdk-team
packages:
- libqt5webkit5-dev
- qtdeclarative5-dev
We've tried to fix this but are baffled. Any ideas? Anyone else experiencing this?
We had the same problem and after contacting Travis support I learned that apparently the ubuntu-sdk-team has stopped providing packages for Precise and you need to switch dist to Trusty. In order to get the builds working again add this to your .travis.yml file
sudo: required
dist: trusty
You can read more about it here
Ubuntu 12.04 will be deprecated in less than a year from now (exactly at 2017-04-26), and also Qt Webkit is deprecated with the new versions of Qt starting from Qt 5.5. It is removed in Qt 5.6 from the Qt distribution:
With 5.6, Qt WebKit and Qt Quick 1 will no longer be supported and are
dropped from the release. The source code for these modules will still
be available. You can continue to compile and use these modules, but
we will not be supporting them any longer.
http://blog.qt.io/blog/2016/03/16/qt-5-6-released/
So, you in order to maintain the stability of your development environment, either you have to stay with the current versions of Ubuntu and Qt (which has its own issues), or you have to port your code to work with the newer versions of Ubuntu and Qt, like Qt 5.5 on Ubuntu 16.04 LTS.

Attempting to run R with Atlas/OpenBLAS on redhat

For two days I've been trying to install Openblas/atlas with Lapack and use it in R. it's driving me crazy. I'm at a point where I can't even think anymore.
My server uses:
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Here is what I've installed so far:
[root#tpdb05 atlas]# yum install atlas.x86_64 blas.x86_64 lapack.x86_64 Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
Setting up Install Process
Package atlas-3.8.4-2.el6.x86_64 already installed and latest version
Package blas-3.2.1-4.el6.x86_64 already installed and latest version
Package lapack-3.2.1-4.el6.x86_64 already installed and latest version
[root#tpdb05 ruser]#
yum install lapack.i686
Installed:
lapack.i686 0:3.2.1-4.el6
Dependency Installed:
blas.i686 0:3.2.1-4.el6 glibc.i686 0:2.12-1.166.el6_7.3 libgfortran.i686 0:4.4.7-16.el6
nss-softokn-freebl.i686 0:3.14.3-23.el6_7
Dependency Updated:
glibc.x86_64 0:2.12-1.166.el6_7.3 glibc-common.x86_64 0:2.12-1.166.el6_7.3 glibc-devel.x86_64 0:2.12-1.166.el6_7.3
glibc-headers.x86_64 0:2.12-1.166.el6_7.3 nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7
yum install atlas.i686
Installed:
atlas.i686 0:3.8.4-2.el6
[root#tpdb05 SRPMS]# yum install rpm-build
Installed:
rpm-build.x86_64 0:4.8.0-47.el6
Dependency Installed:
redhat-rpm-config.noarch 0:9.0.3-44.el6
Dependency Updated:
rpm.x86_64 0:4.8.0-47.el6 rpm-libs.x86_64 0:4.8.0-47.el6 rpm-python.x86_64 0:4.8.0-47.el6
[root#tpdb05 SRPMS]# yum install atlas-c++-devel.x86_64
Installed:
atlas-c++-devel.x86_64 0:0.6.1-1.el5.rf
Dependency Installed:
atlas-c++.x86_64 0:0.6.1-1.el5.rf
several sources I've tried without success:
1 2 3
The R manual mentions the following:
The usual way to specify ATLAS will be via
--with-blas="-lf77blas -latlas"
However I have no clue where to use this command. While installing R? I'm pretty sure it should be possible to simply swap between libraries..
How do I get R to use the atlas/openblas/lapack libraries?

Tktable : could not be found in R

I try to use tcltk in R, but the package Tktable could not be found.
> library("tcltk")
Loading Tcl/Tk... OK
> tclRequire("Tktable")
[1] FALSE
Warning :
In tclRequire("Tktable") : the package Tcl 'Tktable' is not found
When I install R (r-base-core) all this linux package are installed too :
tcl install
tcl-dev install
tcl8.5 install
tcl8.5-dev install
tcllib install
tk install
tk-dev install
tk8.5 install
tk8.5-dev install
tklib install
I tried to install manually libtktable2.9, and those packages are automatically installed :
libtktable2.9:i386 install
tk8.4:i386 install
tcl8.4:i386 install
I tried the fonction addTclPath in R (with different path, because I dont really understand where is the tcl location...), but nothing changes.
I saw similar posts on few forums but no answer yet.
Any idea?
http://bioinf.wehi.edu.au/affylmGUI/#testBWTk describes installing Tktable.
To install Tktable download from http://tktable.sourceforge.net. From
this site, select "File Distributions, select the "tktable" link,
select the latest version (currently 2.10), then select the tar.gz
file (currently "Tktable2.10.tar.gz"). Save it to a suitable location,
unzip and untar it (Example command is "tar zxf Tktable2.10.tar.gz").
look in the Tktable directory and read the README.txt file
installation instructions.
To get Tktable to install on debian, I installed this first
sudo apt-get install tcl-dev tk-dev mesa-common-dev libjpeg-dev libtogl-dev
On Ubuntu 18.04, I could just install the package tk-table
sudo apt install tk-table
Just for documentation purposes for other readers:
Windows users should be aware that the Tcl extensions ‘BWidget’ and
‘Tktable’ which are included with the R for Windows installer are
extensions and do need to be declared. ‘Tktable’ does ship as part of
the Tcl/Tk provided on CRAN for Mac OS X, but you will need to tell
your users how to make use of it:
> addTclPath('/usr/local/lib/Tktable2.9')
> tclRequire('Tktable')
<Tcl> 2.9
So there is no need for an extra tcl/tk or tktable installation.
Source: http://www.pqr-project.org/R-exts.html

Resources