First time here? Check out the Help page!

Sorry, this content is no longer available

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 4 years ago

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

Preview: (hide)

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  ( 4 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 4 years ago

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.

Preview: (hide)
link

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 369 times

Last updated: Sep 30 '20