Subject: having problems with dlsym()
To: None <netbsd-help@netbsd.org>
From: Nick <nmanisca@vt.edu>
List: netbsd-help
Date: 09/10/2000 17:50:28
I am running 1.4.2.  I have a program that uses dlopen() and dlsym()
to call functions from shared objects.  This program works fine on
my FreeBSD 4.1 system but I cannot get it to work on any of my
NetBSD 1.4.2 systems.

Here is the problem.  dlsym() seems to be returning NULL.  However,
_init() and _fini() do get called.  Could dlopen/dlsym work differently
on NetBSD than on FreeBSD?

I tar'd up the source code in question (total of 674 bytes).  Would anyone
like to see it?  Is it sill to assume that FreeBSD and NetBSD have similar
dlsym()s?


Thanks,

Nick Maniscalco