in reply to Re: Filesys::SmbClient can't find libsmbclient.so on OS X
in thread Filesys::SmbClient can't find libsmbclient.so on OS X

I have searched my hard disk. In exactly the same way I searched for the .h file. It didn't find the .so file.
  • Comment on Re^2: Filesys::SmbClient can't find libsmbclient.so on OS X

Replies are listed 'Best First'.
Re^3: Filesys::SmbClient can't find libsmbclient.so on OS X
by Anonymous Monk on Mar 12, 2015 at 02:40 UTC

    I have searched my hard disk. In exactly the same way I searched for the .h file. It didn't find the .so file.

    Great, so  port search smbclient then  sudo port install  ???? or sudo port install samba3

    Also

    If you don't have this file you can download last version of Samba on www.samba.org and do: \$ tar zxvf samba-2.2.x.tar.gz \$ cd samba-2.2.x/source \$ ./configure \$ make bin/libsmbclient.so

    So if this is all the same thing but the file isn't called libsmbclient.so but something else, edit Makefile.PL and change the filename

      I'm sorry but you really don't seem to have read my original post.

      You suggest I should install samba with MacPorts. I've already done that.

      You suggest I should download Samba from samba.org and I've already mentioned the problem with that.

        "find" on my system (10.9.5) shows a couple of dynamic libraries that are part of an SDK. If you have developer tools installed you might have some version or other:

        /Developer/SDKs/MacOSX10.6.sdk/usr/lib/samba/libsmbclient.dylib /Developer/SDKs/MacOSX10.6.sdk/usr/lib/samba/libsmbsharemodes.dylib

        you may or may not be able to link to them by editing the Makefile.pl

        I'm sorry but you really don't seem to have read my original post. You suggest I should install samba with MacPorts. I've already done that.

        Let me try again ... what files got installed when you installed samba with MacPorts? List the files please

        Then, instead of trying to link to libsmbclient ... link to something else ... edit Makefile.PL to accomplish this

        You suggest I should download Samba from samba.org and I've already mentioned the problem with that.

        You mean when I go to samba.org it just says that OS X already has Samba installed. There don't appear to be binaries for OS X any more. ??

        I did mention that you install from source, didn't I? When installing from source, its not going to tell you "you already have samba" because sources don't care if you already have something installed