Relocation error : undefined symbol gnome_print_job_set_file

Hi All,

I have a program which uses gnome_print_job_set_file api. This file
compiles fine and an executable is created.
However when I run this executable I get an error /.a.out: Relocation
error ./a.out: undefined symbol gnome_print_job_set_file.

When I did an ldd on the binary, I found that it refers to all the
shared obeject files present in the /usr/lib where as the packages
that I had installed were present in /usr/local/lib. So it clearly
means that I need to refer to these shared objects from
/usr/local/lib.... Does any body know how we can set this?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]