How do I install and build against OpenSSL 1.0.0 on Ubuntu?

You can consider this a follow-up question to How do I install the OpenSSL C++ library on Ubuntu? I'm trying to build some code on Ubuntu 10.04 LTS that requires OpenSSL 1.0.0. Ubuntu 10.04 LTS...

send sms with an operator using smpp and kannel

I work with ubuntu 10.10 currently I send sms with clickatell using this code Message = space_to_plus("message de test."), Url =...

OpenCV VideoWriter using ffmpeg with "Could not open codec 'libx264'" Error

I am new to OpenCV, and I want write Mat images into video using VideoWriter on Ubuntu 12.04. But when constructing VideoWriter, errors came out. It seems that OpenCV invoke ffmpeg API using...

Warning vboxdrv kernel module is not loaded

Well I run this command aptitude purge ~o To delete all the Obsoletes files that aptitude show me big mistake I guess after that I update the system everything works fine but when I restart the...

Django App Improperly Configured - The app module has multiple filesystem locations

I think I've really screwed something up. On my django app (the production one) I pushed a major update and am get an "Internal Server Error" whenever I try to go to my domain. I am getting an...

lxml will never finish building on ubuntu

I am running ubuntu 14.04 LTS and python 2.7.5 on a vwmare. When I run: sudo pip install lxml I get: Collecting lxml Using cached lxml-3.4.4.tar.gz Building wheels for collected packages:...

Unable to self-update Composer

I am trying to update Composer without any luck! What I have tried: $ composer self-update [InvalidArgumentException] Command "self-update" is not defined. $ sudo -H composer...

Install pip for python 3.5

SOLUTION My user did not own permissions to the pip directory, I reinstalled Python 3.5 using the sudo -H flag I'm trying to install Tensorflow for python 3.5 using pip3 -- for reasons described...

No rule to make target `arch/x86/entry/syscalls/syscall_32.tbl', needed by `arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'

When I tried to enable PPP in the Ubuntu machine the following error occurred after menuconfig and trying to make the kernel: $ sudo make make[1]: *** No rule to make target...

AIO not found while compiling nginx

I am trying to compile nginx on ubuntu and I am using the following config parameters: ./configure \ --prefix=/usr/share/nginx \ --conf-path=/etc/nginx/nginx.conf \ ...

Building Eigen3 with CXX_FLAGS

I'm trying to build Eigen3 using CMake as described in the installation menual: [email protected]:/opt/tr/src/eigen/build_dir$ ../../cmake-3.8.1/bin/cmake -DCMAKE_BUILD_TYPE=Release --build...

opencv - cmake error : No such file or directory on Ubuntu

I have been trying to install opencv from source rather than pip since I could not read a VideoCapture successfully. Installing opencv-3.2.0 on Ubuntu 16.04.3 LTS. Followed the details mentioned...

kubernetes: api-server and controller-manager cant start

I have a running k8s-cluster, setup with kubeadm. I have the problem, that the api-server and controller-manager pod cant start, due to a bind-exception: failed to create listener: failed to...

How can I get the bpf_helpers.h header file for my Linux kernel?

I am developing an eBPF program on an Ubuntu machine: $ uname -a Linux ubuntu-bionic 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux To do...

Can't compile the TPLINK TL-WN822N driver under Linux Mint 19.1 XFCE

I have an USB wifi adapter (TPLINK TL-WN822N. I downloaded the linux driver from the manufacturers download page and tried to compile it, but I always get errors when I try to run the make...

"apt-get install linux-headers-generic" installed in directory different than $(uname-r)

I am a newbie on Linux kernel. I was trying to install Linux header on ubuntu. I first tried sudo apt-get install linux-headers-$(uname -r) However, since the output of $(uname -r) is...

NGINX, uWSGI with CGI plugin, Python scripts - 502 Bad Gateway

I want to use uWSGI with CGI plugin to process all requests to .py files passed from NGINX. NGINX server config: location ~ \.py$ { include uwsgi_params; uwsgi_modifier1 9; ...

Podman (libpod) fails to run while mounting shm with SELinux context

I am currently trying out Podman on Gentoo Linux: # grep -i selinux...

how to build liburing

I am build liburing which is a user interface for io_uring features. But when I run ./configure it throws this error: /tmp/fio-conf--21449-.c:2:10: fatal error: linux/time_types.h: No such file or...

Pytorch says that CUDA is not available

I'm trying to run Pytorch on a laptop that I have. It's an older model but it does have an Nvidia graphics card. I realize it is probably not going to be sufficient for real machine learning but I...

squashfs error when running singularity after Ubuntu upgrade

Overview: I am working with code in a singularity image on a machine running Ubuntu 18.04. It was working (well, I was debugging the code) as of Tuesday evening on machine A. I ran an update and...

Why virtualbox fails to install on Ubuntu20.04

I am trying to install virtualbox. I had it installed previously and it worked. Today I tried to add another virtual machine and it started complaining about problems with dkms so I tried to purge...

Unable to fix broken apps on linux mint

I'm not able to install,remove and update packeges in my "Linux Mint VERSION="20.1 (Ulyssa)", I got that issue after update mysql-cluster-community-server and other related mysql packages. I have...

How to send live video captured from opencv in django to aws kinesis-video-streams putmedia endpoint?

To achieve: capture the live feed of a camera in web browser using OpenCV and send it to AWS Kinesis-video-stream(an aws service) using PUT_MEDIA(end_point). Have referred...

CMake Error ...: DNN: CUDA backend requires CUDA Toolkit. Please resolve dependency or disable OPENCV_DNN_CUDA=OFF

Here is the error I am getting when I am compiling OpenCV on ubuntu 20.04 with cuda 10.1. -- Detected processor: x86_64 CMake Warning at cmake/OpenCVUtils.cmake:721 (message): Unexpected option:...

Upgraded Python and broke everything

Today I upgraded python to python3/python3.8 and broke everything I tried to uninstall python and install it again, but it's not possible I don't know can replace the folder somehow? But now I...

Why Rust build.rs is unable to find C headers?

Basically I am trying to cargo build a crate which has a build.rs file. This crate is located inside a bigger project and it's supposed to be a lib crate. And inside this build.rs file, I am...

GDB Failed to set controlling terminal operation not permitted on attached visual studio docker

I'm trying to run my program with GDB debugger. When I run it, I get a warning: GDB: Failed to set controlling terminal: Operation not permitted That warning appears and disappears very fast in...

gsutil timeout in every call refreshing access_token

This might be a duplicate but none of the previous answers match my conditions. I installed gsutil as part of the google-cloud-sdk following https://cloud.google.com/sdk/docs/install. I could...

How to install Linux Kernel Headers?

I have a fresh install of Ubuntu 18. I'm trying to install third party software that requires the Linux Kernel Headers. I did so with "apt -y install linux-headers-generic" and there were no...