Hi all,
First of all, I'm a newbie (so if you think I ask stupid questians I proberbly do)
I try to install using this command: perl -MCPAN -e 'install Filesys::SmbClient'
When I run the command it stops with:
checking for smbc_mkdir in -lsmbclient... no
configure: error: I can't find your libsmbclient.so or symbol smbc_mkdir.
Check config.log for details.
Can't run configure:No such file or directory
Using Samba 3.6.1
I have installed compiled libsmbclient.so and put it in the /usr/lib and put libsmbclient.h in /usr/include
Still the same error. config.log says:
configure:2686: checking for smbc_mkdir in -lsmbclient
configure:2717: gcc -o conftest -g -O2 -I/usr/local/samba//include -L/usr/local/samba//lib -lsmbclient conftest.c -lsmbclient >&5
/usr/local/samba//lib/libsmbclient.so: undefined reference to `tdb_jenkins_hash'
/usr/local/samba//lib/libsmbclient.so: undefined reference to `wbcSidsToUnixIds'
/usr/local/samba//lib/libsmbclient.so: undefined reference to `tdb_transaction_start_nonblock'
collect2: ld returned 1 exit status
configure:2720: $? = 1
configure: failed program was:
| #line 2693 "configure"
| /* confdefs.h. */
Can anyone tell me how to get Filesys::SmbClient working on Centos 6
Cant get Filesys::SmbClient to install
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Cant get Filesys::SmbClient to install
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Please read about [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous. Use of CPAN is equivalent to a source install. Packages should be used if at all possible.
I see RPMforge has perl-Filesys-SmbClient.
Please read about [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous. Use of CPAN is equivalent to a source install. Packages should be used if at all possible.
I see RPMforge has perl-Filesys-SmbClient.
Re: Cant get Filesys::SmbClient to install
If you're referring to Index of /perl-Filesys-SmbClient, then RPMs are available for EL3-5 only and not for EL6 or EL7.pschaff wrote:I see RPMforge has perl-Filesys-SmbClient.
Re: Cant get Filesys::SmbClient to install
Version 3.2 for CentOS 6 x86_64. Source configure file needed a patch to work. It's a bit more complicated for CentOS 7 (mostly because I am totally ignorant about Perl), but can be compiled for that, too. If anyone's interested, let me know... Just don't complain if it goes supernova, as I haven't tested it (I don't even know what it's used for).
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.