niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » Apps » Postfix
Anyone managed to install policyd on x86_64 and mySQL 5.0x?
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
SupaDucta
*nix forums beginner


Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia

PostPosted: Tue Nov 21, 2006 1:19 am    Post subject: Reply with quote

Mihai,

I thank you again Wink
Back to top
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 72

PostPosted: Mon Nov 20, 2006 11:35 am    Post subject: Reply with quote

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

PostPosted: Fri Nov 17, 2006 11:57 am    Post subject: Reply with quote

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: 72

PostPosted: Fri Nov 17, 2006 8:43 am    Post subject: Reply with quote

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

PostPosted: Mon Nov 13, 2006 4:26 am    Post subject: Reply with quote

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
SupaDucta
*nix forums beginner


Joined: 05 Sep 2005
Posts: 9
Location: Zagreb, Croatia

PostPosted: Mon Nov 13, 2006 3:18 am    Post subject: Anyone managed to install policyd on x86_64 and mySQL 5.0x? Reply with quote

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
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Fri Sep 03, 2010 1:43 pm | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts New Postfix install problem edlentz Postfix 0 Wed Jul 22, 2009 1:45 pm
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am
No new posts Postfix + MySQL error: very strange variable %s iWarior Postfix 0 Mon Aug 25, 2008 2:01 pm
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:57 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Sponsors: Loans | Free Ecards | Fridge | Motorhome Insurance | Find jobs
Privacy Policy
[ Time: 0.1065s ][ Queries: 21 (0.0771s) ][ GZIP on - Debug on ]