Hello,
I have a EPICS build facility question.
In our various environments, in addition to the default Linux perl in /usr/bin/perl, we have a customized perl (with extra modules) in /usr/local/bin/perl. This customized version is ahead of /usr/bin/perl in the PATH as that’s what we want all our Perl scripts to use.
In addition, I have added a PERL line in configure/CONFIG_SITE like so
PERL=/usr/local/bin/perl
to force use of /usr/local/bin/perl and I have confirmed that this is the Perl that’s being used. And EPICS build fine.
However, the capr.pl (and other perl scripts) still contain hardcoded references to /usr/bin/perl.
head ./bin/linux-x86_64-debug/capr.pl
#!/usr/bin/perl -w
#######################################################################
#
# capr: A program that attempts to do a "dbpr" command via channel
This causes symbol lookup errors when running capr.pl as the libCap5.so was built using /usr/local/bin/perl but is executing using /usr/bin/perl.
Am I missing some additional configuration here? Any help is appreciated.
Regards,
Murali