Build UrBackup client (Centos 6.6 x64)

Hello! I have Centos 6.6 x64. I installed the required dependencies.

yum list installed | grep wxGTK
wxGTK.x86_64 2.8.12-1.el6.rf @rpmforge
wxGTK-devel.x86_64 2.8.12-1.el6.rf @rpmforge
wxGTK3.x86_64 3.0.2-2.el6 @epel
wxGTK3-devel.x86_64 3.0.2-2.el6 @epel
wxGTK3-docs.noarch 3.0.2-2.el6 @epel
wxGTK3-gl.x86_64 3.0.2-2.el6 @epel
wxGTK3-media.x86_64 3.0.2-2.el6 @epel

I tried run ./configure:

[skip]
checking for wx-config… /usr/bin/wx-config
checking for wxWidgets version >= 2.9.0… no (version 2.8.12 is not new enough)
configure: error:
The requested wxWidgets build couldn’t be found.
If you still get this error, then check that ‘wx-config’ is
in path, the directory where wxWidgets libraries are installed
(returned by ‘wx-config --libs’ command) is in LD_LIBRARY_PATH
or equivalent variable and wxWidgets version is 2.9.0 or above.
configure: error: ./configure failed for client

How can I solve problems with building last client?
PS Unfortunately is a problem find package ver. => 2.9.0 for CentOS 6.x
Version 1.3.2 clients installed few month ago and works fine now. Now I trying build wxWidgets 2.9.5 from source…

Urbackup client built! I installed wxWidgets 2.9.5 from source and add flag to configure script:
./configure --libdir=/usr/local/lib

Now testing…

Testing revealed the problem:
–libdir=/usr/local/lib - Is a wrong way.
I do not know what the right way, but made the following:
copy all libs wxwigets from /usr/local/lib to /usr/lib64, and replace wx-config from /usr/local/bin to /usr/bin.

wx-config --libs
-L/usr/local/lib -pthread -lwx_gtk2u_xrc-2.9 -lwx_gtk2u_html-2.9 -lwx_gtk2u_qa-2.9 -lwx_gtk2u_adv-2.9 -lwx_gtk2u_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9

Then I rebuilt Urbackup client and install. Now testing…
PS I have an idea, configure and build wxWigets ver. 2.9.5 with --prefix=/usr
Now trying on another machine…

wx-config --libs
-pthread -lwx_gtk2u_xrc-2.9 -lwx_gtk2u_html-2.9 -lwx_gtk2u_qa-2.9 -lwx_gtk2u_adv-2.9 -lwx_gtk2u_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9

it looks bettler! I trying compile last UrBackup client…

It works! Problem solved.

PS If you have wxWigets ver. 3.x, UrBackup client failed to configure

yum list installed | grep wx
wxBase3.x86_64 3.0.2-2.el6 @epel
wxGTK.x86_64 2.8.12-1.el6.rf @rpmforge
wxGTK-devel.x86_64 2.8.12-1.el6.rf @rpmforge
wxGTK3.x86_64 3.0.2-2.el6 @epel
wxGTK3-devel.x86_64 3.0.2-2.el6 @epel
wxGTK3-docs.noarch 3.0.2-2.el6 @epel
wxGTK3-gl.x86_64 3.0.2-2.el6 @epel
wxGTK3-media.x86_64 3.0.2-2.el6 @epel