Re: Is there something like PATH to search for extension libraries?

Peng Yu <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CABrM6w=LFuEUPr9qUMjYceoPxibn2VEh=J3EK-eJvU-2k8PoVA@mail.gmail.com>
OK. This was not clear to me by reading
https://www.sqlite.org/loadext.html. Maybe it should be included by
the maintainer of that page.

On 2/1/20, Keith Medcalf <[email protected]> wrote:
>
> On Friday, 31 January, 2020 21:15, Peng Yu <[email protected]> wrote:
>
>>I have to specify either a full path (either relative or absolution)
>>to use .load. But it would be more convenient if there is something
>>like PATH (may be named as something like SQLITE3_LIB_PATH) to search
>>for library files. Is it available in sqlite3? Thanks.
>
>>https://www.sqlite.org/loadext.html
>
> This is an Operating System matter, not an SQLite3 issue.
>
> On Windows loadext (.load) uses the standard search path.  I would imagine
> that Linux uses whatever the standard .so file search path is.
>
> See http://man7.org/linux/man-pages/man8/ld.so.8.html
> and https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
>
> Basically put the library in a standard location and use ldconfig else try
> setting the LD_LIBRARY_PATH
>
> --
> The fact that there's a Highway to Hell but only a Stairway to Heaven says a
> lot about anticipated traffic volume.
>
>
>
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>


-- 
Regards,
Peng
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.