shared library (dlopen()) problem

Hello,
Could anybody help me in how to use the shared library of my own.
I have created a shared library (.so file) and i want to use that as dynamic
linking. when i am using dlopen() and giving the path of the library, its
giving memory fault.
My shared library contains simple display function with printf statement.

Thanks in advance

Did you build you shared object as PIC code? Post how you built your .so,
and then how you’re using dlopen().


Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
“vasdev” <vasdev_vs@hotmail.com> wrote in message
news:agm5m7$pr$1@inn.qnx.com

Hello,
Could anybody help me in how to use the shared library of my own.
I have created a shared library (.so file) and i want to use that as
dynamic
linking. when i am using dlopen() and giving the path of the library, its
giving memory fault.
My shared library contains simple display function with printf statement.

Thanks in advance