setfib() not support in FREEBSD amd64 - x86-64

Setfib() syscall does not support in FREEBSD amd64 and its return Function not implemented error
https://www.freebsd.org/cgi/man.cgi?query=setfib&sektion=2

Related

swift does not find zlib on linux ubuntu 20.04

When running swift 5.5.3 or swift-5.7 under ubuntu 20.04, there are many warnings saying
"zlib is not available."
A simple c++ test program which links to zlib had no problem compiling and executing.
The dpkg command found the library at /lib/x86_64-linux-gnu/libz.so.1.2.11 with
pointers at /lib/x86_64-linux-gnu/libz.so.1 and /usr/lib/x86_64-linux-gnu/libz.so

Erro install paramiko on raspberrypi

When I install paramiko on raspberypi , have this problem:
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.25' not found
Have you try to upgrade your libc6 package?
sudo apt-get update
sudo apt-get install libc6
From: How to fix “/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found”?
That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).
Finally,I solve the problem by the root.Upgrade Raspbian Stretch to Raspbian Buster.
https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/

Install MongoDB 3.2 or higher on Raspberry pi 3 (Debian 9 (stretch))

I'm trying to get a newer version of MongoDB on my Raspberry Pi 3.
I've installed mongodb by:
sudo apt-get install mongodb
The mongodb version is 2.4.14.
The mongodb queries I'm using, require MongoDB version 3.2 or higher.
To get a newer version I've removed the old mongodb and done the following:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
When I run the apt-get update I get the following error:
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 InRelease' doesn't support architecture 'armhf'
My OS informations on my raspberry pi:
Linux myRaspberryPi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
I'm running raspbian (which is a 32 bit system) and the raspberry pi's CPU has 64 bit.
I'm a bit lost and tried to follow a lot of guides but all with the same result - I can't seem to get a new version of MongoDB on my raspberry pi.
Does anyone know if this is possible?
As specified in your error. You need a version compiled for a arm processor.
doesn't support architecture 'armhf'
The versions available on the following links are not compiled for your raspberry pi architecture.
DEBIAN: http://repo.mongodb.org/apt/debian/
UBUNTU: http://repo.mongodb.org/apt/ubuntu
and only work on below types of processors
binary-amd64
binary-i386
binary-ppc64el
A workaround would be to compile mongodb on your raspberry pi yourself.
Compile and install MongoDB on Raspberry PI
Ubuntu 18.04.2 is now available in an arm64 image which works great on the raspberry pi 3 B+ hardware. The OS is 64 bit Ubuntu, and it installs the latest MongoDB in 64 bit on the raspberry pi. See here for instructions: https://wiki.ubuntu.com/ARM/RaspberryPi
Also see here: https://andyfelong.com/2019/03/mongodb-4-0-6-64-bit-on-raspberry-pi-3/
If you need compatibility for armhf software, you can install the armhf libraries manually using these commands. This will allow you to install software designed for armhf on your Ubuntu arm64 OS.
# install armhf libraries on arm64
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf -y
sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
sudo apt-get install libstdc++6:armhf
armhf library install commands from here
If this helps, I've created a Docker Image with MongoDB 3.0.14 on Raspbian Stretch and tested on Raspberry Pi 3. Read the install details here https://github.com/andresvidal/rpi3-mongodb3 and https://hub.docker.com/r/andresvidal/rpi3-mongodb3/

Cannot Run Project in Eclipse C/C++ OpenCV 2.4.5 Ubuntu 12.10

I have just installed OpenCV 2.4.5 and Eclipse IDE for C/C++ Developers on Ubuntu 12.10 and followed this opencv.org tutorial. The project builds with no errors but when I reach the "Running the executable" section from Eclipse, I get the following message after hitting Run:
/home/pedro/workspace/di/Debug/di: error while loading shared
libraries: libopencv_core.so.2.4: cannot open shared object file: No
such file or directory
Does anyone have any suggestions on how to solve this issue?
EDIT:
Using sudo dpkg -l | grep opencv gives:
ii libopencv-calib3d2.3 2.3.1-11ubuntu2 amd64 computer vision Camera Calibration library
ii libopencv-contrib2.3 2.3.1-11ubuntu2 amd64 computer vision contrib library
ii libopencv-core-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-core
ii libopencv-core2.3 2.3.1-11ubuntu2 amd64 computer vision core library
ii libopencv-features2d2.3 2.3.1-11ubuntu2 amd64 computer vision Feature Detection and Descriptor Extraction library
ii libopencv-flann-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-flann
ii libopencv-flann2.3 2.3.1-11ubuntu2 amd64 computer vision Clustering and Search in Multi-Dimensional spaces library
ii libopencv-gpu-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-gpu
ii libopencv-gpu2.3 2.3.1-11ubuntu2 amd64 computer vision GPU Processing library
ii libopencv-highgui2.3 2.3.1-11ubuntu2 amd64 computer vision High-level GUI and Media I/O library
ii libopencv-imgproc-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-imgproc
ii libopencv-imgproc2.3 2.3.1-11ubuntu2 amd64 computer vision Image Processing library
ii libopencv-legacy2.3 2.3.1-11ubuntu2 amd64 computer vision legacy library
ii libopencv-ml-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-ml
ii libopencv-ml2.3 2.3.1-11ubuntu2 amd64 computer vision Machine Learning library
ii libopencv-objdetect2.3 2.3.1-11ubuntu2 amd64 computer vision Object Detection library
ii libopencv-video-dev 2.3.1-11ubuntu2 amd64 development files for libopencv-video
ii libopencv-video2.3 2.3.1-11ubuntu2 amd64 computer vision Video analysis library
ii opencv-doc 2.3.1-11ubuntu2 all OpenCV documentation and examples
ii python-opencv 2.3.1-11ubuntu2 amd64 Python bindings for the computer vision library
rc ros-fuerte-opencv2 2.4.2-0precise-20120908-1624-+0000 amd64 OpenCV
rc ros-groovy-opencv2 2.4.4-1quantal-20130325-0857-+0000 amd64 OpenCV
Sorry the formatting is not the best.
The command "locate libopencv_core"
/usr/lib/libopencv_core.a
/usr/lib/libopencv_core.so
/usr/lib/libopencv_core.so.2.3
/usr/lib/libopencv_core.so.2
"locate libopencv" shows a extensive list that I don't know if it would be appropriate to copy it.
Ubuntu Quency Quantal 12.10 has 2.3.1 packages in it's repo:
OpenCV in Ubuntu 12.10 repo
The next version, raring has 2.4.
I'd uninstall Ubuntu 12.10's various v2.3.1 opencv related packages. (How did they got installed? Did you install them manually, or something pulled them in?). Then I'd try to compile+install the OpenCV source again. The install stage of the make procedure should provide libraries to you.

How do I install the correct version of windbg?

I have intel 2500k processor yet winsdk installed amd64 version for me. I can't seem to find a way to download intel64 version anywhere nor change the installation option. What should I do?
amd64 is the 64bit version of x86. IA64 is the Itanium version. You want the amd64 version for a 2500K.
Read this to learn why AMD64, Intel64, x64 are compatible terms.
http://en.wikipedia.org/wiki/X86-64