Update: I softlinked /usr/bin/gcc to gcc-4.4 instead of gcc-4.6 (gcc-4.5 gave 
the same problem) and now it compiles fine
Thanks,
Kees

From: [email protected]
To: [email protected]
CC: [email protected]
Subject: RE: building pspp
Date: Tue, 6 Sep 2011 23:52:30 +0000








Thanks Jason,
The lib is in /usr/lib, not /usr/local/lib, so I dont think thats the problem.
I did some googling and found the following : 
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
This makes me think it's a change in gcc - I'm using gcc 4.6.1. The proposed 
solution is to add the so explicitly to the linker, but I'm a bit lost where I 
can do that... Any hints?
Kees

> Date: Tue, 6 Sep 2011 10:18:05 -0400
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: building pspp
> 
> On Tue, Sep 06, 2011 at 09:44:54AM +0000, friedrich nietzsche wrote:
> > So far, so good, but make fails with the following error:
> > /usr/bin/ld: 
> > src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-main.o): undefined 
> > reference to symbol 'gsl_set_error_handler_off'/usr/bin/ld: note: 
> > 'gsl_set_error_handler_off' is defined in DSO /usr/lib/libgsl.so.0 so try 
> > adding it to the linker command line/usr/lib/libgsl.so.0: could not read 
> > symbols: Invalid operationcollect2: ld returned 1 exit status
> > I checked, and /usr/lib/libgsl.so.0 is there. It is linked to 
> > libgsl.so.0.16.0.
> > Anyone seen this error? Any ideas?
> 
> Have you run ldconfig recently? Is ldconfig aware of /usr/local/lib?
> You also might need to define LD_LIBRARY_PATH.
                                                                                
  
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to