iraf icon indicating copy to clipboard operation
iraf copied to clipboard

linux64 vocl with enlarged dictionary

Open olebole opened this issue 6 years ago • 0 comments

In iraf.net#1469887, @fakahle writes:

I need to to recompile vocl to enlarge the dictionary but recompiling fails on linux64 with many linker errors referring to (../unix/bin.linux64/libos.a relocation R_X86_64_32 against '.rodata' can not be used ... recompile with -fPIC).

Which files have to be changed to make it compile and link again?

By the way: compiling IRAF for linux64 from source fails when touching readline ... so that wasn't an option.

Frank

Hi Frank (hopefully I found the correct github user account): The error you observe appears since the NOAO 2.16.1 binary distribution for Linux is compiled without -fpie, but newer Linux distributions default to use PIE for the executables. Therefore, the old object files cannot be used anymore and need to be recompiled. This was also reported as iraf/iraf-v216#85.

This repository contains a version of IRAF that compiles without problems, so you could give it a try. A binary version is contained in the latest Ubuntu distribution (18.04), and in the current Debian "testing" (upcoming Buster). You may also try out the prerelease in this repository which contains a binary release.

Note that vocl has been removed from the distribution; use ecl instead. In case of questions, feel free to open an issue here.

Best regards

Ole

olebole avatar Aug 26 '18 12:08 olebole