Best of Technical Support
Recently, I downloaded a Linux application and when I tried installing it, I encountered an “unsatisfied dependencies” error message in the package manager. Where do you go for missing Linux libraries and how do you install them? —Kelvin L. Barnes, Kelvin.Barnes@worldnet.att.net
If you're using an RPM-based distribution such as Red Hat, you install missing libraries the same way as any other software (i.e., by installing RPMs with the rpm program). You can find the RPMs containing these libraries by searching http://www.rpmfind.net/ or http://www.rpmsearch.net/. On my Red Hat 6.1 box, I've installed the rpmfind utility (which was on the CD) provided by these sites, and it makes finding and downloading RPMs a snap:
rpmfind -v --auto --latest
your_rpm_name_here
You still have to install the RPMs (as root, typically) after they're downloaded:
rpm -UhvAnother place to search is your distribution's download sites, which sometimes include software that wasn't shipped on the CD for various reasons. Red Hat's sites (use mirror sites if possible) are at ftp://ftp.redhat.com/ and ftp://updates.redhat.com/. Occasionally, RPMs designed for one distribution may not operate correctly on another—the RPM itself is okay, but the files contained in it may have been configured differently, or they may be placed in different locations than normal for your distribution. If given a choice, choose an RPM that matches your distribution (e.g., if you're running Red Hat and you see “redhat” in the URL of one of the RPMs, that's probably the one you should choose). I have rarely encountered this problem, though. —Scott Maxwell, maxwell@ScottMaxwell.org Was this “application” a RPM file? If so, it should have taken care of all dependencies. Otherwise, the “missing” libraries could be an infinite number, so reading the application's documentation, specifically about requirements, should point you in the right direction. Usually your distribution's web site should have all sources for your Linux libraries and you should be able to download almost (99%) everything from there, unless it is a very specialized library. —Felipe E. Barousse Boué, fbarousse@piensa.com
I've installed two additional parallel ports on a PC, and I would like to use them all. So far, only /dev/lp0 works. Echoing into /dev/lp1 and /dev/lp2 returns the following nastygram:
BASH: /dev/<device name>: Device not configured
The ports work under Win98, so there are no IRQ or I/O address conflicts. Here's some more information:m
IRQ IO range Win98 name 7 0378-037f lpt2 5 03bc-03be lpt1 9 0278-027a lpt3
—Luis F. Gonzalez, gonzalezl@saic.com
Using ports in Linux requires two steps. First, your kernel must recognize the devices. You can check this by either scrolling through your boot messages by typing dmesg | less, or checking /proc/ioports and /proc/devices. The second step is to create the device file in /dev. If this file does not exist, you can use the makedev script found in the same directory to create most Linux device nodes. If it does exist, your problem is most likely with the first step. —Chad Robinson, crobinson@rfgonline.com If you've installed the kernel sources, the file /usr/src/linux/Documentation/parport.txt addresses this in detail. Briefly, if the ports are not automatically recognized and configured, and if printing and parallel port support are compiled as modules (not compiled into the kernel proper), try adding the following lines to the file /etc/conf.modules:
alias parport_lowlevel parport_pc options parport_pc io=0x3bc,0x378,0x278 irq=5,7,9 options lp parport=auto
Then, from the shell, try removing and reinserting the relevant modules (the order is important):
rmmod lp rmmod parport_probe rmmod parport_pc rmmod parport insmod parport insmod parport_pc insmod parport_probe insmod lp
You will need to do all of this as root. I'm not an expert at configuring parallel ports, since it normally works correctly out of the box for me; I've done it on only one machine, and on a different distribution from yours, so I may have overlooked something. You may need to experiment a little before it works. Perhaps some ambitious reader will turn parport.txt into a proper HOWTO, if that hasn't been done already. —Scott Maxwell, maxwell@ScottMaxwell.org
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




3 hours 33 min ago
3 hours 34 min ago
5 hours 34 min ago
14 hours 19 min ago
14 hours 53 min ago
15 hours 52 min ago
16 hours 42 min ago
20 hours 44 min ago
1 day 31 min ago
1 day 39 min ago