[xmedcon-users] fix undefined symbol problem
medical image conversion utility
Brought to you by:
enlf
|
From: <eri...@ug...> - 2005-08-01 23:23:32
|
---------- Forwarded message ---------- Date: Tue, 19 Jul 2005 01:16:37 +0200 (CEST) From: Erik Nolf To: Glenn Lawyer Subject: Re: xmedcon problem Hello, On Mon, 18 Jul 2005, Glenn Lawyer wrote: > Hi, > > Thanks for the software! > > I'm running various flavors of RHL. Installed fine from rpm on my home > machine and works nicely. Installed it on one of the lab machines (rpm > -Uvh xmedcon-0.9.8.5-1.i386.rpm ), no warnings/errors. But it doesn't > run; instead I get the following: > freud36@orig :)medcon -f 001/im1.dcm > medcon: symbol lookup error: medcon: undefined symbol: XMDC_GUI > An "undefined symbol" indicates the use of a bad (older?) lib. > which seems odd, as I am not using the X gui. > > Any tips? > Found indeed something confusing in our 0.9.8.5 version, which installs into "/usr" instead of the usual "/usr/local". Because you did an "rpm -U", you most probably upgraded from an previous version installed in "/usr/local". In that case and depending on you path settings you run the exe from "/usr/local/bin" using the "/usr" libs or vice versa, no? $> which medcon $> ldd /path/to/medcon Sorry for that mess. But here is a way to clean it up: you can do an install/uninstall from a source package (in case you don't have that older RPM) $> ./configure --prefix=/usr/local $> make #> make install #> make uninstall So, made all that sense? > +glenn > > Greetings, eNlf |