On Sat, Jun 20, 2009 at 07:17:50AM -0700, pablogreen wrote: > Normally in C++ I do this: > g++ -fPIC -c mylib.c > g++ -shared -o libmylib.so mylib.o Try compiling with GCC in C mode because C++ mangles the names (e.g. to support overloading). -- Felipe.