Blog Entry

variia's picture

Finding missing libraries for building software from source

blog
Reads:

1788

Score:
1.75
1.8
4
 
Comments:

0

This quick tip explains how to find "missing" libraries for building software from source. Let's say you want to build and application which requires "Xm" headers to be installed.

How do you actually know which package to install? Each SuSE media includes a file in the root directory named ARCHIVES.gz with all files/package names.

root@geeko:~ # zgrep -w Xm.h /mnt/cdrom/ARCHIVES.gz | awk '{print $1"\t"$10}'
./DVD1/suse/i586/openmotif-devel-2.2.4-21.12.i586.rpm:  /usr/X11R6/include/Xm/Xm.h
root@geeko:~ # 

Which tells me I need to install "openmotif-devel" devel package.

On SuSE Linux Enterprise Desktop/Server you more likely to need the SDK media (software development kit) available to find most development packages.

Ivan





User Comments

© 2009 Novell, Inc. All Rights Reserved.