Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 3590 invoked from network); 2 May 2006 20:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2006 20:52:07 -0000 Received: (qmail 36473 invoked by uid 500); 2 May 2006 20:52:03 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 36430 invoked by uid 500); 2 May 2006 20:52:03 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 36419 invoked by uid 99); 2 May 2006 20:52:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 13:52:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 13:52:02 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Fb1qP-00044X-Kz for dev@apr.apache.org; Tue, 02 May 2006 13:51:41 -0700 Message-ID: <4199439.post@talk.nabble.com> Date: Tue, 2 May 2006 13:51:41 -0700 (PDT) From: koszi To: dev@apr.apache.org Subject: Re: apr_dbd_mysql.c In-Reply-To: <4172297.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: koszi@mail.tvnet.hu X-Nabble-From: koszi References: <001101c65ffb$0aead530$6500a8c0@escoffice.com> <7edfeeef0604171137w375fc189i665c0d77f4cd07e0@mail.gmail.com> <4172297.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry to bother you again with this. I checked configure script output for apr-util in the file config.log: ... configure:33398: checking for mysql_init in -lmysqlclient_r configure:33428: gcc -o conftest -g -O2 -pthread -I/usr/local/include/mysql/include conftest.c -lmysqlclient_r -L/usr/local/include/mysql/lib >&5 /usr/bin/ld: cannot find -lmysqlclient_r collect2: ld returned 1 exit status configure:33434: $? = 1 ... please note the difference: 1)gcc -o conftest -g -O2 -pthread -I/usr/local/include/mysql/include conftest.c -lmysqlclient_r -L/usr/local/include/mysql/lib *********this is the generated original, won't work 2) gcc -o config -g -O2 -pthread -I/usr/local/include/mysql/include -lmysqlclient -L/usr/local/lib/mysql config.c ************** changed order of params, and used -lmysqlclient instead of -lmysqlclient_r, this one DOES work. Any ideas, comments please? Or anyone point me to other threads/forums would be very helpfull. Thanks for the attn, BR Peter. -- View this message in context: http://www.nabble.com/apr_dbd_mysql.c-t1451411.html#a4199439 Sent from the APR Dev (Apache Portable Runtime) forum at Nabble.com.