referenced symbol not found, how to solve?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users referenced symbol not found, how to solve?
# 1  
Old 01-06-2003
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.
# 2  
Old 01-07-2003
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
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
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
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash looking in different directory for file that isn't referenced in command

When I run the below bash I get the expected output, which is the sum of all matching targets less than 20 in $file1. The filename in the directory is fixed (in bold). for file1 in /home/cmccabe/Desktop/test/panel/reads/16-0000_EPIL70.txt ; do bname=`basename $file1` ... (3 Replies)
Discussion started by: cmccabe
3 Replies

2. Homework & Coursework Questions

help me to solve it thank you

i thought about to use the commands : wc and sort and mybe more .. i need to write a bash script that recive a list of varuables kaka pele ronaldo beckham zidane messi rivaldo gerrard platini i need the program to print the longest word of the list. word in the output appears on a separate... (1 Reply)
Discussion started by: yairpg
1 Replies

3. Shell Programming and Scripting

perl ref to hash with refs in it (how to get what's being referenced).

I have a reference to a hash that contains some references. I was just wondering if there was a more simplistic Way of dereferencing the contained references without having to assign them to another reference like this: my $href = shift; #some hash my $temp = $href->{element}; print... (3 Replies)
Discussion started by: mrwatkin
3 Replies

4. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

5. Shell Programming and Scripting

[bash] reassigning referenced variables in functions

Hello all, Problem. ---------- I'm trying to reassign a referenced variable passed to a 'local' variable in a function but the local variable refuses to be assigned the content of the referenced variable. Any ideas would be appreciated. Objective. ----------- Eliminate all $VAR... (1 Reply)
Discussion started by: ASGR
1 Replies

6. UNIX for Advanced & Expert Users

kernel debug:"Symbol file not found for *.ko"

When I debug vmlinux with gdb, after it connect to the target, I got below output: usbcore.ko: No such file or directory. Error while mapping shared library sections: ohci_hcd.ko: No such file or directory. Symbol file not found for usbcore.ko Symbol file not found for ohci_hcd.ko Symbol... (2 Replies)
Discussion started by: yanglei_fage
2 Replies

7. Programming

Error: Undefined Symbol ..... First referenced in file......

Hi, I am working with Solaris 5.9 and I am newbie in Socket programming and I stated working with socket programming and I copyed a simple client & server program from a website which I am attaching with this and when I am compiling these files.I am getting the error-- Please Help me to... (1 Reply)
Discussion started by: smartgupta
1 Replies

8. UNIX for Advanced & Expert Users

relocation error: yyparse referenced symbol not found

This is my set up: LD_LIBRARY_PATH=/apps/rogue_wave_sol7/workspaces/workshop6_u1/4d/lib:/apps/fu/section20/vendorLib/EMS/4.2/lib:/home/a487891/cppunit/lib:/usr/openwin/lib:/usr/lib ldd -d TestDatalinkTradeRouter libintl.so => /usr/lib/libintl.so libw.so.1 => /usr/lib/libw.so.1... (2 Replies)
Discussion started by: agilgeous
2 Replies

9. UNIX for Dummies Questions & Answers

No screens found problem - and I cant use keybord properly to solve!!

Title explains it already. I need to solve the problem from log files. But backspace types ^H . I dont know how to delete character. How can I mend the keybord ? (1 Reply)
Discussion started by: olddays
1 Replies

10. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question