[Expat-discuss] Error on installation
Tue Jan 29 14:21:17 2002
I installed Expat 2.30 on MacOSX 10.1.2 and I am now having some difficulty
with a cgi that uses Expat to parse xml.
I received the advice at from FJ Franklin about setting the
DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH. How does one go about setting
Here is the error:
>> [localhost:/Library/WebServer/CGI-Executables] admin% ./reg_system.cgi
>> dyld: perl Undefined symbols:
Jeremy Schwartz Starmark
> From: F J Franklin <F.J.Franklin@sheffield.ac.uk>
> Date: Fri, 25 Jan 2002 15:40:57 +0000 (GMT)
> To: Jeremy Schwartz <email@example.com>
> Subject: Re: [Expat-discuss] Error on installation
>> Note that if you build against a shareable library in a non-standard
>> you may (on some platforms) also have to set your LD_LIBRARY_PATH
>> variable at run time for perl to find the library.
> Never use perl myself, so can't really help you. Remember that for darwin
> you should set DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH - but this
> shouldn't really be necessary.
> One thought: has expat been build shared (libexpat.dylib) or static
> (libexpat.a), because if the latter you may need to run ranlib on the
> installed library - I'm not really sure. darwin can be a pain, though it's
> a joy when everything finally works... :-)
> Also, make sure the header file has been installed in the right place,
> which it should but I can't remember.
> Good luck, Frank
> Francis James Franklin
> It's getting them wrong that is living, getting them wrong and wrong and
> wrong and then, on careful reconsideration, getting them wrong again.
> That's how we know we're alive: we're wrong.
> --- Philip Roth