Re: ld: cannot find -lsmbclient
- From: Jerry Talkington <jtalkington users sourceforge net>
- To: garnome-list gnome org
- Subject: Re: ld: cannot find -lsmbclient
- Date: Tue, 16 Sep 2003 12:43:03 -0700
On Tue, Sep 16, 2003 at 09:15:49PM +0200, rolf deenen wrote:
> Hello,
>
> I am trying to run install garnome 0.27.1 on a linuxfromscratch-machine. At
> the moment i am running gnome 2.2, compiled from source but concidering the
> extraordinous effort it takes to do this i thought of letting garnome do all
> the work for me. Tough luck though. Trying to compile gnome-vfs-extra it
> stops with this error: "/usr/bin/ld: cannot find -lsmbclient" during "make".
> I did install samba (and since "./configure" didn't complain it must have
> been detected). Does anybody have a clue to what the problem may be?
>
> Thanks in advance,
> Rolf Deenen
>
> PS. samba's "make install" didn't copy libsmbclient to /usr/include. I had to
> do this manually. Perhaps another file didn't get placed in it's correct
> location?
> PPS. This has been asked before on this list. But it never got an awnser.
Create a directory bootstrap/libsmbclient . Then save the attached file
as Makefile there, and then make, make install to install the client
only (or just look at the file to figure out what needs to be done to
get it installed.)
--
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762
GARNAME = samba
GARVERSION = 2.2.8a
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
MASTER_SITES = http://us3.samba.org/samba/ftp/
DESCRIPTION = libsmbclient
define BLURB
#FIXME: blurb goes here
endef
CONFIGURE_SCRIPTS = $(WORKSRC)/source/configure
BUILD_SCRIPTS = $(WORKSRC)/source/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/source/Makefile
CONFIGURE_ARGS = $(DIRPATHS) --disable-cups --with-ssl --with-libsmbclient --with-privatedir=$(sysconfdir)/samba --with-lockdir=$(localstatedir)/samba/lock --with-piddir=$(localstatedir)/samba/lock --with-swatdir=$(libdir)/samba/swat --with-configdir=$(libdir)/samba --with-codepagedir=$(libdir)/samba/codepages --with-logfilebase=$(localstatedir)/samba/logs
BUILD_ARGS = libsmbclient
include ../category.mk
install-%/Makefile:
@echo " ==> Running make installclientlib in $*"
cd $(WORKSRC)/source && install -c bin/libsmbclient.a $(libdir)
cd $(WORKSRC)/source && install -c include/libsmbclient.h $(includedir)
@$(MAKECOOKIE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]