[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] mbedtls version problem
From: |
J G Miller |
Subject: |
Re: [Linphone-users] mbedtls version problem |
Date: |
Thu, 19 May 2016 03:01:04 +0200 |
At 18:41h, on Wednesday, May 18, 2016,
in message <address@hidden>,
on the subject of "Re: [Linphone-users] missing 'bctoolbox'",
Sasan Raf complained -
> configure: error: "Neither polarssl nor mbedtls were found."
> But I already installed them!
You installed which version of which from where though?
I cannot recall the exact reason -- it is something to do with earlier version
of mbedtls supplied by your distirbution was not built with appropriate
support of something else (polarssl?), so you need to install a newer
version from source.
CATEGORY="Network/Libraries"
PACKAGE_BUILD="cmake"
PACKAGE_NAME="mbedtls"
PACKAGE_URL="https://tls.mbed.org"
====> PACKAGE_VERSION="2.2.1" <===== this version or newer if available
Install that under /usr/local and make sure when your run configure it looks
under /usr/local first (for pkconfig file probably) before /usr by means
of environmental variable PKG_CONFIG_PATH eg
PKG_CONFIG_PATH="\
/usr/local/lib/${ARCH_LIBRARY}/pkgconfig:\
/usr/local/lib/pkgconfig:\
/usr/local/X11R6/lib/${ARCH_LIBRARY}/pkgconfig:\
/usr/local/X11R6/lib/pkgconfig:\
/usr/lib/${ARCH_LIBRARY}/pkgconfig:\
/usr/lib/pkgconfig:\
/usr/share/pkgconfig\
"
export PKG_CONFIG_PATH
and probably your LIBRARY_PATH with
/usr/local/lib/R{ARCH_LIBRARY}:/usr/local/lib
in front as well.
ARCH_LIBRARY is i386-linux-gnu or x86_64-linux-gnu or whatever is appropriete
for your build architecture.
Hope that helps to result in a successful build.