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: | Vidar Langseid (vl...@ez.no) |
| Date: | 02/14/2001 11:58:00 AM |
| List: | com.mysql.lists.bugs |
Posted in "myodbc" by vl...@ez.no Redirected by John Calder
----------------------------------------------------------------------------- Hi
I found a problem concerning compiling MyODBC on redhat 7.0. I hope this is the correct place to send a bug-report
I tried to compile MyODBC on rh70 (all erratas from rh installed, including mysql 3.23.32-1.7)
When applying this command # rpm --rebuild MyODBC-2.50.36-1.src.rpm
resulting in this errormessages: checking for the mysql client libraries... checking for mysql_real_query in -lmysqlclient... no checking for mysql_real_connect in -lmysqlclient... no checking for mysql_reconnect in -lmysqlclient... no configure: error: Could not find libmysqlclient in '/usr/local/mysql/lib/mysql' or '/usr/lib/mysql'. Try another location.
On redhat the libmysqlclient is installed in /usr/lib/mysql: # ls -all /usr/lib/mysql total 1282 drwxr-xr-x 2 root root 1024 Feb 14 12:46 . drwxr-xr-x 45 root root 12288 Feb 14 12:46 .. -rw-r--r-- 1 root root 10986 Jan 22 21:42 libdbug.a -rw-r--r-- 1 root root 35042 Jan 22 21:42 libheap.a -rw-r--r-- 1 root root 15028 Jan 22 21:42 libmerge.a -rw-r--r-- 1 root root 228580 Jan 22 21:42 libmyisam.a -rw-r--r-- 1 root root 23214 Jan 22 21:42 libmyisammrg.a -rw-r--r-- 1 root root 292638 Jan 22 21:41 libmysqlclient.a lrwxrwxrwx 1 root root 24 Feb 14 12:46 libmysqlclient.so -> libmysqlclient.so.10.0.0 lrwxrwxrwx 1 root root 24 Feb 14 12:46 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 -rwxr-xr-x 1 root root 242312 Jan 22 21:41 libmysqlclient.so.10.0.0 -rw-r--r-- 1 root root 147006 Jan 22 21:42 libmystrings.a -rw-r--r-- 1 root root 186860 Jan 22 21:42 libmysys.a -rw-r--r-- 1 root root 101432 Jan 22 21:42 libnisam.a
I used this workaround in order to compile MyODBC: # mkdir /usr/local/mysql # mkdir /usr/local/mysql/lib # ln -s /usr/lib/mysql /usr/local/mysql/lib/mysql
After doing so, MyODBC compiled just fine.
It Looks to me that the configurescript fails to search in /usr/lib/mysql even though it claims to do so
regards Vidar Langseid




