Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 1996 00:32:28 -0500 (EST)
From:      James FitzGibbon <james@nexis.net>
To:        Gene W Homicki <gwh@spiders.com>
Cc:        ports@FreeBSD.ORG
Subject:   Re: p5-DBD-mSQL port
Message-ID:  <Pine.BSI.3.95.961202003029.19205A-100000@teamos2.org>
In-Reply-To: <199612020334.WAA19371@charlotte.spiders.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Dec 1996, Gene W Homicki wrote:

> 	When compiling the p5-DBD-mSQL port I get the following:
> 
> LD_RUN_PATH="/usr/local/Minerva/lib:/usr/lib" ld -o
> ./blib/arch/auto/DBD/mSQL/mSQL.so -Bshareable -L/usr/local/lib
> dbdimp.o mSQL.o -L/lib -L/usr/local/Minerva/lib
> -L/usr/local/Minerva/lib -lmsql -lm 
> ld: /usr/local/Minerva/lib/libmsql.a(libmsql.o): RRS text relocation at 0x6c6b for "_strcpy"
> ld: /usr/local/Minerva/lib/libmsql.a(libmsql.o): RRS text relocation at 0x6c66 for "_msqlErrMsg"

This is fixed if you-reinstall the mSQL port.  the problem was that I
wasn't compiling with -fpic, which was fixed about 6 weeks ago.

> The make doesn't bomb on this, but when I try to use the module, I
> get:
> 
> [atx][DBD-mSQL-0.60pl9] perl test.pl
> install_driver(mSQL) failed: Can't locate DBD/mSQL.pm in @INC at (eval 1) line 2.
> DBI::install_driver called at test.pl line 22
> Testing: DBI->install_driver( 'mSQL' ):
> 
> Perl 5.003 and the p5-DBI port are installed. I'm running a recent
> SNAP (and will be upgrading to -ALPHA or -current soon, especially if
> thats my problem).  Any ideas?

This looks to be a problem in how the module is installed.  It could also
be your umask during install.

Does the file

/usr/local/lib/perl5/site_perl/DBD/mSQL.pm 

exist and have world-readable permissions ?

--
j.

----------------------------------------------------------------------------
| James FitzGibbon                                         james@nexis.net |
| Integrator, The Nexis Group                     Voice/Fax : 416 410-0100 |
----------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961202003029.19205A-100000>