rpm2cpio program.rpm | cpio -idmv According to the man page, cpio is aprogram that can copy files to and from archives. The flags used are described as follows: -i : […]
Continue reading »Category: Programming
Add non standard path to ld.so lookup
setenv LD_LIBRARY_PATH “/path/to/lib/dir:$LD_LIBRARY_PATH” export LD_LIBRARY_PATH=”/path/to/lib/dir:$LD_LIBRARY_PATH” echo /path/to/lib/dir >> /etc/ld.so.conf lddconfig For help, with either features of dynamic linking or the location of the config file on your system, consult the […]
Continue reading »Query process information in C++ on linux and/or unix.
I have a created a program that forks off another program, and maintains status information about each process. std::map::iterator it; std::map tmpDisplay = Displays; for (it = tmpDisplay.begin(); it != […]
Continue reading »Lookup symbols from compile objects
This is a good debugging tool when solving linking issues. I use it as so nm -gCl libMine.so or nm -gCl MyProgram For more information and features, consult the man […]
Continue reading »