Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LCLSECSD-346] pcds-envs (pcds_conda) can interfere with engineering_tools settings (libca / caget / etc) #99

Open
klauer opened this issue Jan 28, 2022 · 1 comment

Comments

@klauer
Copy link
Contributor

klauer commented Jan 28, 2022

Expected Behavior

  • engineering tools scripts should not be dependent on the shell environment
    • i.e., the scripts should be standalone and setup environment settings as needed

Current Behavior

  • Some scripts do not work when pcds_conda is activated

For example, using env -i ... to ignore my bashrc/bash_profile entirely, the following works without issue:

$ env -i bash --noprofile --norc
bash-4.2$ export PATH=/reg/g/pcds/engineering_tools/latest/scripts:$PATH
bash-4.2$ motor-expert-screen MY:MOTOR
bash-4.2$ exit
$ env -i bash --noprofile --norc
bash-4.2$ source /cds/group/pcds/pyps/conda/pcds_conda
(pcds-5.1.1) bash-4.2$ export PATH=/reg/g/pcds/engineering_tools/latest/scripts:$PATH
(pcds-5.1.1) bash-4.2$ motor-expert-screen MY:MOTOR
caget: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory

Possible Solution

Steps to Reproduce (for bugs)

See above.

Context

Failing to use engineering tools scripts with pcds_envs activated

Your Environment

Can be a clean environment - see examples above.

@tangkong
Copy link
Contributor

tangkong commented Apr 7, 2022

This has formally gotten a jira ticket. I've managed to narrow this down to the environment variable EPICS_HOST_ARCH needing to be rhel7-x86_64, not linux-x86_64

@klauer klauer changed the title pcds-envs (pcds_conda) can interfere with engineering_tools settings (libca / caget / etc) [LCLSECSD-346] pcds-envs (pcds_conda) can interfere with engineering_tools settings (libca / caget / etc) Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants