How to install bind_member_variable.hpp in Ubuntu 16.04 - boost

I just fresh installed Ubuntu 16.04 and my project is not finding bind_member_variable.hpp anymore. In Ubuntu 14.04 it worked fine.
Where is the boost-spirit package in Ubuntu 16.04?

In this case,
apt-get install libboost-dev
If you want to be home free, just install all of boost:
apt-get install libboost-all-dev
Note, I found this by doing
dpkg --search bind_member_variable.hpp
on a system that already had it.

Related

I found the way to install PyBluez on Ubuntu 22.04

After many attempts figuring out how to install PyBluez on Ubuntu using pip3 I've seen many people with the same problem. fortunatelly I found the way to do it without pip3:
downloaded the program from https://pybluez.readthedocs.io/en/latest/
then I installed this library using "sudo apt-get install libbluetooth-dev"
and finally installed PyBluez by running "pyhton3 setup.py install" in the folder that I previously downloaded.
My question is why I cant use pip3 to install PyBluez?
I tried sudo pip3 install PyBluez :( :(

cloudera director client installation

I am trying to install apache-spot and Cloudera on AWS following these tutorials:
http://blog.cloudera.com/blog/2018/02/apache-spot-incubating-and-cloudera-on-aws-in-60-minutes/
https://www.cloudera.com/documentation/director/latest/topics/director_get_started_aws_install_dir_server.html#concept_xnb_cwh_jx
But when I run:
sudo apt-get install cloudera-director-client
The Ubuntu terminal gives me:
E: unable to locate package cloudera-director-client
I already ran this code to fix:
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/cloudera-director.list
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/archive.key
$ sudo apt-key add archive.key
$ sudo mv cloudera-director.list /etc/apt/sources.list.d
$ sudo apt-get update
Anyone able to help me? Thanks
The cloudera-director.list file that you have installed is likely old. The one in the URL you have listed is for Ubuntu 12.04 (Precise Pangolin). Make sure that you pick the release that matches your OS version.
Cloudera Altus Director 2.x is available for Ubuntu 14.04 (Trusty Tahr) at http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/
Cloudera Altus Director 6.0.0 is available for Ubuntu 16.04 and 14.04 at http://archive.cloudera.com/director6/6.0.0/ubuntu1604/ or http://archive.cloudera.com/director6/6.0.0/ubuntu1404/
Please try installing again with a new cloudera-director.list and archive.key

Can't find package php7.0-curl

I have a problem for installing php7.0-curl on my homestead.
On my Laravel homestead:
sudo apt-get install php7.0-curl
It returns :
E: Could not find package php7.0-curl
E: Could not find package matching the regex « php7.0-curl »
Note: if I run in my terminal just : curl --help it's working.
For info, my computer runs on:
Distributor ID: Ubuntu
Description:Ubuntu 15.04
Release: 15.04
Codename: vivid
Try this :
sudo add-apt-repository ppa:ondrej/php-7.0
sudo apt-get install software-properties-common -y
sudo apt-get update
sudo apt-cache search php7.0-curl
If you find it in php7.0-curl then install it using
sudo apt-get install php7.0-curl
Hope it helps.
The package php7.0-curl is only available on Ubuntu 16.04 LTS (xenial) and on Ubuntu 16.10 (yakkety, to be released).
Your current version of Ubuntu, 15.04 (vivid) has reached end of life the February 4, 2016
You can try to import the package from one of these distributions and resolve dependencies by hand but it would be much safer to install Ubuntu 16.04 LTS.
By the way, if you want to install php7.0-curl inside Laravel Homestead, you need to insure that the ubuntu version running inside Laravel Homestead is greater or equal to 16.04.

android-sdks/build-tools/17.0.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

I just installed eclipse, the android sdk and jdk on a fresh installation for 64 bit fedora 14 , but by the time i create a new project i am getting the following error in the console:
android-sdks/build-tools/17.0.0/aapt: error while loading shared
libraries: libz.so.1: cannot open shared object file: No such file or
directory
i am using a 64bit machine and i need to install some 32bit drivers,
so i am trying to install:
sudo apt-get install ia32-libs Reading Package Lists... Done Building
Dependency Tree... Done E: Couldn't find package ia32-libs
Anyone help me how to resolve 64bit fedora 14 machine libz.so.1 problems
Running Kubuntu 13.10 (x64) and I used lib32z1, which fixed it for me.
sudo apt-get install lib32z1
Lukacsa, it works! simple and great suggestion
Try this:
sudo yum install zlib.i686 libstdc++.i686
This will resolve 64 bit machine's 32 bit compatibility issue~!
(Tested with: CentOS 6.2 64-bit and Fedora 22 64-bit)
try this this solved problem for me, had 64 bit ubuntu 14.05
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
I fixed this issue using the solution shared in this blog post:
http://ideid.blogspot.co.uk/2013/01/resolve-shared-library-problem-with.html
Here is the solution for convenience:
"Android SDK is compiled for a 32-bit GNU/Linux system, and your system is a 64-bit system. To solve this error, install the 32-bit versions of all the most commonly used libraries, by installing the ia32-libs package
Go to the terminal and type the following command.
sudo apt-get install ia32-libs
This will solve the issue."
Hope this helps
I faced similar issue on my centos machine.
check out this:
https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries-on-a-64-bit-fedora/
For me it worked by:
yum install libstdc++.i386 zlib.i386
yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
for RHEL this worked . My machine was 64bit machine,
I had the same issue on Archlinux.
You need to enable the multilib repository in /etc/pacman.conf:
[multilib]
Include = /etc/pacman.d/mirrorlist
Update pacman and install the 32 bit version of zlib:
pacman -Suy
pacman -S lib32-zlib
for OpenSuse you simply have to install libz1-32bit
zypper install libz1-32bit
Add a :i386 suffix to the package name for the package manager correctly identify it:
sudo apt-get install zlib1g:i386
aapt is a 32 bit app so your 64 bit machine needs these libraries loaded
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
Try this: sudo yum install zlib.i686

Installing opencv on Ubuntu - can't find libopencv_calib3d

I successfully installed Opencv via
sudo apt-get install libcv-dev libcv4 libcvaux-dev libcvaux4 libhighgui-dev libhighgui4 opencv-doc python-opencv
But now when I try to use ruby-opencv I keep getting
libopencv_calib3d not found.
error
What am I missing?
On Ubuntu 14.04 I had this issue, which was resolved using:
sudo apt-get install libopencv-dev
Try also
sudo apt-get install libopencv-calib3d2.3
Add libopencv-calib3d-dev if you need to compile the Ruby bindings yourself.

Resources