[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘"Can't find packet library")
From: |
Gary E. Miller |
Subject: |
Re: ✘"Can't find packet library") |
Date: |
Mon, 27 Jul 2020 14:41:34 -0700 |
Yo Bernd!
On Mon, 27 Jul 2020 23:05:14 +0200
Bernd Zeimetz <bernd@bzed.de> wrote:
> The code does a lot of work to find the library, While this "just
> works"(tm):
>
> >>> import ctypes.util
> >>> ctypes.util.find_library("gpsdpacket")
> 'libgpsdpacket.so.27'
Also works on macOS:
Python 2.7.16 (default, Apr 17 2020, 18:29:03)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20)
(-macos10.15-objc- on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes.util
>>> ctypes.util.find_library("gpsdpacket")
'libgpsdpacket.dylib'
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpf370nWJQ9D.pgp
Description: OpenPGP digital signature
- ✘"Can't find packet library"), Gary E. Miller, 2020/07/26
- Re: ✘"Can't find packet library"), Bernd Zeimetz, 2020/07/28
- Re: ✘"Can't find packet library"), Bernd Zeimetz, 2020/07/28
- Re: ✘"Can't find packet library"), Gary E. Miller, 2020/07/28
- Re: ✘"Can't find packet library"), Gary E. Miller, 2020/07/28
- Re: ✘"Can't find packet library"), Bernd Zeimetz, 2020/07/28
- Re: ✘"Can't find packet library"), Gary E. Miller, 2020/07/28