starting binary – library file not found

Problem Getting an error about not being able to find libraries (file not found), when starting up a binary – such as httpd. Solution You need to identify the shared libraries required by your binary. Ordinarly we use the ldd command for this and amended LD_LIBRARY_PATH to find the libs – see example below.You might [...]

Resize image command line – mogrify

Problem You want to resize images from the command line. Solution Use image magik mogrify command.mogrify -resize “percentage” image_naAlso you can view current sizing – like this:% identify IMG_3864.JPGIMG_3864.JPG JPEG 563×422 563×422+0+0 DirectClass 8-bit 32.8887kb Example mogrify -resize 20% IMG_3705.JPG Reference Technorati Tags: mogrifymogrify man page – resize an image