| Author |
Message |
SupaDucta *nix forums beginner
Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia
|
Posted: Mon Nov 13, 2006 3:18 am Post subject:
Anyone managed to install policyd on x86_64 and mySQL 5.0x?
|
|
|
Hi guys,
when trying to build a policyd RPM (or install from source) on x86_64, mySQL 5.0x:
---------------------------------------------------------------------------------------
[*] Linking policyd*
/usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x3f81): In function `fetch_float_with_conversion':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(libmysql.o)(.text+0x404b): In function `fetch_float_with_conversion':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x24d): In function `scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x275): In function `scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x32b): In function `check_scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x38f): more undefined references to `floor' follow
collect2: ld returned 1 exit status
make: *** [policyd] Error 1
---------------------------------------------------------------------------------------
which would be this part in policyd Makefile:
| Code: | @$(CC) $(CFLAGS) $(CPPFLAGS) \
syslog.o policyd.o generic.o mysql.o greylist.o throttle.o sockets.o cidr.o spamtrap.o blacklist.o blacklist_helo.o \
whitelist.o throttle_host.o throttle_sasl.o throttle_from.o throttle_rcpt.o helo.o \
$(LDLIBS) -o policyd |
Breaks on linking, whereas passes flawlessly on i386.
Has anyone been able to compile/rpmbuild policyd on x86_64 with mySQL 5.0x?
OS CentOS 4.4 64 |
|
| Back to top |
|
 |
SupaDucta *nix forums beginner
Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia
|
Posted: Mon Nov 13, 2006 4:26 am Post subject:
|
|
|
Same with 4.1:
[*] Linking policyd*
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x219): In function `scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x25a): In function `scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x2fc): In function `check_scramble_323':
: undefined reference to `floor'
/usr/lib64/mysql/libmysqlclient.a(password.o)(.text+0x347): In function `check_scramble_323':
: undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [policyd] Error 1 |
|
| Back to top |
|
 |
mihai *nix forums addict
Joined: 27 Jan 2005
Posts: 71
|
Posted: Fri Nov 17, 2006 8:43 am Post subject:
|
|
|
|
It compiled without any problems on gentoo x86_64 with mysql 5.0.26 |
|
| Back to top |
|
 |
SupaDucta *nix forums beginner
Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia
|
Posted: Fri Nov 17, 2006 11:57 am Post subject:
|
|
|
Mihai,
thanks for your reply, that is a valuable input.
Would you mind posting the output of ldd /usr/local/policyd/policyd ? |
|
| Back to top |
|
 |
mihai *nix forums addict
Joined: 27 Jan 2005
Posts: 71
|
Posted: Mon Nov 20, 2006 11:35 am Post subject:
|
|
|
| SupaDucta wrote: | Mihai,
thanks for your reply, that is a valuable input.
Would you mind posting the output of ldd /usr/local/policyd/policyd ? |
ldd policyd
libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00002b2fc8c81000)
libz.so.1 => /lib/libz.so.1 (0x00002b2fc8ef0000)
libc.so.6 => /lib/libc.so.6 (0x00002b2fc9004000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002b2fc9242000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00002b2fc9376000)
libm.so.6 => /lib/libm.so.6 (0x00002b2fc948c000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002b2fc95e2000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002b2fc9728000)
/lib64/ld-linux-x86-64.so.2 (0x00002b2fc8b65000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b2fc9999000) |
|
| Back to top |
|
 |
SupaDucta *nix forums beginner
Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia
|
Posted: Tue Nov 21, 2006 1:19 am Post subject:
|
|
|
Mihai,
I thank you again  |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|