Re: configure error on Solaris 10
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | The Kannel Group |
| Message-ID | <[email protected]> |
David Chkhartishvili wrote:
>
> I've reverted to revision 1.140 (configure.in). autoconf reported similar
> error as in latest rev, but configure script found mysql libraries.
>
> compilation returned error:
>
> ld: warning: file /usr/local/mysql/lib/libmysqlclient_r.a(libmysql.o): wrong
> ELF class: ELFCLASS64
> Undefined first referenced
> symbol in file
> mysql_get_client_info libgw.a(shared.o)
> ld: fatal: Symbol referencing errors. No output written to utils/mtbatch
> collect2: ld returned 1 exit status
> gmake: *** [utils/mtbatch] Error 1
hm, did you compile mysql on your own on the box or installed a solaris package?
obviously the linkder (ld) is unable to include the reentrant mysqlclient lib
while in linking stage, and hence the reference to mysql_get_client_info() fails.
So it's obviusly something "wrong" with the libmysqllcient_r.a lib here. Don't know.
Ok, googling for the ld error brings up: the ld threads the libmysqlclient_r.a
as 32bit file, since you build Kannel in 32bit as it seems. But he finds 64bit
objects in there.
Please check your gcc version on how to make Kannel build in 64bit mode. (hint:
gcc -m64 ?) which would mean do a
$ ./configure --with-cflags="-m64"
Stipe
mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------