From: Elan Feingold Message-Id: <9508221632.AA16273@avette.zko.dec.com> To: J.Smart@ed.ac.uk Subject: wxWindows/Linux+XNeXT progress report In-Reply-To: <244.9508211050@subnode.aiai.ed.ac.uk> References: <244.9508211050@subnode.aiai.ed.ac.uk> Status: O Hi! Well, I worked last night on this, and finally found what I was doing wrong with the ELF shared libs (you may want to put this information somewhere on your Web pages). Essentially, with C++ shared libraries, one has to link it with "gcc -shared ...", and not "ld --shared ..." The reason for this is that the gcc will invoke ld with additional object files that end up ensuring that global constructors and destructors get called. So the command line looks something like: gcc -shared -Wl,--soname=libwx.so.1.6.2 -o libwx.so.1.6.2 *.o