gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ✘"Can't find packet library")


From: Bernd Zeimetz
Subject: Re: ✘"Can't find packet library")
Date: Tue, 28 Jul 2020 13:04:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0


On 7/28/20 1:01 PM, Bernd Zeimetz wrote:
> With all the @FOO@ magic in the python stuff already, can't we just
> write the libdir into the python file to search in after checking for
> GPSD_HOME?

To quote
https://docs.python.org/2.5/lib/ctypes-finding-shared-libraries.html

If wrapping a shared library with ctypes, it may be better to determine
the shared library name at development type, and hardcode that into the
wrapper module instead of using find_library to locate the library at
runtime.



-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]