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

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 2.20.51.0.2-5.36.el6 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/libenergyplusapi.so.9.3.0] Error 1
make[2]: *** Deleting file `Products/libenergyplusapi.so.9.3.0'
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

Comments

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
2

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/python3.X.so.

edit flag offensive delete link more

Careers

Question Tools

1 follower

Stats

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

Seen: 318 times

Last updated: Sep 30 '20