Hi,
On 26/04/2012 18:18, Brian Jones wrote:
1) ldd appears to report dependency on the 2.9.2 libs installed on this
machine (ex libwx_gtk2_adv-2.9.so.2 =>
/usr/local/lib/libwx_gtk2_adv-2.9.so.2 )
2) I build Alien::wxWidgets by first setting the WX_CONFIG variable to point
to the wx-config created by my recent 2.9.3 build of wxWidgets (this one is
made but not installed, we have production software using the installed one
at the moment).
I assume by this you mean you installed to --prefix
/home/brian_jones/wxWidgets-2.9.3/buildgtk. You'll need to 'make
install' somewhere.
3) the perl test of Alien you gave me returns...
-L/home/brian_jones/wxWidgets-2.9.3/buildgtk/lib -lpthread
-Wl,-rpath,/home/brian_jones/wxWidgets-2.9.3/buildgtk/lib -lwx_gtk2_adv-2.9
-lwx_gtk_core-2.9 -lwx_base-2.9
Ok.
Having a permanent LD_LIBRARY_PATH setting in your profile is a
fundamentally broken thing to do - with now apparent consequences.
Although I guess it prevents casual linking against non 'approved'
versions of libraries.
I can't really think through the quickest way to a fix for you so a long
way =
wxWidgets is installed to a path. You have run make install.
export LD_LIBRARY_PATH=
As you seem to have some LD settings in your environment you will also
want to check you don't have LD_PATH set.
export LD_PATH=
export WX_CONFIG=/path/to/wxWidgets/afterinstall/path/bin/wx-config
.. test you are actually pointing at a real wx-config before building or
else you'll just pick up the default 2.9.2
clean build of Wx.
Hope it helps.
Mark