[Kst] Re: link step failing with qmake

Nadine Leenders nadine at ualberta.ca
Wed May 18 20:59:33 CEST 2011


On 2011-05-18, at 12:32 PM, Peter Kümmel wrote:

> 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 :) :) :) !!!!

# ls -al build/bin
total 61180
drwxr-xr-x 2 root root       17 May 18 12:51 .
drwxr-xr-x 4 root root       26 May 18 12:42 ..
-rwxr-xr-x 1 root root 62646016 May 18 12:51 kst2

Since I've had such bad luck with install directories with qmake and cmake, would you please tell me how to get it to install into /usr/local?

Thanks !!!!
 - Nadine



More information about the Kst mailing list