Backup program?

'Forum Post ulist at gs1.ubuntuforums.org
Sun Dec 25 22:54:36 UTC 2005


mosestruong Wrote: 
> 

> I'm still getting some errors, there are a lot of undefined references
> all relating to functions in libdar... I've pasted the last few lines of
> the error:

> 

> kdarthread.o(.text+0x5c3): In function
> `KDarThread::cancelOperation()':

> : undefined reference to
> `libdar::thread_cancellation::clear_pending_request()'

> kdarthread.o(.text+0x610): In function
> `KDarThread::cancelOperation()':

> : undefined reference to `libdar::thread_cancellation::cancel(unsigned
> long)'

> kdarthread.o(.text+0x61b): In function
> `KDarThread::cancelOperation()':

> : undefined reference to
> `libdar::thread_cancellation::current_cancel(unsigned long&)'

> kdarcontroller.o(.text+0x18d): In function
> `KDarController::KDarController[not-in-charge]()':

> : undefined reference to `libdar::get_compile_time_features(bool&,
> bool&, bool&, bool&, unsigned&, bool&, bool&, bool&, bool&)'

> kdarcontroller.o(.text+0x47d): In function
> `KDarController::KDarController[in-charge]()':

> : undefined reference to `libdar::get_compile_time_features(bool&,
> bool&, bool&, bool&, unsigned&, bool&, bool&, bool&, bool&)'

> KDarInteraction.o(.gnu.linkonce.r._ZTI15KDarInteraction+0x8): undefined
> reference to `typeinfo for libdar::user_interaction'

> 



The problem is that you now have two versions of libdar installed and
the linker is finding the older one (the ubuntu package). 

Go into /usr/lib and 

sudo rm libdar.so



then create two symlinks:

sudo ln -s /usr/local/lib/libdar.so.3

sudo ln -s /usr/local/lib/libdar.so.3 libdar.so



kdar should now compile and run :D



It's well worth the effort - KDar is excellent and I was quite
surprised not to find it in the repository


-- 
leberger




More information about the ubuntu-users mailing list