[lxc-users] lxc build failure

Fajar A. Nugraha list at fajar.net
Sat Aug 11 15:07:52 UTC 2018


On Sat, Aug 11, 2018 at 10:05 PM, Fajar A. Nugraha <list at fajar.net> wrote:

> On Sat, Aug 11, 2018 at 1:37 PM, Pierre Couderc <pierre at couderc.eu> wrote:
>
>> Trying to build lxd from sources, I get a message about sqlite3 missing,
>> and an invite to "make deps".
>>
>> But it fails too with :
>>
>>
>> No package 'sqlite3' found
>>
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>>
>> Alternatively, you may set the environment variables sqlite_CFLAGS
>> and sqlite_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details
>>
>>
>> And the man pkg-config is not clear to me...
>>
>>
> I believe the script basically needs this file:
> /usr/lib/pkgconfig/sqlite.pc
>
> On ubuntu 18.04, it's provided by libsqlite0-dev.
>
> If you install sqlite manually from source (e.g. you have it on
> /usr/local/lib/pkgconfig/sqlite.pc), you could probably do something like
> "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" (or wherever the file
> is located) before building lxc.
>
>

Sorry, it should be "/usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc" and
"libsqlite3-dev" on Ubuntu 18.04

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180811/da67e919/attachment.html>


More information about the lxc-users mailing list