List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:August 24 1999 12:13pm
Subject:Re: undefined symbols
View as plain text  
Mike Peel wrote:
> 
> It does give output ( i did a "strings" and a "nm" on it):
> 
> $ strings /usr/lib/libmysqlclient.a|grep mysql_list_dbs
> 
> mysql_list_dbs
> mysql_list_dbs
> mysql_list_dbs
> 
> $  nm /usr/lib/libmysqlclient.a|grep -y mysql_list_dbs
> [100]   |      6528|      75|FUNC |GLOB |0    |2      |mysql_list_dbs
> 
> Jochen Wiedmann wrote:
> 
> > Mike Peel wrote:
> >
> > > /mike/Msql-Mysql-modules-1.2016/blib/arch/auto/DBD/mysql/mysql.a
> > > /usr/local/lib/
> > > perl5/5.00503/i386-sco/CORE/libperl.a `cat
> > > blib/arch/auto/Msql-Mysql-modules/ext
> > > ralibs.all` -lintl -lsocket -lnsl -lndbm -ldbm -lld -lm -lc -lcrypt -lPW
> > > -lx
> > > undefined                       first referenced
> > >  symbol                             in file
> > > mysql_list_dbs

Then try to repeat the linker command by manually adding the path of
libmysqlclient.a to the end of the library list.


Bye,

Jochen


-- 
Jochen Wiedmann						joe@stripped
Life has brown and green eyes. :-)			+49 7123 14887


Thread
undefined symbolsMike Peel19 Aug
  • Re: undefined symbolsJochen Wiedmann22 Aug
  • Re: undefined symbolsMike Peel23 Aug
  • Re: undefined symbolsJochen Wiedmann24 Aug