<p>I'm trying to "install SGML::Parser::OpenSP" from the cpan shell, but it fails on the first "make test". I also get the same error if I go into the build directory and run make test.</p>

<p>I believe this bit of the output below is the relevant part.  Note the Symbol not found when perl gets to the "use" line for the new library. The file listed there exists and is readable.  When I run the unix command "nm" it <em>does</em> show the symbol.</p>

<p>I don't know what to make of the symbol not found error.  I'm not running as admin/root if that matters.  This is on a mac, 10.4.11 My googling turned up some hints that this can happen if gcc is called instead of g++, but I believe that is set up correctly.</p>

<p>What else could it be, and how can I try to fix?</p>

<p>Here's the excerpt from running make test:</p>

<pre><code>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic...........1/4
#   Failed test 'use SGML::Parser::OpenSP;'
#   at t/01basic.t line 14.
#     Tried to use 'SGML::Parser::OpenSP'.
#     Error:  Can't load '/Users/joshgold/.cpan/build/SGML-Parser-OpenSP-0.994/blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bundle' for module SGML::Parser::OpenSP: dlopen(/Users/joshgold/.cpan/build/SGML-Parser-OpenSP-0.994/blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bundle, 2): Symbol not found: __ZTI15SGMLApplication
#   Referenced from: /Users/joshgold/.cpan/build/SGML-Parser-OpenSP-0.994/blib/arch/auto/SGML/Parser/OpenSP/OpenSP.bundle
#   Expected in: dynamic lookup
#  at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
</code></pre>

[{'answer_id': 36332, 'author': 'Glenn Slaven', 'author_id': 2975, 'author_profile': 'https://Stackoverflow.com/users/2975', 'pm_score': 4, 'selected': True, 'text': '<p>If you use the Settings for the project, you can mark each setting as either application or user.</p>\n\n<p>If they\'re set as user, they will be stored per-user and when you call the Save method it will be updated in the config for that user.</p>\n\n<p>Code project has a really detailed <a href="http://www.codeproject.com/KB/dotnet/user_settings.aspx" rel="nofollow noreferrer">article</a> on saving all types of settings.</p>\n'}, {'answer_id': 36335, 'author': 'Domenic', 'author_id': 3191, 'author_profile': 'https://Stackoverflow.com/users/3191', 'pm_score': 1, 'selected': False, 'text': '<p>app.config isn\'t what you want to use for user-tweakable data, as it\'ll be stored somewhere in Program Files (which the user shouldn\'t have write permissions to). Instead, settings marked with <code>a UserScopedSettingAttribute</code> will end up in a user-scoped .config file somewhere in %LocalAppData%.</p>\n\n<p>I found the best way to learn this stuff was to mess with the Visual Studio "Settings" tab (on your project\'s property pages), then look at the code that it generates and look in %LocalAppData% to see the file that it generates.</p>\n'}]
['https://Stackoverflow.com/questions/36344', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']