Relocation error : undefined symbol gnome_print_job_set_file

Mohit Kumar <[email protected]> Tue, 22 Mar 2005 10:21:16 +0530
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
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?

Thanks,
Mohit