[jadmin] configure error MySQL client libraries not found
Chris Katayanagi
chris at ctberk.com
Mon Apr 16 15:45:28 CDT 2007
I just used those exact options and I got the same errors as before.
I've also tried setting LDFLAGS with :
export LDFLAGS="-L/usr/lib/mysql" followed by default configure
I created those symlinks that are mentioned in the jabberd2 docs at
http://jabberd.jabberstudio.org/2/docs/app_mysql.html
>
>
> A.4.10. Create Symlinks for Shared Libraries
>
> Create symlinks for the MySQL shared libraries so that Jabberd 2 can
> locate them (as superuser):
>
> ln -s /usr/local/include/mysql/ /usr/include/mysql
> ln -s /usr/local/lib/mysql/ /usr/lib/mysql
>
mysql starts up fine; I can connect to it, use the jabberd2 database
and show the tables.
Bill Tabor wrote:
> I use the following options to ./configure
>
> ./configure --enable-debug --enable-anon --disable-db \
> --enable-idn=/usr/local/lib \
> --enable-ssl \
> --enable-mysql \
> --with-extra-library-path=/usr/lib/mysql
>
> builds fine or Fedora Core 4 this way
>
>
> Chris Katayanagi wrote:
>> I'm trying to install jabberd2.1.4 on RHEL4.1 box. I keep getting
>> the error after checking for mysql_init in lmysqlclient. i.e:
>> checking mysql.h usability... no checking
>> mysql.h presence... no checking for mysql.h...
>> no checking for mysql.h in
>> /usr/include/mysql... yes
>> checking for mysql_init in -lmysqlclient... no
>> mysql RPMS installed:
>> libdbi-dbd-mysql-0.6.5-10.RHEL4.1
>> mysql-server-4.1.20-2.RHEL4.1
>> mysqlclient10-3.23.58-4.RHEL4.1
>> mysql-4.1.20-2.RHEL4.1
>> mysql-devel-4.1.20-2.RHEL4.1
>> mysqlclient10-devel-3.23.58-4.RHEL4.1
>> mysql-bench-4.1.20-2.RHEL4.1 in /usr/lib/mysql
>> theres a symbolic link for
>> libmysqlclient.so->libmysqlclient.so.14.0.0. Isn't this the library
>> it wants? I assumed since mysql.h is eventually found in
>> /usr/include/mysql that it was ok. Is that a completely false
>> assumption??
>>
>> I've tried with a whole bunch of different options to configure (from
>> reading through the archives) and none seem to work. Thanks for the
>> help.
>>
>
>
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
--
Chris Katayanagi
Systems Administrator
Curtis & Tompkins, Ltd.
2323 5th Street
Berkeley, CA 94710
510 204-2238 direct
510 486-0900
More information about the JAdmin
mailing list