ropey has asked for the wisdom of the Perl Monks concerning the following question:

I *accidently* upgraded from Perl version 5.005 - 5.6.1 on Solaris 4. Now I seem to have a problem with my DBD drivers for Sybase, I reinstalled DBI and that was fine but DBD::Sybase would install and make but the tests fail, if I try and run a script which attempts to use the DBD it comes back with install_driver(Sybase) failed: Can't load '/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: ld.so.1: /usr/bin/perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/Sybase/Sybase.so: symbol Perl_no_modify: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206. Has anyone any ideas whats causing this problem and what I can do to rectify this ? Humbly yours

Replies are listed 'Best First'.
Re: Sybase + Perl Problem
by busunsl (Vicar) on Jan 09, 2002 at 18:21 UTC
    It seems you have messed up something.
    DBD::Sybase is looking in the wrong directory for it's shared library (5.005).

    If you have both Perl versions after the upgrade, make sure the right Perl binary is used during installation of the modules.

    You may have to go through the whole installation procedure:

    perl Makefile.PL make make test make install
Re: Sybase + Perl Problem
by mpeppler (Vicar) on Jan 09, 2002 at 23:14 UTC
    What fails for the make test of DBD::Sybase?

    Michael

      Thanks for the replies, I eventually managed to get it to work - it seemed to be due to a misconfiguration where it was trying to install the module into the associated Perl 5.005 directory instead of the newer version of Perl.