General :: Finding Binary Dependency Trees?
Oct 25, 2010
I'm working on a Linux distro, and I have the full thing compiled and everything, but it is centered around a single program (a rendering engine). Is there any way that I can figure out what dependencies the binary has at runtime? I know I don't need gcc and a ton of other files, but I'm not sure what I can remove to decrease size (I'm aiming at under 20 MB, as Slitaz Live CD is only 30, but it has a ton more stuff than my CLI thing).
View 4 Replies
ADVERTISEMENT
May 5, 2011
Is there any Linux utility to combine two or more binary files into a single binary file ?
View 7 Replies
View Related
Nov 5, 2010
Somehow, I have flipped a bit somehwere, and some directories, particularly those shred through SAMBA, have flipped their sorting.
where those things are configured?
I also want to hide .dot files for some shared directory trees.
View 3 Replies
View Related
May 18, 2010
I have a disk of all the rpms (just the rpms) of RH Ent. 5.1. I needed to intall some packages from it.
For that I created a local repository.
Following is what I did:
1. mounted DVD in /media
2. Issued createrepo on /media (Now the packages are in /media/mycdrom/RHE5Rpms and the repodata is in /media)
3. I added the following in the /etc/yum.conf
Now when I try to install, for example, qt4-devel, it can resolve the dependencies for one level. For example, it resolves libpng-devel (which is needed by qt4-devel), but it fails to resolve libpng (which is needed by libpng-devel). But libpng package is both available in the DVD and is already installed on the machine.
Following is the tail of error messages I get after issuing the command 'yum install qt4-devel'
All the above packages are available through the DVD and already installed on the machine.
View 3 Replies
View Related
Feb 17, 2011
I have a couple directories in the following format:
+ Dir 1
----+ Dir A
-------- file1
----+ Dir B
-------- file2
+ Dir 2
----+ Dir A
-------- file3
----+ Dir C
-------- file2
+ Dir 3
----+ Dir B
-------- file2
----+ Dir C
-------- file1
My desired structure is:
+ Dir Final
----+ Dir A
-------- file1
-------- file3
----+ Dir B
-------- file2-1 [or something so that the two files don't overwrite]
-------- file2-2
----+ Dir C
-------- file2
-------- file1
Basically, I would like to combine all the directories that I can, without deleting/overwriting any files. I have looked at Rsync, but I could not find the correct options to do what I wanted.
View 1 Replies
View Related
Nov 30, 2010
How to coded version info and other information likes author and company name into the ELF binary?
I prefer the put the version info during build step.
View 5 Replies
View Related
Apr 11, 2011
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
View 1 Replies
View Related
Dec 13, 2010
Is it possible to convert/recompile an already compiled x86 binary into an ARM binary?I'm using a BeagleBoard with a command-line Ubuntu (Maverick) and want to run a Ventrilo server but the x86 executable they supply cannot be run on the hardware as far as I can tell (most likely due to differing architecture).Unfortunately I don't have access to the source to allow me to recompile it natively.
View 3 Replies
View Related
Aug 19, 2010
I'm trying to autodetect if certain applications (for example, Firefoxre running. I figured the easiest way would be by checking process names.
View 2 Replies
View Related
Jan 5, 2011
I need to change the functions of some linux commands. We can't edit the binary files provided in /bin, is there any other method other than alias.For ex. - I need to change the function chmod so that it takes only three consecutive integers as input (chmod 777 filename) and nothing else ? Do I have to write by own code for it, or is there any other alternate method.
View 2 Replies
View Related
Dec 27, 2010
In a DOS prompt, I would like to ftp ASCII get a file from a Linux machine. The file was created in vi, just a normal text file.in DOS prompt:
Code:
ftp> ascii
200> Switching to ASCII mode.
[code]...
View 3 Replies
View Related
Feb 11, 2010
Trying to setup a new Ubuntu machine and just downloaded 'p4' (Perforce command line client). It's a single file download - a statically-linked binary executable, so I just did:
wget [URL]
...right into /usr/bin. Simple enough. Except:
root@aj-ubuntu:/usr/bin# ll p4
-rwxr-xr-x 1 root root 748808 2010-02-11 16:54 p4
root@aj-ubuntu:/usr/bin# ./p4
[Code].....
View 6 Replies
View Related
Sep 25, 2010
I'll be using a specific example, but really this generalizes to pretty much any binary on linux that can't seem to find its' dependent libraries. So, I have a program that won't run because of missing libraries:
./cart5: error while loading shared libraries: libcorona-1.0.2.so: cannot open shared object file: No such file or directory
ldd sheds some light on the issue:
linux-vdso.so.1 => (0x00007fff18b01000)
libcorona-1.0.2.so => not found
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/libstdc++.so.6
[Code]....
View 2 Replies
View Related
Nov 3, 2010
Suppose i have some binary blobs in ~/pkg/opt, ( I created those with the standard ./configure, make, make DESTDIR=~/pkg/opt install ).Is it possible to pack this structure into an installable rpm that can be installed/uninstalled from a RHEL/CentOS system...? rpm -ivh my_package.rpm ? Doing this in Slackware is easy, as well as in Arch, one installs to a fakeroot ( pkg ), creates a PKGBUILD, and runs makepkg -R PKGBUILD, this creates an installable Arch Package. But i am not very familiar with the more fashionable package formats, *.debs and *.rpms. Can i just pack the thing from binary, or do I have to build it and pack it in the process? makepkg -R PKGBUILD just packs it if one is lazy enough to write the whole PKGBUILD.
View 1 Replies
View Related
Jun 7, 2011
Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:
Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].
View 4 Replies
View Related
Mar 31, 2011
Using Mysql binary log we can able to take incremental backup perfectly, like that we can able to create binary log for normal directory (or) is there any option to enable binary log for normal directory.?
View 1 Replies
View Related
Mar 17, 2011
Is it possible to parse through a binary file using a script using either Korn shell or Bash
View 3 Replies
View Related
Apr 16, 2009
I am working on a custom hand-held device which runs a variant of Ubuntu Linux, 2.6.18. I have a set of 4 binary files (for oprofile) which have been known to run in this environment, but when I copy them to /usr/bin, I can't run them: I get this message;root@ldogberry:/usr/bin# ./ophelp-sh: ./ophelp: not foundThis happens when I specify the full path, when I run from the /usr/bin directory -- it happens no matter what. Bash even does command-line completion on the file -- and then turns around and instantly claims the file is not found.
View 7 Replies
View Related
Mar 29, 2010
I need to compare two binary files and get output in form
for every different byte. So if file1.bin is code...
what is the easiest way to accomplish the goal? Standard tool? Some 3rd party tool?
View 5 Replies
View Related
Jun 30, 2011
Is it possible to get the path of a process running under Mono in Linux? For example if I launch KeePass using mono KeePass.exe, running ps just shows the command name as mono, while what I really want is KeePass.exe.
View 1 Replies
View Related
May 7, 2009
I had full backup in mysql. now i added some tables .i got new binary logs. how i can i use these logs to have incremental backup.
View 3 Replies
View Related
Apr 15, 2010
I have this source.tar.gz, I unpack it and cd into it, then I
Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install
So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?
View 4 Replies
View Related
Feb 4, 2011
Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??
One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?
View 1 Replies
View Related
Apr 13, 2011
diff has the ability to trasverse directory structures. cmp has the ability to manage binary files.
I'm looking for something which allows me to compare a directory's contents, including files and subdirectories, and so a binary comparison.
Any suggestions, scripts, etc. which may be of help?
Some of my directories are huge, with huge (image) files in them.
View 2 Replies
View Related
Jul 13, 2011
and executing my package on red hat version 2.6.18-164.el5 and displaying no error but my binary is not created what could be problem ??
make[1]: Leaving directory `/root/kartik/POC_SSI_1/iub_dogw/ipr/common/cspl'
gcc -print-file-name=libgcc.a -g -Wall -Werror -D_GNU_SOURCE -r -o /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/bcpapp -lgcc -lc /root/kartik/POC_SSI_1
[code]...
View 2 Replies
View Related
Sep 26, 2010
I am working on a project where I need to use the C language to generate a tree of processes. I understand how fork() works but I cant seem to get fork() to create two children from one parent and then have the two children create two more children.
Right now what i am seeing is a chain...where the parent creates one child...and that child creates another ONE child..etc.
Here is what I have so far:
for (i=0; i<n;i++){
if (childpid = fork()) break;
}
if (childpid == -1){
perror ("
[Code]....
View 3 Replies
View Related
Mar 14, 2010
Fedora 12 2.6.32.9-67.fc12.i686I have tried doing the recommended as its saids at the bottom. However, that didn't work. So I have to yum upgrade --skip-brokenDoes anyone know how to solve this problem?
nss-3.12.6-1.2.fc12.i686 from updates has depsolving problems
--> Missing Dependency: nspr >= 4.8.4 is needed by package nss-3.12.6-1.2.fc12.i686 (updates)
nss-3.12.6-1.2.fc12.i686 from updates has depsolving problems
[code]....
View 1 Replies
View Related
Aug 5, 2010
Is there a distro that has the best dependency resolution than the rest?
View 8 Replies
View Related
Mar 22, 2011
Say if I want to install openssh in traditional way with ./configure then make and make install which works fine in Fedora but not in Ubuntu as it gives error for a Mailer program when ran ./configure, as sendmail is by default installed in Fedora but not in Ubuntu. What I need to know is how yum/apt-get resolve this dependency problem? Is there any file in the OS where it's listed all the dependencies along with the package names like in Redhat installation CD there are some XML files where it lists all the packages along with their dependencies.
View 2 Replies
View Related
Jun 29, 2010
I am in the process of install Graphviz for NagVis but when I run yum install 'graphviz*' I get the following:
Code:
Error:
The program package-cleanup is found in the yum-utils package.
I am running CentOS 5.5 32bit and have only added the extra rpmforge repo's.
View 3 Replies
View Related