[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.7.4 should use pkg-config for sqlite3 libraries

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 25 Apr 2012 23:34:51 +0100

Alan <alanh_at_fairlite.co.uk> writes:

> It seems that subversion just tries linking explicitly with -lsqlite3
> during configure, yet sqlite3 itself may be linked against other
> libraries which need to be pulled in. And this can fail on some systems.
>
> The configure script should use "pkg-config --libs sqlite3" to obtain a
> list of libraries.

Subversion does use pkg-config after first trying /usr. Are you saying
this does not work? If I temporarily remove the library from /usr I see

configure: checking sqlite library
checking sqlite amalgamation... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sqlite library version (via header)... okay
checking for sqlite3_close in -lsqlite3... no
checking sqlite library version (via pkg-config)... 3.7.10

-- 
Philip
Received on 2012-04-26 00:35:28 CEST

This is an archived mail posted to the Subversion Users mailing list.