List:MySQL and Perl« Previous MessageNext Message »
From:C. Duncan Hudson Date:February 21 2001 2:31pm
Subject:Re: Trouble installing DBI/DBD under OSX
View as plain text  
> > /usr/bin/ld: table of contents for archive:
> > /usr/local/lib/mysql/libmysqlclient.
> > a is out of date; rerun ranlib(1) (can't load from it)
>
> I suggest you do exactly what this message says:
>
>   ranlib /usr/local/lib/mysql/libmysqlclient.a

Jochen,


I appreciate your help - I was unfamiliar with the ranlib command, and I did
not understand it when I read the man file for it.  I ran ranlib, as you
said, and then tried again to make  the module but now I get tons of
errors...

Mysql.xs:735: `dowarn' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_reloadacls':
Mysql.xs:751: `dowarn' undeclared (first use in this function)
Mysql.c: In function `XS_Mysql_connect':
Mysql.c:1116: `na' undeclared (first use in this function)
Mysql.xs:837: `dowarn' undeclared (first use in this function)
Mysql.xs:843: `sv_undef' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_selectdb':
Mysql.xs:866: `sv_undef' undeclared (first use in this function)
Mysql.xs:872: `dowarn' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_query':
Mysql.xs:904: `dowarn' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_listdbs':
Mysql.xs:945: `sv_undef' undeclared (first use in this function)
Mysql.xs:949: `dowarn' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_listtables':
Mysql.xs:970: `sv_undef' undeclared (first use in this function)
Mysql.xs:974: `dowarn' undeclared (first use in this function)
Mysql.xs: In function `XS_Mysql_listfields':
Mysql.xs:1005: `dowarn' undeclared (first use in this function)
make[1]: *** [Mysql.o] Error 1
make: *** [subdirs] Error 2

BTW, I'm running Perl 5.6.0:
[localhost:~] dunc% perl -v
This is perl, v5.6.0 built for darwin

Any more thoughts, on how to get the DBD modules running under OSX?  Thanks
in advance,


Duncan


Thread
Trouble installing DBI/DBD under OSXC. Duncan Hudson19 Feb
  • Re: Trouble installing DBI/DBD under OSXJochen Wiedmann19 Feb
  • Re: Trouble installing DBI/DBD under OSXC. Duncan Hudson21 Feb