I had some problems getting DBD::Sybase up and running on Solaris 9. I was using it in a CGI script on a proprietary framework and the environment variables seemed broken. I got the following error:
install_driver(Sybase) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/ sun4-solaris/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: ld.so.1: perl: fatal: libgcc_s.so.1: open failed: No such file or directory atI found
libgcc_s.so.1
in my /usr/local/lib
and that path was added to LD_LIBRARY_PATH
. I tried recompiling with extra parameters, I tried setting the environment variable explicitly in the script but nothing seemed to work. I then looked back at my development setup (where it DID work) and found out that libgcc_s.so.1
was in /usr/lib
on that machine. I quickly created a symlink and tata! It worked!