Hi Markus. Following your suggestion, I remove Debian's flex package installed but I had to remove manually libfl.so.2 from /usr/lib/x86_64-linux-gnu and I see that when I reinstall the system flex this library don't reappear here. So, binutils was installed well and I leave installing felx in case something (outside EasyBuild) need it.
Thanks Markus. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Markus Geimer Sent: Wednesday, May 24, 2017 1:39 AM To: [email protected] Subject: Re: [easybuild] binutils fails because libfl.so.2 Javier, I ran into the same issue some time ago -- and my workaround was to remove Debian's 'flex' package installed on the system. It seems that the system's libfl.so is being picked up, which cannot be loaded for some reason. Unfortunately, I was not yet able to figure out where and why exactly this is happening... :-( Markus On 05/23/2017 11:33 PM, Javier Antonio Ruiz Bosch wrote: > Hi EasyBuilders > > To install Binutils-2.26 with the dummy toolchain in Debian 8 I had to > reinstall (--force) zlib because I was having the same problem that > Heywood Todd (zlib 1.2.8 was not installed with having -fPIC enabled). > But when everything looked fine the installation failed in sanity > checking step: > > == FAILED: Installation ended unsuccessfully (build directory: > /opt/easybuild/build/binutils/2.26/dummy-): build failed (first 300 > chars): cmd "ldd /opt/easybuild/software/binutils/2.26/bin/ar" exited > with exitcode 1 and output: > /opt/easybuild/software/binutils/2.26/bin/ar: error while loading > shared > libraries: /usr/lib/x86_64-linux-gnu/libfl.so.2: invalid ELF header > > What could be happening here? > > Thanks > > Javier > > > -- Dr. Markus Geimer Juelich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Juelich GmbH 52425 Juelich, Germany Phone: +49-2461-61-1773 Fax: +49-2461-61-6656 E-Mail: [email protected] WWW: http://www.fz-juelich.de/jsc ---------------------------------------------------------------------------- -------------------- ---------------------------------------------------------------------------- -------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ---------------------------------------------------------------------------- -------------------- ---------------------------------------------------------------------------- --------------------

