Search Criteria
Package Details: libselinux 3.7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/libselinux.git (read-only, click to copy) |
---|---|
Package Base: | libselinux |
Description: | SELinux library and simple utilities |
Upstream URL: | https://github.com/SELinuxProject/selinux |
Keywords: | selinux |
Licenses: | custom |
Groups: | selinux |
Conflicts: | selinux-usr-libselinux |
Provides: | libselinux.so, selinux-usr-libselinux |
Submitter: | Siosm |
Maintainer: | IooNag |
Last Packager: | IooNag |
Votes: | 132 |
Popularity: | 0.98 |
First Submitted: | 2013-11-03 20:05 (UTC) |
Last Updated: | 2024-08-11 16:17 (UTC) |
Dependencies (11)
- libsepolAUR
- pcre2 (pcre2-gitAUR)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-pip (make)
- python-setuptools (make)
- ruby (make)
- swig (swig-gitAUR) (make)
- xz (xz-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (optional) – python bindings
- ruby (optional) – ruby bindings
Required by (57)
- aide-selinux
- arm-image-installer
- authselect
- cajviewer-bin
- casa6-bin
- coreutils-selinux
- cronie-selinux
- dbus-broker-selinux
- dbus-selinux
- esdm-git
- findutils-selinux
- glib2-selinux (make)
- glib2-selinux (optional)
- glib2-selinux-docs (make)
- iproute2-selinux
- iris-temperature
- libguestfs-git (optional)
- libsemanage
- libtar-twrp-git
- libtar-twrp-git (make)
- Show 37 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »
reallygrimm commented on 2019-08-23 17:04 (UTC) (edited on 2019-08-23 17:06 (UTC) by reallygrimm)
I'm getting a build failure, and I'm not sure if it's the patch, upstream or because I've got blinders on.
IooNag commented on 2019-06-23 15:44 (UTC)
iGwadaa: I forgot that Makefile in the source directory overwrote definitions from src/Makefile... This Makefile overwrites PCRE_LDLIBS with "PCRE_LDLIBS := $(shell $(PKG_CONFIG) --libs $(PCRE_MODULE))". Do you have pkg-config command (from package pkgconf)? As it is part of base-devel group, it is supposed to be installed even though it is not listed in the dependencies of libselinux's PKGBUILD.
IooNag commented on 2019-06-23 15:40 (UTC)
iGwadaa: libselinux builds fine on my clean environment. pcre_fullinfo is provided by /usr/lib/libpcre.so.1.2.11 from pcre 8.43-1. Moreover the Makefile in src/ adds -lpcre (through an indirection with "PCRE_LDLIBS ?= -lpcre"). Do you know of something specific to your build environment that would explain this build failure?
MojoMotion commented on 2019-06-18 11:38 (UTC) (edited on 2019-06-18 11:39 (UTC) by MojoMotion)
IooNag commented on 2019-04-28 15:57 (UTC)
schlumpf: thanks for your bug report. On my system, libselinux builds fine, and the line which does the linking has a "-lpcre" which is added. This parameter is added in the Makefile by using the output "pkg-config --libs libpcre".
Have you installed pkgconf (which is part of base-devel)? If yes, what does "pkg-config --libs libpcre" print, on your system?
schlumpf commented on 2019-04-28 09:10 (UTC) (edited on 2019-04-28 09:12 (UTC) by schlumpf)
I'm unable to build :(
[...]
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -I../include -D_GNU_SOURCE -DDISABLE_RPM -DNO_ANDROID_BACKEND -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo -ldl -Wl,-soname,libselinux.so.1,-z,defs,-z,relro /usr/bin/ld: regex.lo: in function
regex_version': regex.c:(.text+0x12): undefined reference to
pcre_version' /usr/bin/ld: regex.lo: in functionregex_writef': regex.c:(.text+0x79): undefined reference to
pcre_fullinfo' /usr/bin/ld: regex.c:(.text+0xf0): undefined reference topcre_fullinfo' /usr/bin/ld: regex.lo: in function
regex_data_free': regex.c:(.text+0x1eb): undefined reference topcre_free' /usr/bin/ld: regex.c:(.text+0x1fc): undefined reference to
pcre_free_study' /usr/bin/ld: regex.lo: in functionregex_prepare_data': regex.c:(.text+0x26a): undefined reference to
pcre_compile' /usr/bin/ld: regex.c:(.text+0x28c): undefined reference topcre_study' /usr/bin/ld: regex.lo: in function
regex_load_mmap': regex.c:(.text+0x38a): undefined reference topcre_fullinfo' /usr/bin/ld: regex.c:(.text+0x403): undefined reference to
pcre_fullinfo' /usr/bin/ld: regex.lo: in functionregex_match': regex.c:(.text+0x4ae): undefined reference to
pcre_exec' /usr/bin/ld: regex.lo: in functionregex_cmp': regex.c:(.text+0x52e): undefined reference to
pcre_fullinfo' /usr/bin/ld: regex.c:(.text+0x548): undefined reference to `pcre_fullinfo'IooNag commented on 2017-06-02 11:48 (UTC)
netrunn3r commented on 2017-06-02 08:52 (UTC)
cminus commented on 2017-02-19 22:53 (UTC)
IooNag commented on 2017-02-19 22:05 (UTC)
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »