CARTAvis / carta-archived

CARTA stands for Cube Analysis and Rendering Tool for Astronomy, a new visualization tool designed for the ALMA, the JVLA and the SKA.
https://cartavis.github.io/
GNU General Public License v3.0
2 stars 0 forks source link

undefined symbol: forkpty error #143

Open ajm-ska opened 7 years ago

ajm-ska commented 7 years ago

A small error comes up in the terminal when running CARTA on Linux:

"Failed to load plugin python273[c++]"
...reasons:  "QPluginLoader error: Cannot load library /export/data_1/carta_centOS6/plugins/
python273/libplugin.so:  
(/export/data_1/carta_centOS6/plugins/python273/libplugin.so: undefined symbol: forkpty)"

I have investigated and i believe it can be fixed by adding -lutil to line 10 of carta/cpp/plugins/python273/python273.pro

e.g changing LIBS += -lpython2.7 to LIBS += -lpython2.7 -lutil

grimmer0125 commented 7 years ago

I add some break lines to your post to be more readable.

grimmer0125 commented 7 years ago

@ajm-asiaa , Is this urgent to fix it and commit to develop branch for Ville's release? And only happen on CentOS 6?

ajm-ska commented 7 years ago

It seems to only happen on CentOS6. It is not urgent. I can just make the change manually when doing a CentOS6 build.

grimmer0125 commented 6 years ago

mentioned in https://docs.google.com/document/d/1lDM2Di82avGUnjushBArTSEnEHGmeB0BcTUWfCqmGSk/edit. so close it now.