[erlang-questions] missing LD_LIBRARY_PATH

David Welton davidnwelton@REDACTED
Wed Oct 15 15:37:13 CEST 2014


Maybe it's the fuzzy headed feeling from a cold, but this is causing
me to scratch my head:

less /proc/31960/environ

SHLVL=3^@LD_LIBRARY_PATH=/opt/foo_web/erts-6.2/lib:/opt/foo_web/erts-6.2/lib:^@OLDPWD=/opt/foo_web^@HOME=/home/foo^@XDG_SESSION_COOKIE=f40ea8cef2068cadd3692765531447e7-1418295886.152876-1882385673^@SSH_TTY=/dev/pts/0^@FOO_JOYSTICK_EXEC=/opt/fooo/bin/gsd-joy3d

As you can see, LD_LIBRARY_PATH is present.

However, when I connect to that process, and do os:getenv(), it does
not show LD_LIBRARY_PATH.  Likewise, os:getenv("LD_LIBRARY_PATH")
returns false.

Any idea what might be going on?  I've been grepping around for
clearenv or putenv or other things that could mess with that, but so
far without success.

Thank you,
-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/



More information about the erlang-questions mailing list