0.9.9a compile issues with samba

*nix specific usage questions
jong357
New Cone
New Cone
Posts: 7
Joined: 27 Jun 2008 02:52

0.9.9a compile issues with samba

Postby jong357 » 28 Apr 2009 15:47

Not sure what's going on here but it's not finding smbclient...

Code: Select all

libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=access_smb -DMODULE_NAME_IS_access_smb -DMODULE_STRING=\"access_smb\" -O3 -ffast-math -funroll-loops -mtune=prescott -fomit-frame-pointer -march=prescott -pipe -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libaccess_smb_plugin_la-smb.lo -MD -MP -MF .deps/libaccess_smb_plugin_la-smb.Tpo -c smb.c -fPIC -DPIC -o .libs/libaccess_smb_plugin_la-smb.o smb.c: In function 'smb_auth': smb.c:116: warning: unused parameter 'srv' smb.c:116: warning: unused parameter 'shr' smb.c:116: warning: unused parameter 'wg' smb.c:116: warning: unused parameter 'wglen' smb.c:117: warning: unused parameter 'un' smb.c:117: warning: unused parameter 'unlen' smb.c:117: warning: unused parameter 'pw' smb.c:117: warning: unused parameter 'pwlen' smb.c: In function 'Open': smb.c:225: warning: 'debug' is deprecated (declared at /usr/include/libsmbclient.h:2722) smb.c:226: warning: 'auth_fn' is deprecated (declared at /usr/include/libsmbclient.h:2817) smb.c:236: warning: 'open' is deprecated (declared at /usr/include/libsmbclient.h:2766) smb.c:248: warning: 'fstat' is deprecated (declared at /usr/include/libsmbclient.h:2774) smb.c: In function 'Close': smb.c:316: warning: 'close_fn' is deprecated (declared at /usr/include/libsmbclient.h:2778) smb.c: In function 'Seek': smb.c:339: warning: 'lseek' is deprecated (declared at /usr/include/libsmbclient.h:2772) smb.c: In function 'Read': smb.c:366: warning: 'read' is deprecated (declared at /usr/include/libsmbclient.h:2768) mv -f .deps/libaccess_smb_plugin_la-smb.Tpo .deps/libaccess_smb_plugin_la-smb.Plo /bin/sh ../../libtool --tag=CC --tag=CC --mode=link gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin libaccess_smb_plugin.la` -march=prescott -pipe -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib/vlc/access' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../.." ../../vlc-config --ldflags plugin libaccess_smb_plugin.la` -o libaccess_smb_plugin.la libaccess_smb_plugin_la-smb.lo `top_builddir="../.." ../../vlc-config -libs plugin libaccess_smb_plugin.la` ../../src/libvlccore.la libtool: link: gcc -std=gnu99 -shared .libs/libaccess_smb_plugin_la-smb.o -Wl,-rpath -Wl,/tmp/vlc-0.9.9a/src/.libs -lsmbclient ../../src/.libs/libvlccore.so -L/usr/lib /usr/lib/libhal.so /usr/lib/libdbus-1.so -lrt -lpthread -ldl -lm -mtune=prescott -march=prescott -Wl,-soname -Wl,libaccess_smb_plugin.so -o .libs/libaccess_smb_plugin.so /usr/bin/ld: cannot find -lsmbclient collect2: ld returned 1 exit status make[5]: *** [libaccess_smb_plugin.la] Error 1 make[5]: Leaving directory `/tmp/vlc-0.9.9a/modules/access' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/tmp/vlc-0.9.9a/modules/access' make[3]: *** [all] Error 2 make[3]: Leaving directory `/tmp/vlc-0.9.9a/modules/access' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/vlc-0.9.9a/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/vlc-0.9.9a' make: *** [all] Error 2
Using samba-3.3.x.... Has vlc not been updated to work with 3.3?

Code: Select all

[root@jaguar /mnt/nas/www/pages/pub/DIY/source] locate smbclient /usr/bin/smbclient /usr/include/libsmbclient.h /usr/lib/libsmbclient.so /usr/lib/libsmbclient.so.0 /usr/man/man1/smbclient.1.gz /usr/man/man7/libsmbclient.7.gz /usr/share/swat/help/manpages/libsmbclient.7.html /usr/share/swat/help/manpages/smbclient.1.html
I clearly have samba installed (it also works) so the error of "cannot find -lsmbclient" is rather confusing....

Thanks.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: 0.9.9a compile issues with samba

Postby xtophe » 29 Apr 2009 18:55

it can't find libsmbclient.so in /usr/lib. If you have it installed somewhere else you'll need to tweack your configure options or LDFLAGS
Xtophe

jong357
New Cone
New Cone
Posts: 7
Joined: 27 Jun 2008 02:52

Re: 0.9.9a compile issues with samba

Postby jong357 » 30 Apr 2009 07:42

I guess you didn't read my post. Thanks anyway. :?

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: 0.9.9a compile issues with samba

Postby xtophe » 30 Apr 2009 18:16

Indeed missed the last bit. and yeah it's strange.
I think the solution hwere is to use strace to see where it actually look for libsmbclient.so.
Xtophe

jong357
New Cone
New Cone
Posts: 7
Joined: 27 Jun 2008 02:52

Re: 0.9.9a compile issues with samba

Postby jong357 » 20 Oct 2009 19:53

Any word on this? Is anyone having the same issue? This is still happening on version 1.0.2

Frustrating...


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests