|Subject:||RE: building pspp|
|Date:||Wed, 7 Sep 2011 00:43:15 +0000|
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
Subject: RE: building pspp
Date: Tue, 6 Sep 2011 23:52:30 +0000
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?
> Date: Tue, 6 Sep 2011 10:18:05 -0400
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> 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.
|[Prev in Thread]||Current Thread||[Next in Thread]|