4 messages in com.mysql.lists.bugsMyODBC-2.50.36-1.src.rpm will not com...| From | Sent On | Attachments |
|---|---|---|
| Vidar Langseid | 14 Feb 2001 11:58 | |
| Michael Widenius | 15 Feb 2001 00:58 | |
| Vidar Langseid | 15 Feb 2001 02:19 | |
| Michael Widenius | 15 Feb 2001 05:41 |
| Subject: | MyODBC-2.50.36-1.src.rpm will not compile on rh7.0 without tweaking![]() |
|---|---|
| From: | Michael Widenius (mon...@mysql.com) |
| Date: | 02/15/2001 12:58:05 AM |
| List: | com.mysql.lists.bugs |
Hi!
The fix is to change in configure "mysql_reconnect" to "mysql_change_user".
Can you verify that this works for you?
Regards, Monty
Vidar> Hi
Vidar> I found a problem concerning compiling MyODBC on redhat 7.0. I hope this Vidar> is the correct place to send a bug-report
Vidar> I tried to compile MyODBC on rh70 (all erratas from rh installed, Vidar> including mysql 3.23.32-1.7)
Vidar> When applying this command Vidar> # rpm --rebuild MyODBC-2.50.36-1.src.rpm
Vidar> resulting in this errormessages: Vidar> checking for the mysql client libraries... Vidar> checking for mysql_real_query in -lmysqlclient... no Vidar> checking for mysql_real_connect in -lmysqlclient... no Vidar> checking for mysql_reconnect in -lmysqlclient... no Vidar> configure: error: Could not find libmysqlclient in Vidar> '/usr/local/mysql/lib/mysql' or '/usr/lib/mysql'. Try another location.
Vidar> On redhat the libmysqlclient is installed in /usr/lib/mysql: Vidar> # ls -all /usr/lib/mysql Vidar> total 1282 Vidar> drwxr-xr-x 2 root root 1024 Feb 14 12:46 . Vidar> drwxr-xr-x 45 root root 12288 Feb 14 12:46 .. Vidar> -rw-r--r-- 1 root root 10986 Jan 22 21:42 libdbug.a Vidar> -rw-r--r-- 1 root root 35042 Jan 22 21:42 libheap.a Vidar> -rw-r--r-- 1 root root 15028 Jan 22 21:42 libmerge.a Vidar> -rw-r--r-- 1 root root 228580 Jan 22 21:42 libmyisam.a Vidar> -rw-r--r-- 1 root root 23214 Jan 22 21:42 libmyisammrg.a Vidar> -rw-r--r-- 1 root root 292638 Jan 22 21:41 libmysqlclient.a Vidar> lrwxrwxrwx 1 root root 24 Feb 14 12:46 libmysqlclient.so -> libmysqlclient.so.10.0.0 Vidar> lrwxrwxrwx 1 root root 24 Feb 14 12:46 Vidar> libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 Vidar> -rwxr-xr-x 1 root root 242312 Jan 22 21:41 Vidar> libmysqlclient.so.10.0.0 Vidar> -rw-r--r-- 1 root root 147006 Jan 22 21:42 libmystrings.a Vidar> -rw-r--r-- 1 root root 186860 Jan 22 21:42 libmysys.a Vidar> -rw-r--r-- 1 root root 101432 Jan 22 21:42 libnisam.a
Vidar> I used this workaround in order to compile MyODBC: Vidar> # mkdir /usr/local/mysql Vidar> # mkdir /usr/local/mysql/lib Vidar> # ln -s /usr/lib/mysql /usr/local/mysql/lib/mysql
Vidar> After doing so, MyODBC compiled just fine.
Vidar> It Looks to me that the configurescript fails to search in /usr/lib/mysql Vidar> even though it claims to do so




