FreeBSD Port: samba36-3.6.18

Jonathan Bond-Caron jbondc at
Thu Oct 17 23:23:20 UTC 2013



FreeBSD sophia.inside.gde 7.3-RELEASE-p7 FreeBSD 7.3-RELEASE-p7 #0: Tue Sep
27 13:03:16 UTC 2011
root at  i386


I was trying to upgrade samba35 to samba36 but ran into the following issue:

===>   samba36-3.6.18 depends on shared library:[:
application/x-sharedlib,: unexpected operator

- not found


This fixes it for me (getting first 23 chars of file output) but might be a
better way to do this:


[root at sophia] $ diff /usr/ports/Mk/ /usr/ports/Mk/


<                               [ `file -b -L --mime-type $${_LIB_FILE} |
cut -b 1-23` = "application/x-sharedlib" ] || continue ; \


>                               [ `file -b -L --mime-type $${_LIB_FILE}` =
"application/x-sharedlib" ] || continue ; \


Here's the output the 'file' command is my case:

[root at sophia] $ file -b -L --mime-type /usr/local/lib/

application/x-sharedlib, dynamically linked, not stripped




More information about the freebsd-ports mailing list