LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2007, 07:28 AM   #1
ramesh6056
Member
 
Registered: May 2007
Posts: 89

Rep: Reputation: 15
Relocation error...


Hi all,

I want to know the reason for relocation error...

Due to what reasons the relocation error may occur...

When i try to run my program in my pxa255 platform where the program uses glade library...I am getting an error like this...


relocation error: /usr/lib/libglade-2.0.so.0: undefined symbol: gtk_about_dialog_get_type


I faced this error several times...But i don't know why this error occurs...Some times when i change the location of the library..It is not giving such an error...Sometimes, even when i change its location to different path then also the problem persist...


Can anyone help me in explaining about the cause of this error??
 
Old 08-09-2007, 08:47 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
I can't give an explanation about the exact reasons of a relocation error, but at compiling time the options -fpic and -fPIC can avoid some of its occurence. See man gcc for details.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Relocation error??? ramesh6056 Linux - Software 1 06-05-2007 03:28 PM
relocation error otchie1 Linux - Software 2 11-12-2004 08:18 PM
relocation error? CPUguy387 Linux - Networking 3 10-26-2003 02:28 PM
Relocation error? CPUguy387 Linux - Newbie 0 10-26-2003 06:28 AM
relocation error: xxxxx: undefined error: Johng Linux - Software 2 10-28-2002 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration