From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c98168fd25439db8,start X-Google-Attributes: gidfee84,public From: Snow Wang Subject: problem with Netscape loading shared library on OSF Date: 1998/09/28 Message-ID: <3610519A.63081094@us.ibm.com>#1/1 X-Deja-AN: 395852818 Content-Transfer-Encoding: 7bit Organization: IBM Microelectronics Division Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi, I created a shared object which Netscape is supposed to load when documents of certain MIME type is to be loaded. I did not get any error message building the shared object, but Netscape did not load it. Instead, it displayed the source code of the document and caused segmentation fault after Netscape is dismissed. Assuming all the interfaces required to communicate with Netscape are there, which I think is true because the same codes can build and run on other platform, I wonder if there is anything wrong with the way the shared object is built. Here is my makefile. It's cxx 6.0 I am using on OSF 4.0. I really appreciate any suggestion and advice. /usr/bin/cxx -shared -o ab.so -I. -I/usr/include/cxx -I/usr/include a.cpp b.cpp -L/usr/lib -lc -lcxx -lcxxstd -lXt -lX11 Thanks in advance. Snow