pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build trouble


From: Jason Stover
Subject: Re: build trouble
Date: Thu, 1 Oct 2009 11:13:11 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

> Ben Pfaff wrote:
> ...
> > Guido Gay reported the same problem in this thread:
> > http://lists.gnu.org/archive/html/pspp-dev/2009-09/msg00008.html
> > 
> > He posted his config.log, at:
> > http://www.nabble.com/file/p25378290/config.log
> > 
> > I didn't look at it until now.  Now that I do, it looks like GSL
> > wasn't installed properly or at least it wasn't getting linked
> > against properly, and that made for some contradictory test
> > results, in that almost every attempt to try to run a test
> > program during configure failed with "error while loading shared
> > libraries: libgsl.so.0: cannot open shared object file: No such
> > file or directory " or similar errors.
> > 
> > Can you check your config.log for something like that?

On Wed, Sep 30, 2009 at 11:32:16PM -0700, Guido Benvenuto Gay wrote:
> 
> It seems that my problems dissapeared just shutting down Slackware 13.0 and
> rebooting.

It seems Ben's suggestion was right: config.log was full of linker
errors when trying to link to libgsl and libgslcblas. The problem was
that GSL's 'make install' did not run ldconfig to record the paths to
the GSL libs in /etc/ld.so.cache. That's why rebooting worked: The
system runs ldconfig during the boot process. 

So the lesson for anyone else who has this problem is: Run ldconfig
after installing GSL. apt-get install should do this for most users, but
Slackware has no apt-get.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]