Javier,

Well, libfl.so is actually part of the libfl-dev package, which is a
dependency of flex (and only flex).  So uninstalling flex should have
removed libfl-dev as well.  But anyway, good to hear that you got it
working.

Markus


On 05/24/2017 07:29 PM, Javier Antonio Ruiz Bosch wrote:
> 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: easybuild-requ...@lists.ugent.be
> [mailto:easybuild-requ...@lists.ugent.be] On Behalf Of Markus Geimer
> Sent: Wednesday, May 24, 2017 1:39 AM
> To: easybuild@lists.ugent.be
> 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: m.gei...@fz-juelich.de
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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to