Re: Relocation error : undefined symbol gnome_print_job_set_file

Just to say, I have -L/usr/local/lib/ as my compiler option, but still
its picking up from the /usr/lib, don't know why?


On Tue, 22 Mar 2005 10:21:16 +0530, Mohit Kumar <mohit kumar gmail com> wrote:
> 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

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