Skip to content
Advertisement

Tag: ubuntu

Can’t install php7.2-ldap on Ubuntu 18.10 – “unmet dependencies”

Recently I’m working with Laravel and LDAP (Active directory) authentication. But I can’t install php7.2-ldap, I also tried to install in php7.3 but failed. Currently I’m using ubuntu v18.10 with multiple php version. I tried: $ sudo apt-get install php7.2-ldap and got this output I also tried $ sudo apt-get update and upgrade also before do it. Answer 7.2.20-1+ubuntu18.10.1+deb.sury.org+1 is

Unable to register git runner on local network server

i’m trying to register a git runner on my company local network server, gitlab is working fine with self singed certificate, but when trying to register a git runner like this then pasting the git URL then the token: and then the description and the tags, then i get this error: i’m not using docker, just normal setup, please any

First file path value not added into array on linux ubuntu

Running a python script on linux The for loop will run twice and 2 pngs will be added into the array. However, only the 2nd one was added into the array. Not too sure why the first one is missing from the array. When i try to print the entire path, the entire path is showing. Example of the file

Why won’t my compiled c++ binary execute?

So I have just compiled my code and when I try to execute the binary I am getting When I do ldd a.out I see everything is there that I need Also doing an ls -la shows the file as such Does anyone have any reason why this isn’t working? I am using Ubuntu 18.04.2 LTS. Answer When I do

Running flask app automatically after boot does not work correctly

I am setting up Flask project in Raspberry Pi (python 2.7). It runs perfectly when the python script is called manually. However, I am trying to run the script automatically after boot, it cannot run properly. I have tried modifying /etc/profile to run the script after boot; /etc/profile start_script.py I expect running the server without any problem but after boot,

Ubuntu compiling kernel module first time

I’m trying to compile a simple kernel module for the first time: I’ve used obj-m += hello-1.o (that’s the name of the module) but i’m getting an error: obj−m: command not found Why is this happening? I tried looking online for a solution, but nothing I found helped.. EDIT: After modifying based on @Mathieu answer , I get the following

Why does my LD_LIBRARY_PATH get an uninstalled terminal launch?

In general, what I do to get the result: I drive a team: export LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib Checking: echo $LD_LIBRARY_PATH Result: /u01/app/oracle/product/11.2.0/xe/lib When I restart or open the new terminal my LD_LIBRARY_PATH is disabled. How to fix it? Answer Environment variables are available only in the shell where you have created them. If you want to set an environment variable permanently then

Advertisement