search for: lcap

Displaying 20 results from an estimated 29 matches for "lcap".

Did you mean: cap
2006 Oct 23
1
compile samba 3.0.23c statically
...hat smbd / etc. don't need any libraries. My first attempt was to run ./configure and afterwards to start the compile process with make LDFLAGS=-static but this failed with the message Linking bin/smbd /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: cannot find -lcap collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 The OS is SuSE Linux 9.3, I installed the libcap-1.92-483-package. Samba compiled smoothly without the "LDFLAGS=-static" parameter, but was afterwards - of course - dynamically linked. Is there a possibility to link it st...
2008 Mar 03
1
Unable open raw socket in CentOS 5 - SE Linux and kernel capability interaction?
I am wondering what is the interaction between SE Linux and the kernel "capabilities" in CentOS 5.1? I'm trying to open a raw socket and keep getting permission denied errors. I've tried using the lcap library to find that CAP_SETPCAP appears to be off in the kernel. For compliance reasons, I don't want to turn this on. I've also tried a hand-crafted SE Linux module policy. I have verified that the test program runs in the correct SE Linux domain and it generates no audit errors,...
2007 Aug 07
2
AW: Probs to "make" Samba-3.0.25b
...e -I. -I. -I./lib/replace -I./lib/talloc > -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE > -I/usr/src/tpe/samba-3.0.25b/source/lib -D_SAMBA_BUILD_=3 > PICFLAG = -fPIC > LIBS = -lcrypt -lcap -lresolv -lresolv -lnsl -ldl > LDFLAGS = > DYNEXP = -Wl,--export-dynamic > LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined > SHLIBEXT = so > SONAMEFLAG = -Wl,-soname= > Generating smbd/build_options.c > Building include/p...
2007 Feb 23
0
Simple patch
...avid --- configure.in 2007-02-22 21:50:07.000000000 +0000 +++ configure.in 2007-02-23 17:52:16.000000000 +0000 @@ -382,6 +382,17 @@ ]) ]) +AC_CHECK_FUNC(cap_init, [], [ + AC_CHECK_LIB(cap, cap_init, [ + have_libcap=yes + LIBS="$LIBS -lcap" + ]) +]) + +if test "$have_libcap" = "yes"; then + AC_DEFINE(HAVE_LIBCAP,, libcap is installed for cap_init()) +fi + AC_CHECK_FUNC(fdatasync, [ have_fdatasync=yes ], [ --- src/master/main.c 2007-01-27 01:44:25.000000000 +0000 +++ src/master/main....
2009 May 22
0
Problem when compiling samba 3.3.4
...FFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED -I/include -I/root/samba-3.3.4/source/lib -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lcrypt -lcap -lresolv -lnsl -ldl LDFLAGS = -pie -Wl,-z,relro -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L./bin SHL...
2010 Feb 04
1
Samba 3.5.0RC2 can't compile on CentOS 5.3/RHEL 5.3
...ILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED -I/root/samba-3.5.0rc2/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lcap -lresolv -lresolv -lnsl -ldl -lpthread LDFLAGS = -pie -Wl,-z,relro -Wl,--as-needed -L./bin DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -L./bin -lc -Wl,-z,defs SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Linking bi...
2020 Mar 30
2
"configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
...getxattr in -lattr... no checking for audit_encode_nv_string in -laudit... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether rl_completion_quote_character is declared... no checking for BLKID... no checking for capng_updatev in -lcap-ng... no checking for CURL... no checking for DBUS... no checking for DEVMAPPER... no checking for dm_task_run in -ldevmapper... no checking for dlfcn.h... (cached) yes checking for library containing dlopen... -ldl checking for whether to install firewalld libvirt zone... no checking for FUSE... n...
2008 Aug 06
8
[ANNOUNCE] Samba 3.2.1 Available for Download.eml
<<[Samba] [ANNOUNCE] Samba 3.2.1 Available for Download.eml>> ********* *BEGIN ENCRYPTED or SIGNED PART* ********* Michael Adam wrote: > That is right: the link creation in source/bin is fixed, > but the installation of the links is still broken. > > It _is_ fixed in the v3-3-test branch which will be used for > 3.3.0 (scheduled for December). The changes to the Make
2016 Apr 19
0
libsmbregistry.so: undefined reference to `gfree_charcnv'
...authkrb5 -lsamdb -lheimbase-samba4 -lhx509-samba4 -lhcrypto-samba4 -lwind-samba4 -lwinbind-client -lsamdb-common -lldbsamba -lndr-standard -lndr-krb5pac -lauth-sam-reply -lcli-ldap-common -lflag-mapping -lcups -lldap -llber -lresolv -lutil -lgcrypt -lgnutls -lz -lrt -ldl -lnsl -lattr -lcrypt -ltdb -lcap -lbsd default/source3/libsmbregistry.so: undefined reference to `gfree_charcnv' collect2: error: ld returned 1 exit status default/source3/libsmbregistry.so: undefined reference to `gfree_charcnv' collect2: error: ld returned 1 exit status default/source3/libsmbregistry.so: undefined refere...
2008 Mar 07
1
Unable open raw socket in CentOS 5 - SE Linux and kernelcapability interaction?
...er manually or through udev. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Fri Mar 07 17:44:15 2008 Subject: Re: [CentOS] Unable open raw socket in CentOS 5 - SE Linux and kernelcapability interaction? What are your current SELinux settings?? cat /etc/selinux/config S Roderick wrote: > Does anyone have any idea on this one? Based on everything we've tried > with kernel capabilities and SE Linux parameters, we're missing > something. Have tried everything...
2020 Mar 30
0
Re: "configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
...checking for audit_encode_nv_string in -laudit... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking whether rl_completion_quote_character is declared... no > checking for BLKID... no > checking for capng_updatev in -lcap-ng... no > checking for CURL... no > checking for DBUS... no > checking for DEVMAPPER... no > checking for dm_task_run in -ldevmapper... no > checking for dlfcn.h... (cached) yes > checking for library containing dlopen... -ldl > checking for whether to install firewalld libvir...
2014 Jan 29
1
libvirt-sandbox question.
...;) configure:71386: avahi: yes (CFLAGS='-D_REENTRANT ' LIBS='-lavahi-common -lavahi-client ') configure:71416: blkid: yes (CFLAGS='-I/usr/include/blkid -I/usr/include/uuid ' LIBS='-lblkid ') configure:71446: capng: yes (CFLAGS='' LIBS='-lcap-ng') configure:71476: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK ' LIBS='-lcurl ') configure:71506: dbus: no configure:71536: fuse: no configure:71566: glusterfs: no configure:71596: hal: no configure:71626: netcf: yes (CFLAGS=' ' LIBS=&...
2013 Jan 16
5
libguestfs-test-tool error, libcap.so - no such file
Did install from source of libguestfs-1.20.1 on Ubuntu-12.10. And libguestfs-test-tool complains about not finding libcap.so.2 uptime: 2.26 1.00 guestfsd: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory [ 2.277795] Unregister pv shared memory for cpu 0 [ 2.278324] kvm: exiting hardware virtualization [ 2.278763] sd 2:0:1:0:
2020 Oct 30
2
Fail to build libvirt upstream rpm on fedora 33
...-export-dynamic -ldl /usr/lib64/libglib-2.0.so /usr/lib64/ libgobject-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgnutls.so /usr/lib64/libnl-3.so /usr/lib64/libnl-route-3.so /usr/lib64/libxml2.so /usr/lib64/libsasl2.so -lselinux /usr/lib64/libtirpc.so /usr/lib64/libyajl.so /usr/lib64/libblkid.so -lcap-ng /usr/lib64/libfuse.so -pthread -lselinux -Wl,-z,relro -Wl,-z,now -Wl,--no-copy-dt-needed-entries -Wl,-export-dynamic -lcap-ng -lselinux -Wl,-z,relro -Wl,-z,now -Wl,--no-copy-dt-needed-entries -Wl,-export-dynamic -Wl,-export-dynamic -lselinux -Wl,-export-dynamic -lselinux -Wl,-export-dynamic -lse...
2014 Aug 26
3
Re: Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
...figure: Driver Loadable Modules configure: configure: dlopen: -ldl configure: configure: Libraries configure: configure: apparmor: no configure: attr: no configure: audit: no configure: avahi: no configure: blkid: no configure: capng: yes (CFLAGS='' LIBS='-lcap-ng') configure: curl: no configure: dbus: no configure: fuse: yes (CFLAGS='-D_FILE_OFFSET_BITS=64 -I/usr/include/fuse ' LIBS='-pthread -lfuse ') configure: glusterfs: no configure: hal: no configure: netcf: no configure: numactl: no configure:...
2014 Aug 26
2
Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
Hi all Centos 7.0.1406, 3.10.0-123.el7.x86_64 Configure libvirt-1.2.7 as: ./configure --prefix=/usr --with-xen=no --with-qemu=no --with-openvz=no --with-vmware=no --with-esx=no --with-parallels=no --with-bhyve=no --with-uml=no --with-vbox=no --with-selinux=no make ... make[3]: Entering directory `/usr/local/src/libvirt-1.2.7/daemon' CC libvirtd-remote.o CCLD libvirtd
2013 May 17
2
Continued compilation errors with samba 3.6.15
...DHAVE_CONFIG_H? -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt? -I/home/tmp/samba-3.6.15/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 ????? PICFLAG??? = -fPIC ????? LIBS?????? = -lcap -lresolv -lnsl -ldl -lrt ????? LDFLAGS??? = -Wl,-z,relro -L./bin ????? DYNEXP???? = -Wl,--export-dynamic ????? LDSHFLAGS? = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin -lc -Wl,-z,defs ????? SHLIBEXT?? = so ????? SONAMEFLAG = -Wl,-soname= mkdir bin Compiling ../lib/talloc/talloc.c Linking non-...
2013 Nov 05
1
samba-4.1.0 build failure -help with
...ind-samba4 - lauth_sam_reply -lserver-role -linterfaces -llibsmb -lccan -llibcli_lsa3 - lsmbconf -lsamba3-util -lutil_reg -lsmb_transport -lposix_eadb -ltrusts_util - ltdb_compat -lgse -lsmbldap -lsecrets3 -lsmbldaphelper -lntdb -lheimbase- samba4 -lsmbregistry -lCHARSET3 -lsmbd_shim -lldap -llber -lcap -lcups -lpam - lsasl2 -lgcrypt -lgnutls -lz -lrt -ldl -lcom_err -lattr -lncurses -lncursesw - lcrypt -lresolv -lutil -lpopt -lnsl -lreadline -lm -lpython2.7 default/lib/talloc/testsuite_1.o: In function `test_memlimit': testsuite.c:(.text+0x6f1e): undefined reference to `talloc_set_memlimit'...
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575: CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory `/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect' gcc -m64 -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -c -o
2014 May 29
3
Re: libguestfs error
...magic_file in -lmagic... yes checking magic.h usability... yes checking magic.h presence... yes checking for magic.h... yes checking for acl_from_text in -lacl... yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for cap_from_text in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for LIBVIRT... yes checking for LIBXML2... yes checking for xmlBufferDetach... yes checking for LIBCONFIG... yes checking for HIVEX... yes checking for SD_JOURNA...