LinuxPPC1999: shared libraries and dlopen not working ?
Gilles Depeyrot
Gilles.Depeyrot at wanadoo.fr
Sun Jun 20 23:22:25 EST 1999
Hi,
I'm having trouble getting shared libraries and dlopen to work under
LinuxPPC1999.
I have attached three small files dltest.c, lib1.c and lib2.c. lib1 and
lib2 must be built as shared libraries and dltest as an executable.
The test does the following:
/* dltest
* test functionality of dlopen(), dlsym() and dladdr()
*
* dlopen() test, w/ and w/o .init function
* dlsym() test, can we retrieve address from symbol
* dladdr() test, given an address, can we find where its from
*/
It fails on the first dlopen...
Any help appreciated,
Thanks,
Gilles
--
Gilles Depeyrot <mailto:Gilles.Depeyrot at wanadoo.fr>
<http://perso.wanadoo.fr/gilles.depeyrot>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 340 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/19990620/c00d8b37/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 200 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/19990620/c00d8b37/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1446 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/19990620/c00d8b37/attachment-0002.obj>
More information about the Linuxppc-dev
mailing list