gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: gpsim Almost Compiled.
From: Scott Dattalo
Date: Sat, 25 Oct 2003 11:54:06 -0700 (PDT)

On Sat, 25 Oct 2003, Martin McCormick wrote:

> 	I got the latest version of gpsim today and also installed the
> glib-dev library.  After doing a make, it looked like it was going to
> be successful until:

Hi Martin,

It appears that you either do not have the popt library or there's not a 
path to it in your system. Try:

$ locate libpopt

On my system this gives:

/usr/lib/libpopt.so.0
/usr/lib/libpopt.a
/usr/lib/libpopt.la
/usr/lib/libpopt.so
/usr/lib/libpopt.so.0.0.0

If it's found on your system, then make sure there's a path to it in 
/etc/ld.so.conf

$ cat /etc/ld.so.conf

Will show you the paths to all of the library directories (although, I 
don't think /usr/lib/ needs to be in this list - at least it's not in my 
/etc/ld.so.conf ). If the directory to your popt is not in this file, then 
you'll need to to add it. After doing so, as root run:

# ldconfig

I'm not sure which Linux distribution you're using, but here's the page 
with rpm to many popt RPMs:

http://speakeasy.rpmfind.net/linux/rpm2html/search.php?query=popt

Scott


gnupic@linuxhacker.org