thales-misc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Thales] error when doing make


From: Lucas Nussbaum
Subject: Re: [Thales] error when doing make
Date: Sun, 22 Aug 2004 23:54:51 +0200
User-agent: Mutt/1.5.6+20040722i

[ CCing the mailing list since it should hit the ML archives. Hiding the
password ;p ]
On Sun, Aug 22, 2004 at 05:37:20PM -0400, greg <address@hidden> wrote:
> > > > > b.o(.text+0x9f): In function `db_connect':
> > > > > /home/badass/thales-0.9.4/src/db.c:78: undefined reference to
> > > > > `mysql_num_rows'
> > > >
> > > > Which version of libmysqlclient are you using ? Which OS ?
> > >
> > > redhat9  version 10 i beleave
> >
> > please don't top post. It makes thread impossible to follow.
> > I had to fix your mail by hand.
> >
> > I don't know. If you can provide me with a shell account on the box, I
> > could test and try to find a solution. Mail me privately if it is the
> case.
> 
> ok  sure
> 
> badpenguin.net    login thales pass XXXXX

your system is broken. You have two versions of libmysqlclient in
/usr/lib. 
> ls -l /usr/lib/libmysqlclient*
lrwxrwxrwx    1 root     root           26 Aug 22 05:03 
/usr/lib/libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
-rwxr-xr-x    1 root     root       217936 Oct 15  2002 
/usr/lib/libmysqlclient_r.so.10.0.0
lrwxrwxrwx    1 root     root           23 Aug 21 16:23 
/usr/lib/libmysqlclient.so -> libmysqlclient.so.6.0.0
lrwxrwxrwx    1 root     root           24 Aug 22 05:03 
/usr/lib/libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
-rwxr-xr-x    1 root     root       214224 Oct 15  2002 
/usr/lib/libmysqlclient.so.10.0.0
lrwxrwxrwx    1 root     root           23 Aug 21 16:23 
/usr/lib/libmysqlclient.so.6 -> libmysqlclient.so.6.0.0
-rwxr-xr-x    1 root     root        93020 Aug 29  2000 
/usr/lib/libmysqlclient.so.6.0.0

The .6.0.0 one might be an old one left behind (regarding the date) You
should update the symlinks to this version.

You can compile thales by linking it by hand in the src/ dir with :
gcc  -g -O2 -I/usr/local/include/mysql -Wall  -o thales  main.o log.o
conf.o compat.o misc.o send.o sockutil.o messages.o process.o memory.o
db.o actions.o hashlist.o  /usr/lib/libmysqlclient.so.10.0.0 -lm -lz
-- 
| Lucas Nussbaum
| address@hidden    address@hidden    GPG: 1024D/023B3F4F |
| jabber: address@hidden   http://www.lucas-nussbaum.net |
| fingerprint: 075D 010B 80C3 AC68 BD4F B328 DA19 6237 023B 3F4F |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]