bueno con respecto a los que decias del mysql - server y client<br>estan instalados y funcionando perfectamente ,soy Administrador de un par de bases<br><pre>mysql-common mysql-server-5.0 mysql-client-5.0 <br><br>lo de find 
<br>ya lo habia probado pero solo me tira libmysqlclient.so<br><br>????????:/# find -name *mysqlclient*<br>.<span style="background-color: rgb(255, 102, 102);">/usr/lib/libmysqlclient.so.15.0.0</span><br style="background-color: rgb(255, 102, 102);">
<span style="background-color: rgb(255, 102, 102);">./usr/lib/libmysqlclient_r.so.15</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">./usr/lib/libmysqlclient_r.so.15.0.0
</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">./usr/lib/libmysqlclient.so.15</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">
./usr/share/doc/libmysqlclient15off</span><br>./root/Desktop/mysql++-2.2.3/libmysqlclient.def<br>./var/lib/dpkg/info/libmysqlclient15off.list<br>./var/lib/dpkg/info/libmysqlclient15off.postrm<br>./var/lib/dpkg/info/libmysqlclient15off.postinst
<br>./var/lib/dpkg/info/libmysqlclient15off.md5sums<br>./var/lib/dpkg/info/libmysqlclient15off.shlibs<br><br>con lo que estaba marcado hice que cuando se configure  mysql ++ valla a buscar alli las lib <br><br>MusiHack:~/Desktop/mysql++-
2.2.3# ./configure --with-mysql=/usr/lib checking build system type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linux-gnu<br>checking target system type... i686-pc-linux-gnu<br>checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<br>checking for suffix of object files... o
<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for ranlib... ranlib<br>checking for a BSD-compatible install... /usr/bin/install -c
<br>checking whether ln -s works... yes<br>checking whether make sets $(MAKE)... yes<br>checking for ar... ar<br>checking for strip... strip<br>checking for nm... nm<br>checking if make is GNU make... yes<br>checking for dependency tracking method... gcc
<br>checking for gcc... (cached) gcc<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ANSI C... (cached) none needed
<br>checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h..
. yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking zlib.h usability... no
<br>checking zlib.h presence... no<br>checking for zlib.h... no<br>checking whether -lm is needed to use C math functions... no<br>checking whether -lsocket is needed... no<br>checking whether -lnsl is needed... no<br>c<span style="background-color: rgb(255, 0, 0);">
hecking for MySQL library directory... configure: error: Didn't find mysqlclient library in '/usr/lib/lib/mysql /usr/lib/lib'</span><br><br><br>tambien probe asi <br><br>usiHack:~/Desktop/mysql++-2.2.3# ./configure --with-mysql=/usr
<br>checking build system type... i686-pc-linux-gnu<br>checking host system type... i686-pc-linux-gnu<br>checking target system type... i686-pc-linux-gnu<br>checking for gcc... gcc<br>checking for C compiler default output file name... 
a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes
<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for ranlib... ranlib<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether ln -s works... yes
<br>checking whether make sets $(MAKE)... yes<br>checking for ar... ar<br>checking for strip... strip<br>checking for nm... nm<br>checking if make is GNU make... yes<br>checking for dependency tracking method... gcc<br>checking for gcc... (cached) gcc
<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ANSI C... (cached) none needed<br>checking how to run the C preprocessor... gcc -E
<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for 
memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking zlib.h usability... no<br>checking zlib.h presence... no<br>checking for 
zlib.h... no<br>checking whether -lm is needed to use C math functions... no<br>checking whether -lsocket is needed... no<br>checking whether -lnsl is needed... no<br>checking for MySQL library directory... configure: error: Didn't find mysqlclient library in '/usr/lib/mysql /usr/lib'
<br><br>y nada, realmente me parece raro que para hacer una simple conexion de c o cc++ a mysql se complique asi :\<br><br>lo que realmente quiero es que cuando hago un program en c y llamo a las libreria las encuentre <br>
y mirando donde busca gcc las librerias es en <br>/usr/include/c++/4.1.2<br><br>obviamente no estan en esta carpeta las marcadas en rojo<br><br><span style="background-color: rgb(255, 0, 0);">#include "util.h"</span>
<br style="background-color: rgb(255, 0, 0);"><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">#include <mysql++.h></span><br><br>#include <iostream><br>#include <iomanip>
<br><br>using namespace std;<br><br>int<br>main(int argc, char *argv[])<br>{<br>    // Connect to the sample database.<br>    mysqlpp::Connection con(false);<br>    if (!connect_to_db(argc, argv, con)) {<br>        return 1;
<br>    }<br><br>    // Retrieve a subset of the sample stock table set up by resetdb<br>    mysqlpp::Query query = con.query();<br>    query << "select item from stock";<br>    mysqlpp::Result res = query.store
();<br><br>    // Display the result set<br>    cout << "We have:" << endl;<br>    if (res) {<br>        mysqlpp::Row row;<br>        mysqlpp::Row::size_type i;<br>        for (i = 0; row = res.at(i); ++i) {
<br>            cout << '\t' << row.at(0) << endl;<br>        }<br>    }<br>    else {<br>        cerr << "Failed to get item list: " << query.error() << endl;<br>        return 1;
<br>    }<br><br>    return 0;<br>}<br><br>este es el error al compilar<br><br>MusiHack:~# c++ conexion.cpp o conexion<br>c++: o: No existe el fichero o el directorio<br>c++: conexion: No existe el fichero o el directorio
<br>conexion.cpp:1:18: error: <span style="background-color: rgb(255, 0, 0);">util.h: </span>No existe el fichero o el directorio<br>conexion.cpp:3:21: error: <span style="background-color: rgb(255, 0, 0);">mysql++.h:</span>
 No existe el fichero o el directorio<br>conexion.cpp: In function 'int main(int, char**)':<br>conexion.cpp:14: error: 'mysqlpp' has not been declared<br>conexion.cpp:14: error: expected `;' before 'con'<br>conexion.cpp
:15: error: 'con' was not declared in this scope<br>conexion.cpp:15: error: 'connect_to_db' was not declared in this scope<br>conexion.cpp:20: error: 'mysqlpp' has not been declared<br>conexion.cpp:20: error: expected `;' before 'query'
<br>conexion.cpp:21: error: 'query' was not declared in this scope<br>conexion.cpp:22: error: 'mysqlpp' has not been declared<br>conexion.cpp:22: error: expected `;' before 'res'<br>conexion.cpp:26: error: 'res' was not declared in this scope
<br>conexion.cpp:27: error: 'mysqlpp' has not been declared<br>conexion.cpp:27: error: expected `;' before 'row'<br>conexion.cpp:28: error: 'mysqlpp' has not been declared<br>conexion.cpp:28: error: expected `;' before 'i'
<br>conexion.cpp:29: error: 'i' was not declared in this scope<br>conexion.cpp:29: error: 'row' was not declared in this scope<br><br><br><br>por ende todas las funciones declaradaa en las cabeceras dan error<br><br>y pensaba en pegar las .h ahi en la carpeta pero es un arbol inmenso asique que hago 
<br><br>¿ sigo probando instalr mysqll++<br>¿ estoy llendo bien<br><br>vale aclarar que ningun tuto de internet me soluciono el drama (sigo buscando...)<br><br>gracias desde ya<br>sebastian<br><br> <br><br></pre><br><br><div>
<span class="gmail_quote">El día 14/05/07, 
<b class="gmail_sendername">Dario Sbastian Sasturain</b> <<a href="mailto:sastuds@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sastuds@gmail.com</a>> escribió:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

1000 gracias poir la respuesta a la brevedad lo pruebo y te cuento amigo =)<br><br><div><span class="gmail_quote">El día 10/05/07, <b class="gmail_sendername">Javier Sánchez</b> <<a href="mailto:antydesk@ad-inet.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

antydesk@ad-inet.org
</a>> escribió:</span><div><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Puedes buscar a ver si te encuentra este fichero... mmm mysqlclient.*
<br><br>slocate -u<br>slocate mysqlclient.*<br><br>o<br><br>find / -name mysqlclient.*<br><br>puedes tambien mirar en el repositorio de debian porque puede que te falte<br>la libreria.... no basta con el servidor de bases de datos y con el
<br>cliente depende.... que yo recuerde en debian se instalaba:<br><br> apt-get install mysql-server<br><br> apt-get install mysql-client<br><br>y supongo que luego tambien tendras losde las librerias y tal...<br><br> apt-cache search mysql | less
<br><br>mira esas cosas y si no ya nos ponemos a ver lo que pasa realmente...<br>saludos tio ;)<br><br><br><br>Dario Sbastian Sasturain escribió:<br>> ---------- Forwarded message ----------<br>> From: Dario Sbastian Sasturain <
<a href="mailto:sastuds@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sastuds@gmail.com</a>><br>> Date: 06-may-2007 13:34<br>> Subject: ayuda con conexion mysql<br>> To: <a href="mailto:c-con-clase@smartgroups.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

c-con-clase@smartgroups.com</a>
<br>><br>> buenas gente de la lista hace rato estoy inscripto esperando el momento<br>> para<br>> empesar ,<br>> mi proble es el siguiente quiero hacer algo tan facil como una conecion<br>> desde codigo c++ a mysql que esta perfectamente  instalado , creo seria
<br>> bueno aclarar que uno Linux Debian 4.0 y que el directorio de mysql 5.0 es<br>> el siguiente<br>> MusiHack:/# whereis mysql<br>> mysql: /usr/bin/mysql /etc/mysql /usr/X11R6/bin/mysql /usr/bin/X11/mysql<br>


> /usr/share/mysql /usr/share/man/man1/mysql.1.gz<br>> estos son los directorios de instalacion<br>> uso gcc<br>> MusiHack:/# whereis gcc<br>> gcc: /usr/bin/gcc /usr/lib/gcc /usr/X11R6/bin/gcc /usr/bin/X11/gcc
<br>> esos son sus directorios<br>><br>> la cuestios es que despues de andar con el dr, google entiendo que tengo<br>> que<br>> tener la libreria mysql++ (si no es asi por favor corrijanme)<br>> bajo mysql++2.2.3 cuando le doy ./configure me sale lo siguiente
<br>><br>> checking for MySQL library directory... configure: error: Didn't find<br>> mysqlclient library in '/usr/lib64 /usr/lib /usr/lib64/mysql<br>> /usr/lib/mysql<br>> /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib
<br>> /usr/local/mysql/lib/mysql /opt/mysql/lib /opt/mysql/lib/mysql'<br>><br>> tambien he probado definiendo el directorio de mysql<br>><br>> --with-mysql=/usr/local/mysql<br>><br>> pero sigue sin encontrar segun el error el mysqlclient
<br>><br>> alguien podria darme una mano , talver un apt-get que me deje el gcc a<br>> tiro<br>> para empesar<br>> _______________________________________________<br>> Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


Cconclase@listas.conclase.net</a><br>> <a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net
</a><br>> Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a><br><br><br>Un saludo, Javier Sánchez (AntyDesk)<br>------------------------------------<br>Web: <a href="http://www.ad-inet.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.ad-inet.org</a><br>Email personal: 
<a href="mailto:antydesk@ad-inet.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">antydesk@ad-inet.org</a><br>Email trabajo: <a href="mailto:info@ad-inet.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

info@ad-inet.org</a><br>------------------------------------<br>"Realmente, no estoy tratando de destruir a Microsoft. Ese será tan solo
<br>un efecto colateral no intencionado."<br>Linus Torvalds (2003)<br><br>Hay 10 tipos de personas en este mundo, las que saben de binario y las que<br>no.<br><br>En que grupo estas tu?<br><br>------------------------------------
<br>Linux Users nº 445830.<br><br><br><br><br>_______________________________________________<br>Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

Cconclase@listas.conclase.net</a><br><a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a><br>Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a><br></blockquote>
</span></div></div><br>
</blockquote></div><br>