how to install boost_python-py38 on ubuntu system - boost-python

I used cmake to build my project. I tried sudo apt-get install libboost-all-dev, but it didn't solve my issue. Is there a way to solve this problem? Thanks.

I had a similar problem, and found that the needed library was installed under the name /usr/lib/<arch>/libboost_python38.so (for x86_64 in my case that's /usr/lib/x86_64-linux-gnu/libboost_python38.so).
So I ran sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python38.so /usr/lib/x86_64-linux-gnu/libboost_python-py38.so and was able to link OK.
I ran into this specifically when trying to install pygattlib under python 3.8.

Related

Error while running 'make install' command to install Apache AGE

After successfully installing postgresql from source code, I got an error while installing Apache AGE. I have attached a screenshot of the error below. It would be great if someone can help out.Terminal view of command and error
I am searching online to find a solution but haven't been able to found yet.
From the image, it looks like you are using postgres 12.13.
For postgres 12, you should checkout to age for pg12 branch by doing git checkout release/PG12/1.1.1 and then make install.
I was also getting errors in a configuration which were resolved by using this command first.
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison
Try this and this will solve your problem too
In addition to installing the essential libraries before the actual installation using:
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison (Note: The above command is for Ubuntu only. If you are not on Ubuntu, See here)
It is also recommended to install the postgreSQL development files using:
sudo apt install postgresql-server-dev-xx
This is not the exact command to be typed in the terminal. Check out the link
here to see the exact compatible command to execute according to the version of Linux you are currently using.

VS Code: Error while installing 'C/C++' extension. Please check the log for more details

While downloading any extension, I am having above error. I uninstalled the vs-code and installed it again, but the same problem occurs. How to solve this problem?
you can add extension via terminal. here are the steps to install the GCC compiler on Ubuntu:
sudo apt update
sudo apt install build-essential the command installs a bunch of new packages including gcc, g++ and make.
to check the version type the command gcc --version
Running as admin worked for me after experiencing the same issue.

libicuuc.so.55: cannot open shared object file

While am compile using swift build, am getting following error in my Ubuntu machine
$swift build
/home/xxxxxxxxx/Downloads/swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a-ubuntu15.10/us
r/bin/swift-build: error while loading shared libraries: libicuuc.so.55: cannot
open shared object file: No such file or directory
How can i fix this issue?
Thanks.
You can manually download the good .dep
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then you run:
sudo dpkg -i libicu55_55.1-7_amd64.deb
If it miss some dependency:
sudo apt-get -f install
It has worked for me.
Your can find the other architecture on the debian package website :
https://packages.debian.org/sid/libicu55
p.s: I know this is on SID, but this is the only version that I found
*note...packages may have been removed
Your system lacks a critical component for building Swift, libicu-dev.
Install this:
sudo apt-get install libicu-dev
But that was for building Swift from source. You were talking about building with Swift, my apologies.
Unfortunately it seems it won't work either: Swift for Linux only officially runs on Ubuntu 15.10 and 14.04, and you tell me in the comments that you're running 15.04.
I know there's tutorials on the web on how to make it work on Mint and other distros... But the best would be, if possible, that you update your install of course.
I searched on the net and find a list in debian packages that shows the libicuuc.so.55 file.
apt-get install libicu55
Will resolve the issue.
hallow_me's link to download libicu55_55.1-7_amd64.deb doesn't work.
Here are the latest links https://packages.debian.org/stretch/amd64/libicu57/download
Like
wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then follow hallow_me's instruction to install it.
Try the followings lines
echo "deb http://security.ubuntu.com/ubuntu xenial-security main" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libicu55

xrl/nprobe install - command not found

I try to install xrl/nprobe when it is going to install first need to configure with ./configure but in my terminal give "bash: ./configure: No such file or directory" i work with ubuntu 12.04. if you can someone please help me
Do you tried to install via apt-get without the source code?
See:
http://www.nmon.net/apt/

Why can't I run the android emulator?

I have installed everything like I was told to by the android website and all I keep getting after I create my avd is
"Failed to start emulator: Cannot run program "/home/christopher/Desktop/android-sdk-linux_86//tools/emulator": java.io.IOException: error=2, No such file or directory".
Anybody got any ideas??? I'm running linux if that helps.
If you're running a 64-bit system, you need to install ia32-libs:
sudo apt-get install ia32-libs
If you are running Ubuntu 13.10 x64 or the latest Linux Mint x64 then the ia32-libs package is not available anymore. The solution which worked for me without any problems is to:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1
Hope this will help!
It's a lib32 problem, you need to install getlibs (http://frozenfox.freehostia.com/cappy/getlibs-all.deb) and run it against applications that do not work (e.g., adb and emulator).
cmd from first comment didn't worked for me (Crunchbang linux) so I solved this problem with
sudo aptitude install ia32-libs lib32ncurses5 lib32stdc++6
In directory tools, there are many types of emulator, while my computer works with emulator64-arm! My system is Linux Mint 16 amd64! Good luck!
./emulator64-arm #yxphone -sdcard yxsd -scale 0.8
Another alternative to that, and one in which you will not need to add archs or install anything, is going to the android-sdk install directory, and then to tools dir. There you'll find the emulator executable and plenty other emulator executables too.
Since the emulator file seems to actually be a chooser to which one of the others it will launch based on your OS arch (the problem is that the file itself is a 32bit executable), you can just rename it to emulator.old or something and then make a symlink named emulator to the correct file (mine was emulator64-x86 for amd64 arch). So...
cd (...)/android-sdk/tools/
mv emulator emulator.old
ln -s emulator64-x86 emulator
And it should work! The downside for this is that you'll probably have to do it everytime you update the SDK Tools and also will only fix the emulator, adb and some other tools will have the same problem! Anyways, still an alternative!
64-bit system needs to install ia32-libs and it is working with latest Linux Mint 16 Cinnamon. I have used this. Just run Commands in terminal
sudo apt-get install ia32-libs
sudo apt-get update
Try this, for me work fine
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386