The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
relocation error: yyparse referenced symbol not found agilgeous UNIX for Advanced & Expert Users 2 05-06-2008 11:40 AM
No screens found problem - and I cant use keybord properly to solve!! olddays UNIX for Dummies Questions & Answers 1 10-23-2007 04:45 PM
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 04:38 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2003
Registered User
 

Join Date: Jun 2002
Posts: 64
referenced symbol not found, how to solve?

while trying to execute an application, i encountered thefollowing error:

ld.so.1: myApplication : fatal: relocation error: file /opt/oracle/oradb/lib/libHotDB50.so: symbol sqlcxt: referenced symbol not found

my questions :

1) what is relocation error?

2) why this error occur?

3) how to solve?

thanks a lot and have a nice day.
Forum Sponsor
  #2  
Old 01-07-2003
Registered User
 

Join Date: Oct 2001
Posts: 61
First of all check that your LD_LIBRARY_PATH environment is set properly , if it's ok also check for essential patches installation in solaris.
Rgrds,
Nikk
  #3  
Old 01-07-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
This may help you with your first two questions - realize the error can be given on many different applications under different circumstances. This is just so you get a better understanding.

Search the page for relocation - Sun docs - relocation error

As far as your 3rd question, Nikk answered that well in check your LD_LIBRARY_PATH. That would be the first thing to look at.
  #4  
Old 01-08-2003
Registered User
 

Join Date: Jun 2002
Posts: 64
Thanks RTM and nikk for your answer.

I am deadly sure that I have checked my LD_LIBRARY_PATH that it includes the path to "/opt/oracle/oradb/lib/libHotDB50.so", where the error came from.

I verified this by doing the "echo $LD_LIBRARY_PATH".

Now, it said "symbol sqlcxt: referenced symbol not found "

Please tell me where is this sqlcxt?

Is this problem because of I did not include the library path to this "sqlcxt"?

I really do not know what and where this "sqlcxt" is. If you have any idea, please let me know.

Thank you very much and have a nice day
  #5  
Old 01-08-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If you have verified that LD_LIBRARY_PATH is correct then it may be a problem with the Oracle program/application you are attempting to run. You will note that the explaination in the link for relocation error I provided gives both cause and action items.

Quote:
ld.so.1: string: fatal: relocation error: string: string: referenced symbol not found
Cause
This message is produced in releases after the Solaris 2.5.1. It is not produced in the Solaris 2.5.1 or earlier releases.

The message from the runtime linker ld.so.1(1) indicates that in trying to execute the application given after the first colon, the specified symbol could not be found for relocation. The message goes on to say in what file the symbol was referenced. Because this is a fatal error, the application terminates with this message.

Action
Run the ldd -d command on the application to show its shared object dependencies and symbols that are not found. Probably your system contains an old version of the shared object that should contain this symbol. Contact the library vendor or author for an update.

Technical Notes
This error does not necessarily occur when you first bring up an application. It could take months to develop, if ordinary use of the application seldom references the undefined symbol.
This may be a problem with the program/application or a patch on the OS. Try reading the information in ORAFAQ.net - sqlcxt error which should give you some idea of how to fix it by adding options to your compile - you will need to read all the responses as I'm not sure which is the most appropriate for your situation (I'm not a Oracle DBA). This problem seems to be an common issue with Oracle and Solaris.
Google The UNIX and Linux Forums
Closed Thread

« NIS Problem | Snmp »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0