From bug-octave-request at bevo dot che dot wisc dot edu Wed Dec 9 14:00:03 1998 Subject: Unidentified subject! From: "John W. Eaton" To: Gary Holt Cc: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 9 Dec 1998 14:00:00 -0600 (CST) On 9-Dec-1998, Gary Holt wrote: | To: bug-octave at bevo dot che dot wisc dot edu | Subject: .oct files for 2.1.11 on linux---rdynamic needed? | | Bug report for Octave 2.1.11 configured for %CANONICAL_HOST_TYPE% | | Description: | ----------- | | Although I do have a shared version of libstdc++ (as the "installation | problems" section of the info file suggests), when I build the oregonator.cc | example from the octave distribution, octave can't load it (see transcript | below). | | I had to modify src/Makefile to add -rdynamic to the link options, and then | it worked fine. >From looking at the gcc specs file, it looks like -rdynamic adds -export-dynamic to the ld command. The ld man page says -export-dynamic When creating an ELF file, add all symbols to the dynamic symbol table. Normally, the dynamic symbol table contains only symbols which are used by a dynamic object. This option is needed for some uses of dlopen. I'll add a check to configure to add this option if it is accepted by gcc. Thanks, jwe