Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Error for building EnergyPlus 9.3.0 from source [closed]

asked 2020-09-29 14:47:13 -0500

For building EnergyPlus 9.3.0 from source with python linking, I got the following error:

/usr/bin/ld: BFD version 20100205 internal error, aborting at reloc.c line 443 in bfd_get_reloc_size

/usr/bin/ld: Please report this bug.

collect2: error: ld returned 1 exit status
make[2]: *** [Products/] Error 1
make[2]: *** Deleting file `Products/'
make[1]: *** [src/EnergyPlus/CMakeFiles/energyplusapi.dir/all] Error 2
make: *** [all] Error 2

Without python linking, no problem. Any help pls? Thanks Long

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by vlle
close date 2020-09-30 00:40:26.704351


perhaps this error was addressed in v9.4, just released today.

ericmartinpe's avatar ericmartinpe  ( 2020-09-29 15:01:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-30 00:39:32 -0500

It was my fault. There was an error when I set PYTHON_LIBRARY for cmake configure. It should be PYTHON_LIBRARY=/path/to/python/lib/

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-09-29 14:47:13 -0500

Seen: 304 times

Last updated: Sep 30 '20