[Kst] Re: link step failing with qmake

Nicolas Brisset nicolas.brisset at free.fr
Wed May 18 22:18:27 CEST 2011


----- "Nadine Leenders" <nadine at ualberta.ca> a écrit :

> > On 18.05.2011 19:42, Nadine Leenders wrote:
> >> 
> >> I tried doing build and am back to my original problem, I have the
> error message:
> >> /usr/local/lib/libnetcdff_c++.a(netcdf.o): relocation R_X86_64_32S
> against `vtable for NcTypedComponent' can not be used when making a
> shared object; recompile with -fPIC
> >> could not read symbols: Bad value
> >> collect2: ld returned 1 exit status
> > 
> > Here it tries to link the netcdf plugin, is you netcdf as old as you
> linux?
> > If you don't need any special plugins you could disable them by
> calling in you
> > cmake build directory:
> >     cmake . -Dkst_3rdparty=0
> 
> I think I have it :) :) :) !!!!
Nice :-) And what was the problem? Maybe you could post it here for future reference?
I believe you have to do something special (which I always forget) when compiling netcdf to get proper shared libs. Was it the trick?

Nicolas


More information about the Kst mailing list