Re: dlopen: fatal: relocation error
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: dlopen: fatal: relocation error




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: dlopen: fatal: relocation error  
shahan.am@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-07 06:25 PM

On Jun 28, 6:35 am, "guent...@gmail.com" <guent...@gmail.com> wrote:
> On Jun 27, 4:36 am, shahan...@gmail.com wrote:
> ...
> 
> 
>
> Hmm, I don't see a -rdynamic option in the info pages for  ld version
> 2.15.92.0.2.  How do the info pages on your system describe that
> option?
> 
> 
>
> Ugh, you're using GNU ld.  Unless you have a particular reason to use
> the GNU linker, I would suggest using Sun's linker (/usr/ccs/bin/ld)
> under Solaris.
> 
>
> _Z11GetLastErrorv: referenced symbol not found
>
>
> 
>
> In no particular order:
> 1) are you dang sure it's opening the copy of the shared object that
>     you think it is?
> 2) what is the *exact* call to dlopen() that you're making?
> 3) are there other shared objects being loaded?  Do any them in
>     turn load libmsat.d.so, perhaps with different flags?
>
> Philip Guenther

thanks Philip
1) yes im sure its the correct shared object..
2) im using dlopen as

void* handle = dlopen (zLibName, RTLD_NOW));

where zLibName has the full path of shared object.

3) yes there are couple of shared objects being loaded but none of the
loads libmsat.d.so







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:56 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register