First time here? Check our help page!
1

Error for building EnergyPlus 9.3.0 from source [closed]

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

vlle's avatar
207
vlle
asked 2020-09-29 14:47:13 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by vlle 2020-09-30 00:40:26 -0500

Comments

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

ericmartinpe's avatar ericmartinpe (2020-09-29 15:01:06 -0500) edit
add a comment see more comments

1 Answer

2

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.

vlle's avatar
207
vlle
answered 2020-09-30 00:39:32 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments