Compiling module using SDK throws warning message: libelf-dev not found - linux

We have customized intel core-i7-64 machine and we developed Yocto Image and SDK for the hardware.
After sourcing the environment script and running "make modules_prepare", I get the following warning:
Makefile:956: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
The same error happens when I compile out of tree modules. How can i remove this error. What all packages should we need to add to avoid this.

Install libelf-dev and elfutils package. If you are using ubuntu or any debian variant then use the following command to install them.
sudo apt install libelf-dev

Related

Scrypto simulator installtion failure?

I am trying to install the simulator as per the instruction in here.
I am getting the following failure message:
It looks like it cannot find clang. You should have clang and its development package installed, otherwise this crate cannot build against it, which it apparently needs to do.
Scrypto v0.3 requires you to have llvm installed. Please follow these steps to get it installed:
On Windows: use this installer
On Linux: run sudo apt install llvm
After installation, don't forget to close and reopen your terminal

RAD SERVER 10.4.1 " E2597(SystemPath)\ld-linux.exe: error: cannot find -lz " deploying to Linux 64

I am trying to re-compiling some API in the 10.4.1 for Ubutun 18.04.4 LTS ( builded in RAD SERVER 10.3), but ever API who has this lib "REST.Response.Adapter" the compiler fails and i get this error :
[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find -lz
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001).
I already installed some linux patch for 10.4.
I tried to reinstall the linux SDK, nothing....
Someone know anything about it ?
Firstly, you need to install zlib1g-dev in your Linux system by the following command in a terminal.
sudo apt-get install zlib1g-dev
To ensure you have installed all the required libraries, you can also use this command:
sudo apt-get install joe wget p7zip-full curl build-essential zlib1g-dev libcurl4-gnutls-dev
Secondly, reboot the Linux system and/or restart at least the PAServer.
Afterward, go to your SDK manager in the Delphi IDE within Linux 64-Bit and press the button Update Local File Cache below the remote path list under Properties.
BTW: If you had followed these instructions http://docwiki.embarcadero.com/RADStudio/Sydney/en/Linux_Application_Development properly in all points, this would not have happened to you ;).

npm install dtrace-provider error: NOT FOUND make

I got error when i install dtrace-provider on my labtop.
My environment is windows 10 sub linux system on Ubuntu 18.04 LTS, and i am using zsh.
Dose anyone know how to fix this?
I have been run as administrator for this Windows Terminal(Preview) version.
There is no prebuild binary provided for the platform + node version combo, it retreats back to building from source with node-gyp, which then throws an error because make binary is not found. make is required for building from source from what the source looks like
solution: install make and all the requirements for this lib
https://github.com/chrisa/node-dtrace-provider#troubleshooting-build-issues

Configure: error: missing libstdc++ // UBUNTU UCK

Right now I am running Ubuntu 14.04 in VMware trying to make a Live CD with a tool called UCK. I am in the process where I can customize and add my own packages and tools to my live CD. I want to install and setup Autopsy so I began with the process of downloading both Sleuthkit and Autopsy. While trying to install those I have been told I have first have to use ./configure according to this guide: https://shankaraman.wordpress.com/2012/11/16/how-to-install-autopsy-and-sleuthkit-in-ubuntu/
and I got the following error: 'Configure: error: missing libstdc++'
Does anyone know how to fix this? I haven't found a solution on the internet yet.
Fixed it by running: sudo apt-get install build-essential -_-.

System crash after oracle installation with yum

recently i tried to install oracle on my linux with apt (I never used yum before) using fast manual:
http://www.oracle.com/technetwork/articles/servers-storage-admin/ginnydbinstallonlinux-488779.html
And after command:
sudo yum install oracle-rdbms-server-11gR2-preinstall
I got error:
Failed: ca-certificates.noarch 0:2010.63-3.el6_1.5 chkconfig.x86_64 0:1.3.49.3-2.el6 file-libs.x86_64 0:5.04-15.el6 filesystem.x86_64 0:2.4.30-3.el6
initscripts.x86_64 0:9.03.38-1.0.1.el6_4.2
Complete!
And something gone wrong because command like: ps, top are crashing
login#Ass-K55VJ:/etc/yum/repos.d$ ps -e
ps: relocation error: ps: symbol procps_number_version, version _3_2_5 not defined in file libproc-3.2.8.so with link time reference
login#Ass-K55VJ:/etc/yum/repos.d$ top
Segmentation fault (core dumped)
then I tryied to uninstall oracle and dependencies but after command:
sudo yum remove oracle-rdbms-server-11gR2-preinstall
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 10 2013, 06:42:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
So it seems like yum install in my system new libraries but didn't link it correctly? I dont know what do in this moment because it seems like armagedon on my ubuntu...
Does this mean you're on ubuntu and tried to install rpm packages using yum? The manual you used is for Oracle Linux 6, why would you try that on ubuntu?
rpm packages are not compatible with debian based systems like ubuntu, which use deb packages. So you've probably screwed your system big time, overwriting important system libraries with incompatible ones.
If apt-get is still working, then you can try to reinstall (apt-get --reinstall install) the equivalent libraries to the ones mentioned in the install manual you linked to - naming isn't always the same for rpm and deb packages. dpkg -l should help you see which the correct installed libraries are. I'd start with the C libraries (libc) etc.
But if apt-get is screwed also, then you'd need to download the packages manually from an ubuntu mirror and install them using dpkg, but I think a reinstall (or restore from backup if you have one) would be the best option.

Resources