LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-23-2004, 10:02 AM   #1
cb9fl
Member
 
Registered: Oct 2003
Posts: 64

Rep: Reputation: 15
postfix + mysql


I installed MySQL, SASL and Berkeley DB.

MySQL installed with the following option :
./configure --prefix=/usr/local/mysql

Now when I try to install postfix using :

$make makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \
-I/usr/local/include/sasl -I/usr/local/bdb/include' \
'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient \
-lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'

#make install


I get :
bin/postconf: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

However the file libmysqlclient.so.12 does exist. make install finishes and allows configuration I just need to know if this error will be a problem and if so how to fix it.

Thanks.
 
Old 09-01-2004, 12:19 AM   #2
gaslq
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Postfix+Courier+MySQL - Compile Problem

Hi cb9fl!

Did you ever get this issue resolved? I'm having a similar problem when I try to 'compile in' mysql-support into Postfix 2.1.4.

The Postfix docs clearly show the steps:

1. goes through without fail!
make makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \
-I/usr/local/include/sasl -I/usr/local/bdb/include' 'AUXLIBS=-L/usr/local/mysql/lib/mysql \
-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'

2.
make
... and several lines later

gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -c error.c
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/mysql/lib -lmysqlclient -lz -lm -L/usr/lib -lpcre -ldb -lnsl -lresolv
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)(.text+0xe60): In function `read_rows':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)(.text+0x3044): In function `mysql_real_connect.':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(my_malloc.o)(.text+0x31): In function `my_memdup':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(my_malloc.o)(.text+0x100): In function `my_strdup':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(my_malloc.o)(.text+0x132): In function `my_strdup_with_length':
: undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(my_alloc.o)(.text+0x327): more undefined references to `_intel_fast_memcpy' follow
collect2: ld returned 1 exit status
make: *** [error] Error 1
make: *** [update] Error 1

What am I missing? I've read the Postfix+Courier+MySQL docs in-and-out!


Thanks!

gaslq
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix, mysql and mail routing demian Linux - Networking 0 09-09-2004 09:37 AM
postfix + mysql compilation santiagofs Fedora 2 05-03-2004 12:07 PM
postfix / mysql configuration theetderks Linux - Networking 4 02-09-2004 12:21 PM
postfix / mysql errors theetderks Linux - Newbie 1 02-04-2004 02:22 PM
Compiling Postfix/MySQL hypernetics Linux - Software 0 12-15-2003 01:43 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration