error command 'i686-linux-gnu-gcc' failed with exit status 1

587 views
Skip to first unread message

Ahmed K. Madani

unread,
Feb 26, 2017, 9:09:46 PM2/26/17
to OpenMC Users Group
after i download Silomesh package in order to preview plot in 3D , I tried to run setup.py install i keep getting this error 
 error command 'i686-linux-gnu-gcc' failed with exit status 1 
is there is anyway to over this error ??




Thanks in advance 

Paul Romano

unread,
Feb 27, 2017, 7:53:30 AM2/27/17
to Ahmed K. Madani, OpenMC Users Group
Hi Ahmed,

It looks like the relevant line is: 

/usr/bin/ld: cannot find -lhdf5

It is looking for an HDF5 library and cannot find one. On Ubuntu, try installing the libhdf5-dev package and then re-run setup.py.

Best,
Paul

--
You received this message because you are subscribed to the Google Groups "OpenMC Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmc-users+unsubscribe@googlegroups.com.
To post to this group, send email to openmc...@googlegroups.com.
Visit this group at https://groups.google.com/group/openmc-users.
For more options, visit https://groups.google.com/d/optout.

Ahmed K. Madani

unread,
Feb 27, 2017, 7:55:04 AM2/27/17
to OpenMC Users Group, ahmedk...@gmail.com
Thanks alot , I will check it 


On Monday, February 27, 2017 at 3:53:30 PM UTC+3, Paul Romano wrote:
Hi Ahmed,

It looks like the relevant line is: 

/usr/bin/ld: cannot find -lhdf5

It is looking for an HDF5 library and cannot find one. On Ubuntu, try installing the libhdf5-dev package and then re-run setup.py.

Best,
Paul
On Sun, Feb 26, 2017 at 8:09 PM, Ahmed K. Madani <ahmedk...@gmail.com> wrote:
after i download Silomesh package in order to preview plot in 3D , I tried to run setup.py install i keep getting this error 
 error command 'i686-linux-gnu-gcc' failed with exit status 1 
is there is anyway to over this error ??




Thanks in advance 

--
You received this message because you are subscribed to the Google Groups "OpenMC Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmc-users...@googlegroups.com.

Ahmed K. Madani

unread,
Feb 27, 2017, 10:52:46 AM2/27/17
to OpenMC Users Group
there is something wrong still getting the same error after installing HDF5 libhdf5-dev package
can I preview using ParaView ??

Paul Romano

unread,
Feb 27, 2017, 11:00:40 AM2/27/17
to Ahmed K. Madani, OpenMC Users Group
Try editing setup.py and changing libraries=['siloh5', 'hdf5'] to libraries=['siloh5', 'hdf5_serial']

--
You received this message because you are subscribed to the Google Groups "OpenMC Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmc-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages