Category "linux"

use make configure/install to create a fat binary [duplicate]

On a Linux machine I can do: ./configure make install to build from source. However, when I copy that build to another machine, obviously

How to fix wmctrl Cannot open display when Python open subprocess

This is my program, and it works very well. import subprocess result = subprocess.check_output("wmctrl -l",shell=True,stderr=subprocess.STDOUT) result = resul

using mogrify on lot of images gives error

I am using mogrify to resize the images in a directory using the following command mogrify -resize 100x100 *.jpg due to the huge number of images, I get

MissingPluginException for Linux desktop app

Just added desktop support to my flutter app, it runs fine in the android emulator, but wont render any element in neither browser nor desktop, just a simple bl

What's the meaning of "cpu_intr" and "cpu_sintr" in ganglia

Where can I see these metrics of explanation? cpu_ctxt, cpu_intr, cpu_sintr, cpu_aidle, cpu_steal

What is the difference between kill and kill -9?

Can anyone explain the difference between kill and kill -9. Thanks in advance.

How to avoid failing with Decimal function when 0/0 occurs?

I have a Python 2.7 script and it uses two lists and divides the numbers to each other then creates a new list with the results and it is working fine but it er

Flutter Linux build error when executing flutter run -d linux

Flutter doctor did not show any issues. What could be wrong? executing: flutter run -d linux Shows the following: CMake Error at /snap/flutter/81/usr/share/cmak

running python script as a systemd service

I have a python script myScript.py which is writing on a file every 2 second. But when I want to run this script as a systemd service, service works but not wri

How to access Unix Domain Sockets from the command line?

Reading a Unix Domain Socket file using Python is similar to an ordinary TCP socket: >>> import socket >>> import sys >>> >>&g

sh file not found in linux command line

I'm an owner of synology's diskstation NAS server running on special OS (mainly linux) It has only access from internet. I established command line interface t

Copy Files from Windows to Windows Subsystem for Linux (WSL) [closed]

I have enabled developer mode and installed Bash on Ubuntu on Windows. My home directory can be found under %localappdata%\Lxss\home\<ubun

/usr/bin/ld: final link failed: Illegal seek collect2: ld returned 1 exit status

I am running my program on linux server and it was compiling and running fine then i made another directory and tried to compile it in that directory and it w

Adding member to existing hyperledger Fabric 1.2 network on amazonmanaged blockchain

I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is als

Adding member to existing hyperledger Fabric 1.2 network on amazonmanaged blockchain

I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is als

undefined reference to '_asan_init_v4' when compiling

When linking my code compiled with the AddressSanitizer tool, I'm getting many errors of the kind undefined reference to '_asan_init_v4'. clang -fPIC -g -fno-om

SonarQube server can not be reached at http://localhost:9000 with Sonarqube-4.5.1

I have recently setup Sonarqube-4.5.1 on my linux machine ( x86_64 x86_64 x86_64 GNU/Linux ). I am able to start sonar with ./sonar.sh start command. On checkin

undefined reference to '_asan_init_v4' when compiling

When linking my code compiled with the AddressSanitizer tool, I'm getting many errors of the kind undefined reference to '_asan_init_v4'. clang -fPIC -g -fno-om

How to fix "E: The list of sources could not be read" could not be read error?

I have added these two lines in etc/apt/sources.list.d/webmin.list `deb http://download.webmin.com/download/repository sarge contribdeb` `http://download.we

Execute a JAR file in a specific JRE

I have been looking at this question and although it shows how you can execute a jar in Windows, it does not show how this can be done in Linux (preferably Cent