http://www.perlmonks.org?node_id=600046


in reply to Installing XML::Parser (with expat)

Just to bring this node to an end, I thought I'd mention that I got a static copy of expat installed using Rob's ./configure --enable-static --disable-shared --prefix=/home/reliant/shaw/.local suggestion.

Then I reinstalled XML::Parser as before, and it worked. At that point, I replaced the (linked) Expat.so file on the production server with the (static) Expat.so file from the development server I was working on.

A special thanks to Derby for pointing me in the right direction with ldd and LD_LIBRARY_PATH. He was correct about my LD_LIBRARY_PATH being out of whack. I'm sure the suggestions to fix my LD_LIBRARY_PATH would have worked, but it was easier for me to replace the Expat.so with a staticly compiled copy.

Cheers,

Brent

-- Yeah, I'm a Delt.