/usr/bin/perl on FreeBSD

Uri Simchoni uri at samba.org
Fri Dec 22 18:55:51 UTC 2017


On 12/21/2017 04:23 PM, Andreas Schneider wrote:
> On Wednesday, 20 December 2017 21:57:24 CET Uri Simchoni via samba-technical 
> wrote:
>> Hi,
>>
>> We seem to have many perl scripts with a "#!/usr/bin/perl" shebang,
>> which doesn't work on my FreeBSD 11.1-RELEASE machine (where perl is at
>> /usr/local/bin/perl, but /user/bin/env perl works)
>>
>> For example, the attached patch fixes setting up the nt4_member test
>> env, but there are ~70 scripts with /usr/bin/perl.
>>
>> Do we fix all those scripts or ask FreeBSD developers to kindly install
>> a symlink or something when they build Samba?
>>
>> Thanks,
>> Uri.
> 
> RB+ could you please create an upstream nss_wrapper patch for this too?
> 
> 

Turns out upstream nss_wrapper already has /usr/bin/env perl - had it
since last May, but there was no release.

In any case, the fix that got into master Samba doesn't depend on the
shebang, it gets perl from the configuration process.

Thanks,
Uri.



More information about the samba-technical mailing list