SUSE Conversations


Finding missing libraries for building software from source

variia

By: variia

August 26, 2008 7:02 pm

Reads:179

Comments:0

Rating: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

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: SUSE Linux Enterprise Desktop, SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS