Skip to content

  • Home
  • Résumé

Category: Programming

How to extract files from an rpm

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 »
November 21, 2012 matt Administration / Computers / 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 »
July 24, 2012 matt Administration / Programming

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 »
July 19, 2012 matt Programming

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 »
July 19, 2012 matt Computers / Programming
Powered by WordPress and zeePersonal.