This is a discussion on dlopen: fatal: relocation error within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi all.. Im facing a trouble in using dlopen. The scenario is as this. i have a executable with ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all.. Im facing a trouble in using dlopen. The scenario is as this. i have a executable with a global function. when executing this its dynamically linking with some .so s. (by using dlopen) . In those .so s im using that global function by giving extern. * I gave -rdynamic to ld when linking the executable in linux and it works fine * in solaris x86 (5.10) it works ok without any additional flags * but in solaris SPARC (5.9) even though i linked with --export- dynamic flag, dlopen function in the executable fails. i check the error with dlerror it says fatal: relocation error: : referenced symbol not found what went wrong with SPARC ? how do i get this work ? Your help in this highly appreciated... Thanks.. ~sh |
| ||||
| On Wed, 27 Jun 2007 08:00:35 -0700 shahan.am@gmail.com wrote: > Hi all.. > Im facing a trouble in using dlopen. The scenario is as this. asked and answered in comp.unix.programmer. please don't multipost. |