Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempting to connect to msql database #179

Closed
p5pRT opened this issue Jul 9, 1999 · 4 comments
Closed

attempting to connect to msql database #179

p5pRT opened this issue Jul 9, 1999 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 9, 1999

Migrated from rt.perl.org#984 (status was 'resolved')

Searchable as RT984$

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

From orbong@spawar.navy.mil

  install driver (mSQL) failed​: 'Can't load
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/
  auto/DBD/mSQL/mSQL.so' for module DBD​::mSQL​:
ld.so.1​:
  perl​: fatal​: relocation error​: file
/usr/local/lib/perl5/site_perl/5.005/
  sun4-solaris/auto/DBD/mSQL/msQL.so​: symbol
msqlErrMsg​:
  referenced symbol not found at
/usr/local/lib/perl5/pvt_lib/sun4-
  solaris/auto/DBD/mSQL/mSQL.so​: symbol msqlErrMsg​:
referenced
  symbol not found at
/usr/local/lib/perl5/pvt_lib/sun4-solaris/
  DynaLoader.pm line 169.

  at eval(3)

  at "test.cgi" line 7

Line 7 is the following​:

  my $dbh = DBI->connect($datasource) ||
  die "Could not connect​:$DBI​::errstr";

line 169 in DynaLoader.pm is

  my $libref = dl_load_file($file, $module->dl_load_flags) or
  croak('Can't load '$file' for module $module​: ",
dl_error(),"\n");

Any input is appreciated.

Thanks,

Glenn
 

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

From [Unknown Contact. See original ticket]

I have been going through all the INSTALL files for the modules I installed
for
querying a mSQL database. The INSTALL file for the latest perl5 says that
dynamic loading is automatically enabled. So I looked at the INSTALL file
for
the msql module and I decided to reinstall it. I noticed two fatal errors
when I first
ran make test for this module. I again observed these error messages when I
ran
it a second time. I assuming that this all make test does is run some
tests.
Anyhow, here are the two fatal errors produced by make test​:

  *** Error code 2
  make​: Fatal error​: Command failed for target "test_dynamic"
  Current working directory /user/admin/Msql_module/Msql-Mysql-
  modules-1.2200/mSQL
  *** Error Code 1
  make​: Fatal error​: Command failed for target "test"

Thanks,

Glenn

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

From [Unknown Contact. See original ticket]

Is it possible that the perl interpreter I built is not
enabled for dynamic file loading even though I elected
to accept all defaults as recommended by file INSTALL.

If this is possible, how do I force the installation to build
a perl interpreter that is enabled for dynamic file loading.

Glenn

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

From [Unknown Contact. See original ticket]

The following *.tar.gz files were used in an attempt to build a msql enabled
perl interpreter​:

  Msql-Mysql-modules-1.2200.tar.gz
  Data-ShowTable-3.3.tar.gz
  perl5.tar.gz

Thanks,

Glenn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant