View previous topic :: View next topic |
Author |
Message |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Mon Mar 11, 2024 9:35 am Post subject: [SOLVED] ELFCLASS problem with samba-scripts |
|
|
Dear fellow Gentoo guys,
I have a strange problem when I try to join a Samba domain - and I got strange error messages, that I never observed before:
Code: | ariel /etc # net ads join -U administrator
Password for [SOMEDOM\administrator]:
ldb: unable to dlopen /usr/lib/samba/ldb/asq.so : /usr/lib/samba/ldb/asq.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ildap.so : /usr/lib/samba/ldb/ildap.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldap.so : /usr/lib/samba/ldb/ldap.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldb.so : /usr/lib/samba/ldb/ldb.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldbsamba_extensions.so : /usr/lib/samba/ldb/ldbsamba_extensions.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/paged_searches.so : /usr/lib/samba/ldb/paged_searches.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/rdn_name.so : /usr/lib/samba/ldb/rdn_name.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/sample.so : /usr/lib/samba/ldb/sample.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/server_sort.so : /usr/lib/samba/ldb/server_sort.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/skel.so : /usr/lib/samba/ldb/skel.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/tdb.so : /usr/lib/samba/ldb/tdb.so: wrong ELF class: ELFCLASS32
Using short domain name -- SOMEDOM
Joined 'ARIEL' to dns domain 'somedom.com'
DNS Update for ariel.somedom.com failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL |
From my understanding, it is correct, that the files in /usr/lib/samba are 32 bit files, as the 64 bit copies are in /usr/lib64/samba.
Thank You in advance & Best regards
Peter
PS: I had to massively edit the first version of the post...
PS2: it looks like the issue is caused by some use flags, that I added after wine demanded for them.
Code: | # required by app-emulation/wine-staging-8.19::gentoo[gstreamer]
>=net-fs/samba-4.19.2 abi_x86_32
>=sys-libs/ldb-2.8.0 abi_x86_64 abi_x86_32
>=sys-libs/liburing-2.3-r4 abi_x86_32
>=sys-libs/talloc-2.4.1 abi_x86_32
>=sys-libs/tdb-1.4.9 abi_x86_32
>=sys-libs/tevent-0.15.0 abi_x86_32 |
I do investigate the issue...
PS3: removing or adding abi_x86_64 does not change anything, which is not surprising.
The net-utility of samba is 64 bit.
I think I'll have to use some sort of stack trace, or so...
Code: | ariel /usr # file /usr/bin/net
/usr/bin/net: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped |
I do wonder, whether samba is capable of such a kind of multilib operation at all...
Last edited by christoph_peter_s on Wed Mar 13, 2024 6:46 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Mon Mar 11, 2024 11:55 pm Post subject: |
|
|
Samba is multilib because it installs a library too which 32-bit applications may need.
Now, the dlopen of /usr/lib/samba is curious, because the ebuild has:
Code: |
--with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
|
so for the variant which installs binaries for 64-bit, it should have /usr/lib64/samba as its modulesdir. We need to understand why it's using the wrong module directory.
Can you share emerge --info net-fs/samba to begin with?
ldb looks ok too:
Quote: |
$ grep modulesdir /usr/lib64/pkgconfig/ldb.pc
modulesdir=${prefix}/lib64/samba/ldb
Modulesdir: ${modulesdir}
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Tue Mar 12, 2024 8:21 am Post subject: |
|
|
Yes, I have checked, that /usr/lib64/samba is there - and it is. The files within have the same date as the ones in /usr/lib/samba, so they seem to stem from the same compile session.
Here is the requested info:
Code: | ariel ~ # emerge --info net-fs/samba
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.6.13-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.38
KiB Mem: 32217020 total, 31505536 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Mon, 11 Mar 2024 03:45:00 +0000
Head commit of repository gentoo: 03f1639e36e33a7d85b9fb09f4799067fe45a984
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r2::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.1-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust: 1.74.1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://circe.home.serbe.ch/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-metamanifest: no
sync-rsync-verify-jobs: 1
PSeOverlay
location: /usr/local/overlay
masters: gentoo
priority: 10
volatile: True
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE FraunhoferFDK RAR unRAR @BINARY-REDISTRIBUTABLE @FREE @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver3"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j48 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aac acl acpi aio alsa amd64 avahi bash-completion braniding bzip2 caps cdda cdr cli crypt css dbus dri dvd egl elogind encode fat fbdev ffmpeg firmware flac fortran gdbm git glamor gles1 gles2 glint gnuplot gnutls gtk iconv intel ipv6 jpeg kerberos keyboard lame libinput libtirpc lm_sensors lock lzma lzo modules mouse mp3 mp4 mplayer multilib ncurses nls nptl ntfs openmp pam pcre pdf perl pipewire png pulseaudio python readline samba seccomp session sound split-usr sqlite ssl startup-notification test-rust truetype udev unicode v41 vnc x264 xattr xfs xorg zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
net-fs/samba-4.19.4::gentoo was built with the following:
USE="acl ads client ldap pam python quota regedit syslog winbind -addc -ceph -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data (-selinux) -snapper -spotlight (-system-heimdal) -system-mitkrb5 -systemd (-test) -unwind -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
FEATURES="fixlafiles parallel-fetch usersync preserve-libs userpriv merge-sync ipc-sandbox unmerge-logs binpkg-docompress distcc buildpkg-live binpkg-dostrip config-protect-if-modified xattr unknown-features-warn assume-digests sfperms usersandbox distlocks sandbox multilib-strict ebuild-locks binpkg-multi-instance strict unmerge-orphans pid-sandbox binpkg-logs pkgdir-index-trusted qa-unresolved-soname-deps userfetch protect-owned news" |
I can check, whether distcc has an impact - but I never got issues with it, except for rare instances, when the compilation failed. But samba never got any hiccups there. I searched the Samba bugzilla system, but didn't find something even remotely related. So either it is a new bug, or it is a Gentoo issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Tue Mar 12, 2024 3:03 pm Post subject: |
|
|
Yes, please try build the whole Samba stack (tdb, ldb, samba, ...) without distcc.
There's a lot of well-known, long-standing problems with it, e.g. bug 581900, bug 600592, and so on. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Tue Mar 12, 2024 7:47 pm Post subject: |
|
|
I did disable distcc as requested and run
Code: | emerge -1a net-fs/samba sys-libs/ldb sys-libs/tdb sys-libs/talloc sys-libs/tevent sys-libs/liburing |
This changes the emerge --info (but only very slightly...)
Code: | ariel /etc/portage/package.env # emerge --info net-fs/samba
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.6.21-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.38
KiB Mem: 32218300 total, 30155752 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Tue, 12 Mar 2024 03:45:00 +0000
Head commit of repository gentoo: 8b80f01f80f7b461c7a2366c10d15f014e4d953f
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r2::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.1-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust: 1.74.1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://circe.home.serbe.ch/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-metamanifest: no
PSeOverlay
location: /usr/local/overlay
masters: gentoo
priority: 10
volatile: True
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE FraunhoferFDK RAR unRAR @BINARY-REDISTRIBUTABLE @FREE @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver3"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aac acl acpi aio alsa amd64 avahi bash-completion braniding bzip2 caps cdda cdr cli crypt css dbus dri dvd egl elogind encode fat fbdev ffmpeg firmware flac fortran gdbm git glamor gles1 gles2 glint gnuplot gnutls gtk iconv intel ipv6 jpeg kerberos keyboard lame libinput libtirpc lm_sensors lock lzma lzo modules mouse mp3 mp4 mplayer multilib ncurses nls nptl ntfs openmp pam pcre pdf perl pipewire png pulseaudio python readline samba seccomp session sound split-usr sqlite ssl startup-notification test-rust truetype udev unicode v41 vnc x264 xattr xfs xorg zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
net-fs/samba-4.19.4::gentoo was built with the following:
USE="acl ads client ldap pam python quota regedit syslog winbind -addc -ceph -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data (-selinux) -snapper -spotlight (-system-heimdal) -system-mitkrb5 -systemd (-test) -unwind -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
FEATURES="assume-digests sandbox usersandbox config-protect-if-modified usersync protect-owned unmerge-orphans buildpkg-live binpkg-multi-instance strict binpkg-dostrip fixlafiles ipc-sandbox distlocks pid-sandbox userpriv xattr binpkg-docompress pkgdir-index-trusted news multilib-strict parallel-fetch merge-sync userfetch ebuild-locks qa-unresolved-soname-deps network-sandbox unknown-features-warn unmerge-logs binpkg-logs sfperms preserve-libs" |
The issue however persists:
Code: | ariel /etc/portage/package.env # net ads join -U administrator
Password for [HOME\administrator]:
ldb: unable to dlopen /usr/lib/samba/ldb/asq.so : /usr/lib/samba/ldb/asq.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ildap.so : /usr/lib/samba/ldb/ildap.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldap.so : /usr/lib/samba/ldb/ldap.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldb.so : /usr/lib/samba/ldb/ldb.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/ldbsamba_extensions.so : /usr/lib/samba/ldb/ldbsamba_extensions.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/paged_searches.so : /usr/lib/samba/ldb/paged_searches.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/rdn_name.so : /usr/lib/samba/ldb/rdn_name.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/sample.so : /usr/lib/samba/ldb/sample.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/server_sort.so : /usr/lib/samba/ldb/server_sort.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/skel.so : /usr/lib/samba/ldb/skel.so: wrong ELF class: ELFCLASS32
ldb: unable to dlopen /usr/lib/samba/ldb/tdb.so : /usr/lib/samba/ldb/tdb.so: wrong ELF class: ELFCLASS32
Using short domain name -- HOME
Joined 'ARIEL' to dns domain 'home.serbe.ch'
DNS Update for ariel.home.serbe.ch failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Wed Mar 13, 2024 4:12 am Post subject: |
|
|
Reminds me a lot of bug 600592.
Any interesting environment variables set (check env)?
When did this start? (It's fine if you can't hink of anything more than the wine USE thing).
Could you give me qlop output for the time since it started up until now?
Could you show me the .pc files for all the Samba stack you re-emerged? (equery f them, then cat the .pcs, but show me the filenames for each too) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Wed Mar 13, 2024 9:10 am Post subject: |
|
|
Hm, I think, that I can't follow You, at least not to 100%.
Anyway, You found at least one issue...
Code: | ariel ~ # printenv
SHELL=/bin/bash
XDG_CONFIG_DIRS=/etc/xdg
LESS=-R -M --shift 5
CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/revdep-rebuild
DISTCC_VERBOSE=0
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCG66o5/agent.5149
SSH_AGENT_PID=5150
EDITOR=/usr/bin/vi
PWD=/root
CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/lib64/libreoffice/program/sofficerc
LDB_MODULES_PATH=/usr/lib/samba/ldb
LOGNAME=root
XDG_SESSION_TYPE=tty
DISTCC_TCP_CORK=
MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.2/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/17/share/man:/etc/eselect/wine/share/man
UNCACHED_ERR_FD=
MOTD_SHOWN=pam
HOME=/root
LANG=en_US.utf8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
OPENGL_PROFILE=xorg-x11
DISTCC_FALLBACK=1
DCC_EMAILLOG_WHOM_TO_BLAME=
SSH_CONNECTION=192.168.41.10 34834 192.168.41.89 22
QT_GRAPHICSSYSTEM=raster
INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/autoconf-2.13/info:/usr/share/automake-1.16.5/info:/usr/share/info
XDG_SESSION_CLASS=user
TERM=xterm
LESSOPEN=|lesspipe %s
USER=root
MANPAGER=manpager
NPM_CONFIG_GLOBALCONFIG=/etc/npm/npmrc
SHLVL=1
DISTCC_SAVE_TEMPS=0
PAGER=/usr/bin/less
LEX=flex
DISTCC_SSH=
XDG_SESSION_ID=2
LC_CTYPE=de_DE.UTF8
XDG_RUNTIME_DIR=/run/user/0
GCC_SPECS=
GSETTINGS_BACKEND=dconf
SSH_CLIENT=192.168.41.10 34834 22
DISTCC_ENABLE_DISCREPANCY_EMAIL=
LC_ALL=C
LC_COLLATE=C
XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/eselect/wine/share
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/17/bin:/etc/eselect/wine/bin
LV2_PATH=/usr/lib64/lv2
MAIL=/var/mail/root
SSH_TTY=/dev/pts/0
LADSPA_PATH=/usr/lib64/ladspa
_=/usr/bin/printenv |
I have not set this offending looking LDB_MODULES_PATH=/usr/lib/samba/ldb. At least not knowingly.
I am not sure, when it did start. The machine got a new hardware a few month ago, and in order to check the CPU I installed Windows on another HD - and put this into the domain. So when I got back to Gentoo I stumbled across the issue. It is the first time I ever saw the issue. And I have a quite a collection of boxes...
I apologize, but I do not know exactly, how to process Your other requests.
I did
Code: | ariel ~ # qlop
2024-03-12T20:41:45 <<< sys-kernel/gentoo-sources: 12s
ariel ~ # qlop samba
2023-08-08T02:07:33 >>> net-fs/samba: 3′20″
2023-08-16T08:44:16 >>> net-fs/samba: 3′20″
2023-08-21T09:17:13 >>> net-fs/samba: 3′24″
2023-09-03T21:52:07 >>> net-fs/samba: 5′36″
2023-09-30T10:21:39 >>> net-fs/samba: 4′55″
2023-10-11T23:34:30 >>> net-fs/samba: 4′48″
2023-10-20T17:10:12 >>> net-fs/samba: 4′47″
2023-10-31T21:03:53 >>> net-fs/samba: 9′04″
2023-11-28T23:33:04 >>> net-fs/samba: 8′58″
2023-12-01T18:00:18 >>> net-fs/samba: 10′13″
2024-02-20T16:05:44 >>> net-fs/samba: 11′25″
2024-02-20T21:41:48 >>> net-fs/samba: 8′40″
2024-02-20T22:09:34 >>> net-fs/samba: 8′58″
2024-02-21T02:59:20 >>> net-fs/samba: 8′49″
2024-03-11T11:57:31 >>> net-fs/samba: 8′35″
2024-03-11T12:24:02 >>> net-fs/samba: 8′43″
2024-03-12T20:34:03 >>> net-fs/samba: 7′18″
ariel ~ # qlop ldb
2023-08-07T23:09:31 >>> sys-libs/ldb: 28s
2023-10-11T23:10:24 >>> sys-libs/ldb: 53s
2023-10-31T21:01:30 >>> sys-libs/ldb: 1′39″
2024-02-07T10:57:17 >>> sys-libs/ldb: 1′57″
2024-02-20T21:39:44 >>> sys-libs/ldb: 1′56″
2024-02-20T22:07:33 >>> sys-libs/ldb: 2′01″
2024-02-20T22:31:50 >>> sys-libs/ldb: 1′57″
2024-02-21T01:35:27 >>> sys-libs/ldb: 2′00″
2024-03-11T11:55:36 >>> sys-libs/ldb: 1′55″
2024-03-11T12:22:02 >>> sys-libs/ldb: 2′00″
2024-03-12T20:32:49 >>> sys-libs/ldb: 1′14″
ariel ~ # qlop tdb
2023-08-07T22:24:43 >>> sys-libs/tdb: 1′01″
2023-08-08T13:41:26 >>> sys-libs/tdb: 33s
2023-10-31T20:53:34 >>> sys-libs/tdb: 1′37″
2024-02-20T22:05:40 >>> sys-libs/tdb: 1′53″
2024-02-21T01:24:09 >>> sys-libs/tdb: 1′51″
2024-03-11T11:52:12 >>> sys-libs/tdb: 1′50″
2024-03-11T12:18:36 >>> sys-libs/tdb: 1′53″
2024-03-12T20:30:25 >>> sys-libs/tdb: 1′18″
ariel ~ # qlop tevent
2023-08-07T22:25:44 >>> sys-libs/tevent: 27s
2023-08-16T08:43:50 >>> sys-libs/tevent: 26s
2023-10-31T20:57:54 >>> sys-libs/tevent: 1′15″
2024-02-21T01:27:48 >>> sys-libs/tevent: 1′35″
2024-03-11T11:54:02 >>> sys-libs/tevent: 1′34″
2024-03-11T12:20:29 >>> sys-libs/tevent: 1′33″
2024-03-12T20:31:43 >>> sys-libs/tevent: 1′06″
ariel ~ # qlop talloc
2023-08-07T22:17:57 >>> sys-libs/talloc: 24s
2023-08-16T08:43:24 >>> sys-libs/talloc: 26s
2023-10-31T20:56:44 >>> sys-libs/talloc: 1′10″
2024-02-21T01:21:57 >>> sys-libs/talloc: 1′30″
2024-03-11T11:45:30 >>> sys-libs/talloc: 6′34″
2024-03-11T12:16:58 >>> sys-libs/talloc: 1′29″
2024-03-12T20:29:10 >>> sys-libs/talloc: 1′05″ |
Regarding the pc-files I need more input, on how to derive the required information. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 21918
|
Posted: Wed Mar 13, 2024 2:24 pm Post subject: |
|
|
For the .pc files request, this seems like it works: Code: | equery f samba --filter=obj | grep '\.pc$' | xargs -trn1 cat -n |
However, that suspicious environment variable looks more interesting. What is the output of grep -r LDB_MODULES_PATH /root/ /etc/? On my system, which has samba and does not have that variable set in root's environment, the answer is that there is no output. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Wed Mar 13, 2024 3:23 pm Post subject: |
|
|
Thank You for the assistence!
Code: | ariel ~ # equery f samba --filter=obj | grep '\.pc$' | xargs -trn1 cat -n
cat -n /usr/lib/pkgconfig/dcerpc.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: dcerpc
7 Description: DCE/RPC client library
8 Requires: ndr samba-util
9 Version: 0.0.1
10 Libs: -L${libdir} -ldcerpc -ldcerpc-binding
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/dcerpc_samr.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: dcerpc_samr
7 Description: DCE/RPC client library - SAMR
8 Requires: dcerpc ndr ndr_standard
9 Version: 0.0.1
10 Libs: -L${libdir} -ldcerpc-samr
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/ndr.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr
7 Description: Network Data Representation Core Library
8 Requires: samba-util talloc
9 Version: 3.0.1
10 Libs: -L${libdir} -lndr
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib/pkgconfig/ndr_krb5pac.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-krb5pac
7 Description: NDR marshallers for the KRB5 PAC formats
8 Requires: ndr ndr_standard
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-krb5pac
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib/pkgconfig/ndr_nbt.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-nbt
7 Description: NDR marshallers for nbt formats
8 Requires: ndr
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-nbt
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib/pkgconfig/ndr_standard.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-standard
7 Description: NDR marshallers for the standard set of DCE/RPC interfaces
8 Requires: ndr
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-standard
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib/pkgconfig/netapi.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: Samba libnetapi
7 Description: A library to control CIFS servers
8 Version: 1.0.0
9 Libs: -L${libdir} -lnetapi
10 Cflags: -I${includedir}
11 URL: http://www.samba.org/
cat -n /usr/lib/pkgconfig/samba-credentials.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5 modulesdir=${prefix}/modules/gensec
6
7 Name: samba-credentials
8 Description: Credentials management
9 Requires: samba-util ndr
10 Version: 1.0.0
11 Libs: -L${libdir} -lsamba-credentials
12 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/samba-hostconfig.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samba-hostconfig
7 Description: Host-wide Samba configuration
8 Version: 0.0.1
9 Libs: -L${libdir} -lsamba-hostconfig
10 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/samba-util.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samba-util
7 Description: Samba utility functions
8 Requires: talloc tevent
9 Version: 0.0.1
10 Libs: -L${libdir} -lsamba-util
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/samdb.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samdb
7 Description: Sam Database
8 Version: 0.0.1
9 Libs: -L${libdir} -lsamdb
10 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib/pkgconfig/smbclient.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5
6 Name: smbclient
7 Description: A SMB library interface
8 Version: 0.7.0
9 Libs: -L${libdir} -lsmbclient
10 Cflags: -I${includedir}
11 URL: http://www.samba.org/
cat -n /usr/lib/pkgconfig/wbclient.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib
4 includedir=${prefix}/include/samba-4.0
5 modulesdir=${prefix}/modules/gensec
6
7 Name: wbclient
8 Description: Winbind client
9 Version: 0.16
10 Libs: -L${libdir} -lwbclient
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/dcerpc.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: dcerpc
7 Description: DCE/RPC client library
8 Requires: ndr samba-util
9 Version: 0.0.1
10 Libs: -L${libdir} -ldcerpc -ldcerpc-binding
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/dcerpc_samr.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: dcerpc_samr
7 Description: DCE/RPC client library - SAMR
8 Requires: dcerpc ndr ndr_standard
9 Version: 0.0.1
10 Libs: -L${libdir} -ldcerpc-samr
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/ndr.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr
7 Description: Network Data Representation Core Library
8 Requires: samba-util talloc
9 Version: 3.0.1
10 Libs: -L${libdir} -lndr
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib64/pkgconfig/ndr_krb5pac.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-krb5pac
7 Description: NDR marshallers for the KRB5 PAC formats
8 Requires: ndr ndr_standard
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-krb5pac
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib64/pkgconfig/ndr_nbt.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-nbt
7 Description: NDR marshallers for nbt formats
8 Requires: ndr
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-nbt
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib64/pkgconfig/ndr_standard.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: ndr-standard
7 Description: NDR marshallers for the standard set of DCE/RPC interfaces
8 Requires: ndr
9 Version: 0.0.1
10 Libs: -L${libdir} -lndr-standard
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
cat -n /usr/lib64/pkgconfig/netapi.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: Samba libnetapi
7 Description: A library to control CIFS servers
8 Version: 1.0.0
9 Libs: -L${libdir} -lnetapi
10 Cflags: -I${includedir}
11 URL: http://www.samba.org/
cat -n /usr/lib64/pkgconfig/samba-credentials.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5 modulesdir=${prefix}/modules/gensec
6
7 Name: samba-credentials
8 Description: Credentials management
9 Requires: samba-util ndr
10 Version: 1.0.0
11 Libs: -L${libdir} -lsamba-credentials
12 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/samba-hostconfig.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samba-hostconfig
7 Description: Host-wide Samba configuration
8 Version: 0.0.1
9 Libs: -L${libdir} -lsamba-hostconfig
10 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/samba-policy.cpython-311-x86_64-linux-gnu.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samba-policy
7 Description: Active Directory Group Policy library
8 Requires: talloc
9 Requires.private: ldb
10 Version: 0.0.1
11 Libs: -L${libdir} -lsamba-policy
12 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/samba-util.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samba-util
7 Description: Samba utility functions
8 Requires: talloc tevent
9 Version: 0.0.1
10 Libs: -L${libdir} -lsamba-util
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/samdb.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: samdb
7 Description: Sam Database
8 Version: 0.0.1
9 Libs: -L${libdir} -lsamdb
10 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
cat -n /usr/lib64/pkgconfig/smbclient.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5
6 Name: smbclient
7 Description: A SMB library interface
8 Version: 0.7.0
9 Libs: -L${libdir} -lsmbclient
10 Cflags: -I${includedir}
11 URL: http://www.samba.org/
cat -n /usr/lib64/pkgconfig/wbclient.pc
1 prefix=/usr
2 exec_prefix=${prefix}
3 libdir=${prefix}/lib64
4 includedir=${prefix}/include/samba-4.0
5 modulesdir=${prefix}/modules/gensec
6
7 Name: wbclient
8 Description: Winbind client
9 Version: 0.16
10 Libs: -L${libdir} -lwbclient
11 Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 |
At a first glance this looks OK - but I lack any deeper understanding of it...
So IMHO it is still open, why the 64bit program net calls the 32bit libraries. But I should rather say: For me it is open... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
christoph_peter_s Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 30 Nov 2015 Posts: 106
|
Posted: Wed Mar 13, 2024 6:45 pm Post subject: |
|
|
Case closed.
Code: | ariel ~ # grep -r LDB_MODULES_PATH -i
.profile:export LDB_MODULES_PATH=/usr/lib/samba/ldb |
As @sam_ immediately speculated, there was an harmful entry in .profile.
I am not sure, when and why I added this. Ages ago I tried to fix some stuff in the domain database (today I would use Apache Directory Studio), and I believe that ldbsearch (or something like that) required to set the variable. It was most likely a silly idea to add it there, but it did no harm until the profile change, where the 64 bit libraries moved from lib to lib64.
Anyway, removing the entry fixed my issue.
I do apoliogize for any unnecessary work I caused by that. And I would like to Thank You for the assistence, Sam! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 1721
|
Posted: Wed Mar 13, 2024 10:20 pm Post subject: |
|
|
You are very welcome -- thank you for sharing what the ultimate cause was & providing closure too. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|