On 2017-12-09, Edgar Pettijohn <[email protected]> wrote:
> I'm playing around with some perl cgi. I'm trying to use DBD::mysql but
> keep getting errors.
>
> There has been an error: install_driver(mysql) failed: Can't load 
> '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/DBD/mysql/mysql.so'
> for module DBD::mysql: Cannot load specified object at /usr/libdata/perl5/
> amd64-openbsd/DynaLoader.pm line 193. at (eval 19) line 3. Compilation 
> failed in require at (eval 19) line 3. Perhaps a required shared library 
> or dll isn't installed where expected at /usr/local/libdata/perl5/site_perl
> /CGI/Application/Plugin/DBH.pm line 40.

Run it under chroot(8) from the shell, with LD_DEBUG=1 set. It may give
you enough clues to figure it out. If not, it'll give you something else
to post here so others might notice the problem.


Reply via email to