I recently installed digilent adept 2 on linux mint 17.3. when I try to execute djtgcfg or djtgcfg enum I receive the error
djtgcfg: error while loading shared libraries: libdabs.so.2: cannot open shared object file: No such file or directory
libdabs.so exists in the following locations on my machine
/usr/lib/digilent/adept/libdabs.so.2
/usr/local/lib64/digilent/adept/libdabs.so.2
/home/han_solo/Xilinx/14.7/ISE_DS/common/bin/lin64/digilent
/digilent.adept.runtime_2.13.1-x86_64/lib64/libdabs.so.2.11.1
/home/han_solo/Xilinx/14.7/ISE_DS/common/bin/lin/digilent
/digilent.adept.runtime_2.13.1-i686/lib/libdabs.so.2.11.1
/home/han_solo/Xilinx/14.7/ISE_DS/ISE/bin/lin64/digilent
/digilent.adept.runtime_2.13.1-x86_64/lib64/libdabs.so.2.11.1
/home/han_solo/Xilinx/14.7/ISE_DS/ISE/bin/lin/digilent
/digilent.adept.runtime_2.13.1-i686/lib/libdabs.so.2.11.1
/usr/local/lib64/digilent/adept/libdabs.so.2.11.1
/usr/lib/digilent/adept/libdabs.so.2.16.5
Each instance has read access. I also made sure that there was a copy in /etc/ld.so.conf.d and ran
$ sudo ldconfig
Go to /usr/local and search for libdabs.so.2 in /usr/local/lib or /usr/local/lib64, depending on where you installed it. Be sure to also check /usr/local/lib/digilent/adept and /usr/local/lib64/digilent/adept
If you don't find the file, you can try going to /usr/Xilinx/14.4/ISE_DS/common/bin/lin64/digilent or /usr/Xilinx/14.4/ISE_DS/common/bin/lin/digilent (32-bit or 64-bit drivers path) and running ./install_digilent.sh. After running it, try to find libdabs.so.2 again.
If you find libdabs.so.2, copy its path and then look for the file /etc/ld.so.conf. Edit this file. Paste the path you copied before in the last line of this file and save it (you can run sudo nano /etc/ld.so.conf to edit it, for example). Then, run sudo ldconfig in the terminal to update the cache. Afterwards, close your terminal and re openit. try to run djtgcfg again. It should work.
Obs.: When adding the path to ld.so.conf, you must put the whole path, without the file name. For example, if the file path is
/usr/local/lib64/digilent/adept/libdabs.so.2
then you should put /usr/local/lib64/digilent/adept/ in the last line of your /etc/ld.so.conf
Related
I have an application on my raspberry pi with no filetype at the end. When I double click the file it executes it fine but I want to look at the code, and suggestions. Running ls -l in the directory shows me the file is -rwxr-xr-x. what does this mean.
First, you need to find out what type of file it is.
That is what file command is for, open a terminal and type:
file my_executable
If it tells you this is some kind of script file, like BASH or Python, right click it, and try to open with an editor, or in the terminal type:
nano my_executable
But, if the type is ELF, it means this is a binary, and you can not see its source code in the file it self.
You can still try disassembling it with a program like Ghidra, but you would be better off trying to understand where the file came from (did you install it with apt command?) and see if there is source available.
Note that for any free software package you install through:
sudo apt-get install my_package
You can download the source code with command:
apt-get source my_package
This does not require sudo (it does not change your system), but it will only work for free software / open source packages, which is almost all packages in the default Raspbian repositories.
I am trying to install pumba from the OS release page. Once it is downloaded, I try running
pumba --help
It gives a command not found error.
Can anyone suggest what am I missing? The amd_64 file has all read, write and execute permissions.
If the name of the file is pumba_linux_amd64, you have to use that. Additionally, since the file is (assuming) not in your $PATH, you can't launch it directly.
If your file is in your current directory, run
./pumba_linux_amd64
Trying to install Cytoscape program on linux cytoscape. And I don't know how because first install button transfers me to HTML page and nothing is downloadable. (I have java installed). I tried to download tar.gz file but I am stuck, because there is no configure file and it says I have no permission for it. What should I do?
Once java 11 is installed on your computer try this:
ctrl+alt+T #open Ubuntu's console
cd /home/fulanita/Downloads #this is the directory where my computer has cytoscape.
chmod +x ./Cytoscape_3_8_1_unix.sh
./Cytoscape_3_8_1_unix.sh #3.8.1 is the last version for Ubuntu
the program will start to install
If anyone comes here in search for an answer I found a solution.
You go to you directory where you keep extracted tar.gz
with cd -Folderdestination/ you locate a folderwhere you keep a file named cytoscape.sh, and with command
sudo sh cytoscape.sh
install the program.
im trying to install xampp on "new" linux mint machine.
However im quite a noob to linux since i havnt used it for that long.
When i try to run the file that ive download from the following page:
Xampp download
i get the following error two errors:
Could not display "/home/marc/Downloads/xampp-linux-x64-1.8.3-0-installer.run".
and if i click yes
Installing mime type handlers isn't supported
To search and install software which can open certain file types you have to install app-install-data.
can anyone tell me what the problem is and how i might fix it?
you need to execute the file (e.g. open a terminal, navigate to your Downloads folder and run bash xampp-linux-x64-1.8.3-0-installer.run (possibly it might need to be run otherwise, but thats my best guess)).
alternatively you might be presented to run/execute the file (instead of displaying it). if so, choose this option.
on the other hand, you might consider installing apache/php/mysql via your package manager.
what you can do is that you can use the chmod +x /your folder location/.run file that you want to install
after that you can run following command
./and your .run file name
example:-
in my case :- User#user~$su root
it will ask for password so give it
User#user~chmod +x /Downloads/xampp-linux-x64-1.8.3-0-installer.run
User#user~./xampp-linux-x64-1.8.3-0-installer.run
I'm followint these instructions to install Kile+TexLive 2010 with package manager on my Ubuntu Maverick: http://ubuntuforums.org/showthread.php?t=141934
The problem I have is that when I finish downloading all the packages to my computer, I have to edit the path but Ubuntu doesn't recognize it. The lines are the following:
PATH=/usr/local/texlive/2005/bin/i386-linux:$PATH
export PATH
I run echo $PATH and as long as I don't close the terminal, the path appears with the echoing, but if I close it, the path disappears. Nevertheless (whether I close the terminal or not), I'm supposed to run texhash but I am told that the command is not found. I already tried editing the path by adding the two lines above to both .bashrc in my home directory and to bash.bashrc in /etc/ directory.
I'm just following the instructions linked above, but I'm a linux rookie. Could anyone help, please?
in order to permanently change any environment variable under Ubuntu/Linux, you must modify the files you mentioned (for example ~/.profile). If you simply issue an export via the terminal, its effect will end once the terminal is closed. Sometime it is needed to perform a logout/login for the changes to take effect.
Also, mind the syntax of what you write in the above mentioned file(s), like "'s around $PATH.
Refer to this question: https://serverfault.com/questions/44275/how-to-add-a-directory-to-my-path-in-ubuntu