In article <5g6mgv$j0c$1@newsy.ifm.liu.se>, peter@ifm.liu.se wrote: >I'm trying to port my multithreaded web server Phttpd to Digital Unix 4.0. > >However, Phttpd uses dynamic linking of shared library objects via the >dlopen()/dlsym() interface. > >What is the correct method of compiling and linking such a shared >library object? I've tried to read the manual pages for dlopen, >dlsym, cc and ld but they aren't exactly clear on this subject... > >- Peter > >-- >Peter Eriksson Computer Systems Manager/BOFH >WWW: http://www.ifm.liu.se/~peter/ Phone: +46 13 282786 >Link�ping University, Department of Physics, S-581 83 Link�ping, Sweden Very simply, it's just: ld -shared -o By convention, shared libraries on Digital UNIX have names starting with lib and ending with a .so extension, as in "libtest.so". --Tony tquan@ibm.net