New issue 614: yt's libraries are not compatible with CentOS binaries https://bitbucket.org/yt_analysis/yt/issue/614/yts-libraries-are-not-compati...
I was trying to use `eog` to look at some images on a supercomputer. Under the yt environment, I get a seg fault when I try to use `eog`, but after deactivating and trying again, everything works correctly. `eog` is dynamically loading yt's freetype and libz. I've pasted a shell session with information about this issue below:
[goldbaum@hyades ~]$ eog Segmentation fault [goldbaum@hyades ~]$ which eog /usr/bin/eog [goldbaum@hyades ~]$ ldd /usr/bin/eog | grep yt libfreetype.so.6 => /home/goldbaum/yt-x86_64/lib/libfreetype.so.6 (0x00002b9c0759f000) libz.so.1 => /home/goldbaum/yt-x86_64/lib/libz.so.1 (0x00002b9c0787b000) [goldbaum@hyades ~]$ deactivate [goldbaum@hyades ~]$ [goldbaum@hyades ~]$ eog [goldbaum@hyades ~]$ ldd /usr/bin/eog | grep 'freetype|libz' libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00000037af800000) libz.so.1 => /lib64/libz.so.1 (0x00000037ab800000) [goldbaum@hyades ~]$ cat /etc/centos-release CentOS release 6.3 (Final)
It's not clear to me why yt's freetype and/or libz are incompatible with the CentOS libraries. @xarthisius, do you have any idea what's going on here?
It's probably not worth spending too much time on this, but this issue can at least serve as a reference point. The workaround for this issue is just to deactivate the yt environment.