Bugzilla – Bug 17018
RHEL6 x86_64: Can't locate Slim/bootstrap.pm in @INC ...
Last modified: 2019-01-25 10:41:26 UTC
# /etc/init.d/squeezeboxserver start Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC (@INC contains: /usr/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/libexec/squeezeboxserver line 131. BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line 131. [FAILED] @INC doesn't include /usr/lib/perl5/vendor_perl, where Slim/ lives. # cd /usr/lib64/perl5/vendor_perl # ln -s /usr/lib/perl5/vendor_perl/Slim . solves it for now.
Just to be perfectly clear, this was RHEL6 / x86_64.
Created attachment 7658 [details] fix for perl libdir issue on x86_64
I've attached a patch that should fix this issue (I've not actually tested it!) but the implication of this is that the path is determined at build time, ie we need to create arch-specific RPMs. This will break the current noarch RPM if the build is done in an x86_64 environment, ie. don't blindly apply it to trunk.