How to fix CANNOT LINK EXECUTABLE "mongod": library "libicudata.so.69" not found - mongodb

I'm trying to run mongodb in termux and after searching i found that i should to install pointless repo to locate mongodb pkg and setup it and after installing when i'm trying to run mongod i got the following error
CANNOT LINK EXECUTABLE "mongod": library "libicudata.so.69" not found
When i'm going to lib dir in termux i found the following libicu exist
enter image description here
i tried to search more about it and find some answers said you have to install r-base because icu has been updated and R depends on it.
and others said you have to install libicudata.so.69 and when i'm trying to install it i get the following error
Unable to locate package libicudata.so..69
E: Couldn't find any package by glob 'libicudata.so..69'
and some others said that pointless packages is outdated and you have to re build the package i'm not a professional in using termux and i don't know anything about packages and how to re build it so
i'm really confused and i hope someone help me to find a simple solution to make it work

Related

Pipenv failing to install my package requests, claims the module is not found

i have been following a python tutorial by Mosh Hamedani on how to use pipenv but am encountering this error and i have pipenv already installed, am wondering whether its a path issue and what it is, any help will be appreciated. currently i cant use pipenv to install anything on my virtual environment, see picture for demostration.

ld: library not found for -lelementary

I try to run make install, but I get this error
ld: library not found for -lelementary
What is elementary lib?
And where can I download it?
I searched several links for "ld: library not found for *", but it didn't help...
Update: I have solved the issue by adding path in CMake file. I have already installed efl by using homebrew "brew install efl". But the weird thing is that it doesn't point to the correct location, I have to add exact location "link_directories(/usr/local/lib) in the CMakeLists.txt.
The library Elementary is part of EFL(Enlightenment Foundation Libraries). You can build it from the source code from the download page, or install with brew or git.
Simply quoting the links, to install with brew (which is the simplest of the three options):
brew install efl
(And yes, I agree that the name "elementary library" is a terrible name for search engines. You only get results about school libraries.)

Installation of VS code on RaspPi to be used with openhab2

I just tried to install VS code and the openhab extension via this site (https://code.visualstudio.com/docs/setup/linux) and followed all the steps until "sudo apt-get install code-insiders". Then it failed.
It tells me: Package code-insiders cannot be found.
Any ideas? Do I need to insert a code number?
Furthermore, how can I install the required openhab2 extension? I donĀ“t find the required add-on in the selection menus.
Thanks for your help,
db
When you installed Visual Studio, you probably did so by downloading the package and installing it directly, instead of following their instructions for including Microsoft's repository on your system. Or maybe there was a hiccup when you followed their instructions, and something didn't get installed correctly.
You have two choices. You can include Microsoft's repo in your apt by following their instructions here (refer to the section under Debian titled "The repository and key can also be installed manually with the following script:"), or you can download the code-insiders package from here and install it manually. (I'd recommend the first option, as Microsoft should be a trustworthy company to add into your apt repository list.)

Error on Yum update

I'm unfortunately not very experienced in CentOS administration, and was hoping someone might be able to help me understand and get past a small hurdle. I was hoping to run yum update on the system, but ran into some Transaction Check Errors:
file /etc/php.ini from install of php55-common-5.5.11-1.el6.x86_64 conflicts with file from package php-common-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/curl.so from install of php55-common-5.5.11-1.el6.x86_64 conflicts with file from package php-common-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/fileinfo.so from install of php55-common-5.5.11-1.el6.x86_64 conflicts with file from package php-common-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/phar.so from install of php55-common-5.5.11-1.el6.x86_64 conflicts with file from package php-common-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/pdo.so from install of php55-pdo-5.5.11-1.el6.x86_64 conflicts with file from package php-pdo-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/pdo_sqlite.so from install of php55-pdo-5.5.11-1.el6.x86_64 conflicts with file from package php-pdo-5.3.3-40.el6_6.x86_64
file /usr/lib64/php/modules/sqlite3.so from install of php55-pdo-5.5.11-1.el6.x86_64 conflicts with file from package php-pdo-5.3.3-40.el6_6.x86_64
It sort of looks like it's saying that some newer version files are conflicting with older version files. Is there a standard way to fix this? I was mainly just trying to update so that I could install Java later, but wasn't expecting to run into these errors. If it helps, the server is mainly being used for hosting a few websites with apache and mysql. Thanks so much for any help, it's greatly appreciated.
Edit: To add some more clarification, I had previously edited the baseurl variable in the /etc/yum.repos.d/centalt.repo file, which was originally set to
baseurl=centos.alt.ru/repository/centos/6/$basearch
The reason I changed the location was because I was previously getting an error when trying to run yum update, mentioned in this other stackoverflow question https://unix.stackexchange.com/questions/132674/repository-metadata-repomd-xml-for-repository-mratwork-centalt which had an answer recommending replacing the URL with
baseurl=mirror.sysadminguide.net/centalt/repository/centos/6/$basearch
Is there a different url I should be using instead?
You have a non-official repository which provides the php55-* packages which conflict with the official php-* packages.
You currently have the php-* versions installed.
If you want to switch you can try manually installing the matching php55-* package for every php-* package you have installed in one yum command (though that may not work).
If it doesn't, you might need to remove all the php packages you have installed first and then install the php55 versions after that.

Problems installing/compiling DBD::mysql on OpenSuSE 10

I am getting a bunch of compile errors when I try to install the MySQL DBD::mysql Perl library. I am trying to install this library on OpenSuse linux (SUSE Linux Enterprise server 10 (x86_64) version 10, patch level 4)
The install fails when trying to compile dbdimp.h. There are hundreds of complile errors but I have reason to believe they all stem from the first 3:
dbdimp.h:23:49: error: mysql.h: No such file or directory
dbdimp.h:24:45: error: mysqld_error.h: No such file or directory
dbdimp.h:26:49: error: errmsg.h: No such file or directory
I believe that the reason I am getting the errors above is that I have no MySql Client installed. I do not know how to install mysql client (I believe I am supposed to get some version of libmysqlclient).
I am brand new to opensuse and vaguely familar with installing packages on Linux in general have used yum, yast, apt-get on ubuntu + centOS previously but the only package manager tools that seem to be on OpenSuse 10 are rpm and zypper. I have not managed to install the required mysql client using either of these. If anyone knows how to install MySql Client to resolve my issue I would greatly appreciate any recomendations
Thanks
You need to install MySQL or the MySQL client libraries, either through your system's package manager or by following the installation instructions from the source code.
It sounds like your question is really "How do I install MySQL on OpenSuse", which would be more appropriate for one of the other StackExchange sites.
I was able to resolve this to a point. In my original question, I stated that I had tried using YAST but that it had not worked. In fact, I did not fully explore the YAST install option but when I did, I managed to download install the required librarys by following an article I found (http://adminramble.com/install-mysql-yast/#chitika_close_button)
I was able to open the YAST GUI in the terminal window (not an X-window display) and navigate through the "software management" section wherein I was able to do a search for MySql. Amoung the search results were mysql client libraries, which I then selected and hit "Accept". The installation started and completed successully.
In order to complile the PERL DBD::mysql module, I had to create a new makefile with the ccflags specified so that the header files could be found:
perl Makefile.PL --cflags -I/usr/include/mysql
I say "to a point" at the top of this comment because I then ran into further problems compiling but my original issue posted has been partially resolved and getting this far may help someone else who is experiencing the same problem. Will update if I get a solution to the compile problem.