no package pango found when build the firefox - firefox

I am building the customized source code of firefox. When I am going to build the firefox, I am given following error regading the "no pango package error". How can I solve this error.

If you are using Ubuntu 18.04 or similar, try:
sudo aptitude install libpango1.0-dev
In ubuntu 16.04
sudo apt install libpango1.0-dev
from

sudo yum install 'pkgconfig(pango)'
Should install the necessary packages.

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 :( :(

How can I install libdouble-conversion-dev on Ubuntu 18.04?

I tried installing the libdouble-conversion-dev package using sudo apt-get install libdouble-conversion-dev but failed with the following output:
Package libdouble-conversion-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libdouble-conversion-dev' has no installation candidate
I have also tried running sudo apt-get update beforehand and got the same results, as well as installing from the debian file from https://packages.debian.org/buster/amd64/libdouble-conversion-dev/download but nothing seemed to have changed.
You can manually install a Debian package on a compatible Ubuntu host with sudo dpkg -i $name_of_package_file.

Installing python-ldap fails with lber.h file not found in ubuntu 17.10 even after installing devel packages

I am trying to install python-ldap package using pip. I am getting the below error while executing pip install python-ldap. I tried installing the package corresponding to ubuntu 17.10 ( Artful ) as per this question but no luck yet. What package am I missing ?
Solution in the above stack overflow question is to install
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
But in 17.10 I could not see libsasl2-dev & libldap2-dev instead I could see packages libsasl-2-2& libldap-2.4-2. I installed those along with phthon-dev & libssl-dev. But still I am getting the below error.
Seems I am missing some package installation which has lber.h file in it.
Error I am getting :
In file included from Modules/LDAPObject.c:8:0:
Modules/constants.h:7:10: fatal error: lber.h: No such file or directory
#include "lber.h"
^~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Python version - 3.6.3
Pip version - 19.1.1
I have figured out the root cause myself. Issue seems to be the dev packages itself.
Need to install libsasl2-dev, libldap2-dev & libssl-dev. I was not able to see these packages in 17.10 as the main repository mirror urls are changed as the version is archived as per the below question.
https://askubuntu.com/questions/1141501/i-cant-run-sudo-apt-get-update-in-ubuntu-17-10
I have changed to 18.04 and after installing the above packages everything works great.
This worked for me:
apt-get update -y && apt-get install -y python3-dev libldap2-dev libsasl2-dev ldap-utils tox lcov valgrind

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