PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mysqlclient Problem



Reveller
25.06.05, 16:59
Hallo zusammen.

Ich versuche den aktuellen Courier-Authlib-0.56 auf einer SuSE 9.2 zu installieren.
Auf der Maschine sind bereits ein mysql server, postfix, apache, etc. erfolgreich eingerichtet. Der postfix nutzt auch schon eine MySQL Datenbank für die Userdaten, nun möchte ich auch den courier dazu bringen diese DB zu nutzen.
Doch beim ./configure der authlib kommt folgende Meldung:

checking for mysql_config... /usr/bin/mysql_config
checking for mysql_connect... no
checking for mysql_real_connect... no

Auf einem anderen System mit der gleichen Software läuft das configure absolut fehlerfrei. Sämtliche Verzeichnisse der mysql libs und includes stimmen überein.

Hat jemand eine Idee was ich noch prüfen könnte?

Vielen Dank.

quinte17
26.06.05, 17:24
hast du die mysql selbst compiled`?? wenn nein, dann schau mal ob du das paket mysql-devel oder so installiert hast... (kann sein dass er die header nicht findet...)

greetz

Reveller
26.06.05, 17:54
Hi.

Nein ich habe alle packages über SuSE's Yast eingespielt. Auch eine Akualisieren bzw. Neuinstallieren hat nichts gebracht.

Anbei hab eich mal die beiden config.logs mitgeschickt. Das "graf-spee" Log ist auf der maschine erstellt worden auf der alles wunderbar funktioniert. Auf der "nemesis" hat wohl der mysql-real-connect nicht geklappt. Hier steht auch etas vom gcc bzw. dem parameter -lz.
Kann damit jemand was anfangen?


Danke.

quinte17
26.06.05, 18:14
schau mal was diese ausgabe bringt:
ls -l /usr/include/mysql

greetz

Reveller
26.06.05, 18:54
Hi.

Hier die Ausgabe:


nemesis:/usr/include/mysql # l
total 291
drwxr-xr-x 2 root root 928 Jun 25 16:25 ./
drwxr-xr-x 40 root root 6408 Jun 17 17:59 ../
-rw-r--r-- 1 root root 3864 Oct 28 2004 chardefs.h
-rw-r--r-- 1 root root 2296 Oct 28 2004 errmsg.h
-rw-r--r-- 1 root root 9273 Oct 28 2004 history.h
-rw-r--r-- 1 root root 3449 Oct 28 2004 keymaps.h
-rw-r--r-- 1 root root 6140 Oct 28 2004 m_ctype.h
-rw-r--r-- 1 root root 7846 Oct 28 2004 m_string.h
-rw-r--r-- 1 root root 1858 Oct 28 2004 my_alloc.h
-rw-r--r-- 1 root root 23779 Oct 28 2004 my_config.h
-rw-r--r-- 1 root root 3369 Oct 28 2004 my_dbug.h
-rw-r--r-- 1 root root 3509 Oct 28 2004 my_dir.h
-rw-r--r-- 1 root root 2804 Oct 28 2004 my_getopt.h
-rw-r--r-- 1 root root 35427 Oct 28 2004 my_global.h
-rw-r--r-- 1 root root 1503 Oct 28 2004 my_list.h
-rw-r--r-- 1 root root 3588 Oct 28 2004 my_net.h
-rw-r--r-- 1 root root 1129 Oct 28 2004 my_no_pthread.h
-rw-r--r-- 1 root root 24434 Oct 28 2004 my_pthread.h
-rw-r--r-- 1 root root 1784 Oct 28 2004 my_semaphore.h
-rw-r--r-- 1 root root 31756 Oct 28 2004 my_sys.h
-rw-r--r-- 1 root root 15737 Oct 28 2004 mysql.h
-rw-r--r-- 1 root root 9060 Oct 28 2004 mysql_com.h
-rw-r--r-- 1 root root 1089 Oct 28 2004 mysql_embed.h
-rw-r--r-- 1 root root 873 Oct 28 2004 mysql_version.h
-rw-r--r-- 1 root root 9006 Oct 28 2004 mysqld_error.h
-rw-r--r-- 1 root root 5828 Oct 28 2004 raid.h
-rw-r--r-- 1 root root 24199 Oct 28 2004 readline.h
-rw-r--r-- 1 root root 1055 Oct 28 2004 sslopt-case.h
-rw-r--r-- 1 root root 1877 Oct 28 2004 sslopt-longopts.h
-rw-r--r-- 1 root root 970 Oct 28 2004 sslopt-vars.h
-rw-r--r-- 1 root root 2736 Oct 28 2004 tilde.h
nemesis:/usr/include/mysql #

Auf dem funktionierendem System ist es analog hierzu.

Reveller
27.06.05, 09:46
So ich habe das Problem selbst gelöst bekommen.

Für alle die es interessiert:
Es hat das devel package vom zlib gefehlt.