[yt-dev] Issue #614: yt's libraries are not compatible with CentOS binaries (yt_analysis/yt)

Nathan Goldbaum issues-reply at bitbucket.org
Wed Jul 31 17:17:32 PDT 2013


New issue 614: yt's libraries are not compatible with CentOS binaries
https://bitbucket.org/yt_analysis/yt/issue/614/yts-libraries-are-not-compatible-with

Nathan Goldbaum:

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:


```
#!bash

[goldbaum at hyades ~]$ eog
Segmentation fault
[goldbaum at hyades ~]$ which eog
/usr/bin/eog
[goldbaum at 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 at hyades ~]$ deactivate
[goldbaum at hyades ~]$
[goldbaum at hyades ~]$ eog
[goldbaum at 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 at 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. 





More information about the yt-dev mailing list