Discussion:
help finding a file
paul beard
2021-05-20 01:00:19 UTC
Permalink
ldd /usr/local/bin/smbtorture | grep found

libpytalloc-util.cpython-38.so.2 => not found (0)

libpytalloc-util.cpython-38.so.2 => not found (0)

libpytalloc-util.cpython-38.so.2 => not found (0)


find . -name pkg-plist -exec grep libpytalloc-util.cpython-38.so {} \;


This similarly named file is installed by python3.8 but I don't see it
listed in pkg-plist.


/usr/local/lib/python3.8/lib-dynload/readline.cpython-38.so was installed
by package python38-3.8.10

Any ideas?
--
Paul Beard / www.paulbeard.org/
Thierry Thomas
2021-05-20 19:40:49 UTC
Permalink
Post by paul beard
ldd /usr/local/bin/smbtorture | grep found
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
find . -name pkg-plist -exec grep libpytalloc-util.cpython-38.so {} \;
$ pkg which /usr/local/lib/libpytalloc-util.cpython-38.so.2
/usr/local/lib/libpytalloc-util.cpython-38.so.2 was installed by package talloc-2.3.1

Unfortunately, many Python ports have a dynamic plist, and you cannot
grep them.
--
Th. Thomas.
Kubilay Kocak
2021-05-21 02:37:43 UTC
Permalink
Post by paul beard
ldd /usr/local/bin/smbtorture | grep found
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
find . -name pkg-plist -exec grep libpytalloc-util.cpython-38.so {} \;
This similarly named file is installed by python3.8 but I don't see it
listed in pkg-plist.
/usr/local/lib/python3.8/lib-dynload/readline.cpython-38.so was installed
by package python38-3.8.10
Any ideas?
From samba ports:

%%SAMBA4_BUNDLED_TALLOC%%%%SAMBA4_PYTHON%%lib/samba4/private/libpytalloc-util%%PYTHON_EXT_SUFFIX%%.so.2

via the SAMBA4_BUNDLED_TALLOC variable, which defaults to no:

https://github.com/freebsd/freebsd-ports/blob/main/net/samba412/Makefile#L167
paul beard
2021-05-21 03:03:34 UTC
Permalink
They got built and installed after rebuilding both talloc and cython…talloc
has no pkg-plist file which complicated matters.
Post by paul beard
Post by paul beard
ldd /usr/local/bin/smbtorture | grep found
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
libpytalloc-util.cpython-38.so.2 => not found (0)
find . -name pkg-plist -exec grep libpytalloc-util.cpython-38.so {} \;
This similarly named file is installed by python3.8 but I don't see it
listed in pkg-plist.
/usr/local/lib/python3.8/lib-dynload/readline.cpython-38.so was
installed
Post by paul beard
by package python38-3.8.10
Any ideas?
%%SAMBA4_BUNDLED_TALLOC%%%%SAMBA4_PYTHON%%lib/samba4/private/libpytalloc-util%%PYTHON_EXT_SUFFIX%%.so.2
https://github.com/freebsd/freebsd-ports/blob/main/net/samba412/Makefile#L167
--
Paul Beard / www.paulbeard.org/
Loading...