Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 13:28:28 -0300
From:      helio@compuland.com.br
To:        <freebsd-small@freebsd.org>
Subject:   libc issue
Message-ID:  <3B79277C.28167.7F27C9@localhost>

next in thread | raw e-mail | index | archive | help
Hi:
  
  I=B4m trying to build a picobsd floppy with an aplication that depends
on libmysqlclient ( I sent another message but without error messages).

If I use the shared library, libmysqlclient.so   the build is completed
but the INIT panics when the floppy boots. Seems to me that crypt somehow
conflicts.

If I use the static libmysqlclient.a , I got a conflict with LIBC (I suppo=
se):

/usr/lib/libc.a(getopt.o)(.data+0x0): multiple definition of `opterr'
/usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x8): first defined =
here
/usr/lib/libc.a(getopt.o)(.data+0x4): multiple definition of `optind'
/usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x4): first defined =
here
/usr/lib/libc.a(getopt.o): In function `getopt':
getopt.o(.text+0x0): multiple definition of `getopt'
/usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.text+0x84c): first define=
d here
/usr/libexec/elf/ld: Warning: size of symbol `getopt' changed from 31 to 4=
26 
in  getopt.o
/usr/local/lib/mysql/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x1cc): undefined reference to `floor'
password.o(.text+0x261): undefined reference to `floor'
/usr/local/lib/mysql/libmysqlclient.a(password.o): In function 
`check_scramble':
password.o(.text+0x3fe): undefined reference to `floor'
password.o(.text+0x490): undefined reference to `floor'
/usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function 
`my_uncompress
':
my_compress.o(.text+0x9d): undefined reference to `uncompress'
/usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function 
`my_compress_alloc':
my_compress.o(.text+0x130): undefined reference to `compress'
*** Error code 1

Is there any solution for that - maybe change something in the build proce=
ss
of the mysqlclientlibrary ?

Any tip would be greatly appreciated.

Thanks,
Helio.



-
CompuLand ISP Admin
GnuPG Public Key: http://www.compuland.com.br/helio/gpgpublic.txt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B79277C.28167.7F27C9>