From owner-freebsd-database Sat Mar 16 2:10:47 2002 Delivered-To: freebsd-database@freebsd.org Received: from pumba.nur.ac.rw (pumba.nur.ac.rw [216.147.148.9]) by hub.freebsd.org (Postfix) with ESMTP id 2751637B41B for ; Sat, 16 Mar 2002 02:09:54 -0800 (PST) Received: from [216.147.148.12] (account ) by pumba.nur.ac.rw (CommuniGate Pro WebUser 3.4.2) with HTTP id 2906674 for ; Sat, 16 Mar 2002 10:09:37 +0000 From: "mike ndabarasa" Subject: Re: Error: shared library "mysqlclient.10" does not exist To: freebsd-database@FreeBSD.ORG X-Mailer: CommuniGate Pro Web Mailer v.3.4.2 Date: Sat, 16 Mar 2002 10:09:37 +0000 Message-ID: In-Reply-To: <000601c1cc4b$4b22cd30$d201a8c0@screamer> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ted, i edited the file /etc/ld.so.conf and added the line /usr/local/lib/mysql but i still have the same results. scott, if i say "ldconfig -r" i don't get anything that looks like: 311:-lmysqlclient.6 => /usr/local/lib/mysql/libmysqlclient.so.6 312:-lmysqlclient.10 => /usr/local/lib/mysql/libmysqlclient.so.10 but i still find a directory : /usr/local/lib/mysql with files like : libmysqlclient.a,libmysqlclient.so and libmysqlclient.so.10 i tried bash-2.03# ldconfig -m /usr/local/lib/mysql ldconfig: /usr/local/lib/mysql: ignoring group-writable directory i rebooted but :'-( Tom, what umask would you suggest? isn't it maybe because it is looking for mysqlclient.10 (shared library "mysqlclient.10" does not exist) while in the actual lib directory(/usr/local/lib/mysql) there is instead libmysqlclient.so.10 ? i am still stuck and can't go forward :( thanx in advance for your help! On Fri, 15 Mar 2002 10:00:29 -0800 "T.D. Brace" wrote: > Add the location where your mysqlclient libraries are > installed to your /etc/ld.so.conf, and run ldconfig. > > ----- Original Message ----- > From: "mike ndabarasa" > To: > Sent: Friday, March 15, 2002 9:50 AM > Subject: Error: shared library "mysqlclient.10" does not > exist > > > > > > > > remember me ? > > last time i was asking for MySQL clues and now i am > trying > > to get stared by installing the thing first. > > here is a error i don't know how to get rid of: > > > > Error: shared library "mysqlclient.10" does not exist > > > > i am sending the output ! > > > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > > > bash-2.03# make install > > ===> Installing for mysql-server-3.23.46 > > ===> Warning: your umask is "0002". > > If this is not desired, set it to an appropriate > value > > and install this port again by ``make > reinstall''. > > ===> mysql-server-3.23.46 depends on executable: > mysql - > > not found > > ===> Verifying install for mysql in > > /usr/ports/databases/mysql323-client > > ===> Installing for mysql-client-3.23.46 > > ===> Warning: your umask is "0002". > > If this is not desired, set it to an appropriate > value > > and install this port again by ``make > reinstall''. > > Making install in include > > /bin/sh ../mkinstalldirs /usr/local/include/mysql > > mkdir /usr/local/include/mysql > > install -c -o root -g wheel -m 444 dbug.h > > /usr/local/include/mysql/dbug.h > > install -c -o root -g wheel -m 444 m_string.h > > /usr/local/include/mysql/m_string.h > > install -c -o root -g wheel -m 444 my_sys.h > > /usr/local/include/mysql/my_sys.h > > install -c -o root -g wheel -m 444 mysql.h > > /usr/local/include/mysql/mysql.h > > install -c -o root -g wheel -m 444 mysql_com.h > > /usr/local/include/mysql/mysql_com.h > > install -c -o root -g wheel -m 444 mysqld_error.h > > /usr/local/include/mysql/mysqld_error.h > > install -c -o root -g wheel -m 444 my_list.h > > /usr/local/include/mysql/my_list.h > > install -c -o root -g wheel -m 444 my_pthread.h > > /usr/local/include/mysql/my_pthread.h > > install -c -o root -g wheel -m 444 my_no_pthread.h > > /usr/local/include/mysql/my_no_pthread.h > > install -c -o root -g wheel -m 444 raid.h > > /usr/local/include/mysql/raid.h > > install -c -o root -g wheel -m 444 errmsg.h > > /usr/local/include/mysql/errmsg.h > > install -c -o root -g wheel -m 444 my_global.h > > /usr/local/include/mysql/my_global.h > > install -c -o root -g wheel -m 444 my_net.h > > /usr/local/include/mysql/my_net.h > > install -c -o root -g wheel -m 444 sslopt-case.h > > /usr/local/include/mysql/sslopt-case.h > > install -c -o root -g wheel -m 444 sslopt-longopts.h > > /usr/local/include/mysql/sslopt-longopts.h > > install -c -o root -g wheel -m 444 sslopt-usage.h > > /usr/local/include/mysql/sslopt-usage.h > > install -c -o root -g wheel -m 444 sslopt-vars.h > > /usr/local/include/mysql/sslopt-vars.h > > install -c -o root -g wheel -m 444 mysql_version.h > > /usr/local/include/mysql/mysql_version.h > > install -c -o root -g wheel -m 444 m_ctype.h > > /usr/local/include/mysql/m_ctype.h > > install -c -o root -g wheel -m 444 my_config.h > > /usr/local/include/mysql/my_config.h > > Making install in libmysql > > /bin/sh ../mkinstalldirs /usr/local/lib/mysql > > mkdir /usr/local/lib/mysql > > /bin/sh ../libtool --mode=install /usr/bin/install -c > -o > > root -g wheel libmysqlclient.la > > /usr/local/lib/mysql/libmysqlclient.la > > /usr/bin/install -c -o root -g wheel > > .libs/libmysqlclient.so.10 > /usr/local/lib/mysql/libmysqlclient.so.10 > > (cd /usr/local/lib/mysql && rm -f libmysqlclient.so && > ln -s > > libmysqlclient.so.10 libmysqlclient.so) > > /usr/bin/install -c -o root -g wheel > .libs/libmysqlclient.a > > /usr/local/lib/mysql/libmysqlclient.a > > ranlib /usr/local/lib/mysql/libmysqlclient.a > > chmod 644 /usr/local/lib/mysql/libmysqlclient.a > > /usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m > > /usr/local/lib/mysql > > ldconfig: /usr/local/lib/mysql: ignoring group-writable > > directory > > ---------------------------------------------------------------------- > > Libraries have been installed in: > > /usr/local/lib/mysql > > > > If you ever happen to want to link against installed > > libraries > > in a given directory, LIBDIR, you must either use > libtool, > > and > > specify the full pathname of the library, or use > `-LLIBDIR' > > flag during linking and do at least one of the > following: > > - add LIBDIR to the `LD_LIBRARY_PATH' environment > > variable > > during execution > > - add LIBDIR to the `LD_RUN_PATH' environment > variable > > during linking > > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > > > > See any operating system documentation about shared > > libraries for > > more information, such as the ld(1) and ld.so(8) manual > > pages. > > ---------------------------------------------------------------------- > > Making install in client > > /bin/sh ../mkinstalldirs /usr/local/bin > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysql /usr/local/bin/mysql > > install -c -o root -g wheel -m 555 -s .libs/mysql > > /usr/local/bin/mysql > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqladmin /usr/local/bin/mysqladmin > > install -c -o root -g wheel -m 555 -s .libs/mysqladmin > > /usr/local/bin/mysqladmin > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqlcheck /usr/local/bin/mysqlcheck > > install -c -o root -g wheel -m 555 -s .libs/mysqlcheck > > /usr/local/bin/mysqlcheck > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqlshow /usr/local/bin/mysqlshow > > install -c -o root -g wheel -m 555 -s .libs/mysqlshow > > /usr/local/bin/mysqlshow > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqldump /usr/local/bin/mysqldump > > install -c -o root -g wheel -m 555 -s .libs/mysqldump > > /usr/local/bin/mysqldump > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqlimport /usr/local/bin/mysqlimport > > install -c -o root -g wheel -m 555 -s .libs/mysqlimport > > /usr/local/bin/mysqlimport > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqltest /usr/local/bin/mysqltest > > install -c -o root -g wheel -m 555 -s .libs/mysqltest > > /usr/local/bin/mysqltest > > /bin/sh ../libtool --mode=install install -c -s -o > root -g > > wheel -m 555 mysqlbinlog /usr/local/bin/mysqlbinlog > > install -c -o root -g wheel -m 555 -s .libs/mysqlbinlog > > /usr/local/bin/mysqlbinlog > > Making install in tests > > Making install in man > > make install-man1 > > /bin/sh ../mkinstalldirs /usr/local/man/man1 > > install -c -o root -g wheel -m 444 ./mysql.1 > > /usr/local/man/man1/mysql.1 > > install -c -o root -g wheel -m 444 ./isamchk.1 > > /usr/local/man/man1/isamchk.1 > > install -c -o root -g wheel -m 444 ./isamlog.1 > > /usr/local/man/man1/isamlog.1 > > install -c -o root -g wheel -m 444 ./mysql_zap.1 > > /usr/local/man/man1/mysql_zap.1 > > install -c -o root -g wheel -m 444 ./mysqlaccess.1 > > /usr/local/man/man1/mysqlaccess.1 > > install -c -o root -g wheel -m 444 ./mysqladmin.1 > > /usr/local/man/man1/mysqladmin.1 > > install -c -o root -g wheel -m 444 ./mysqld.1 > > /usr/local/man/man1/mysqld.1 > > install -c -o root -g wheel -m 444 ./mysqld_multi.1 > > /usr/local/man/man1/mysqld_multi.1 > > install -c -o root -g wheel -m 444 ./mysqldump.1 > > /usr/local/man/man1/mysqldump.1 > > install -c -o root -g wheel -m 444 ./mysqlshow.1 > > /usr/local/man/man1/mysqlshow.1 > > install -c -o root -g wheel -m 444 ./perror.1 > > /usr/local/man/man1/perror.1 > > install -c -o root -g wheel -m 444 ./replace.1 > > /usr/local/man/man1/replace.1 > > install -c -o root -g wheel -m 444 ./safe_mysqld.1 > > /usr/local/man/man1/safe_mysqld.1 > > ===> Generating temporary packing list > > ===> Compressing manual pages for > mysql-client-3.23.46 > > ===> Running ldconfig > > /sbin/ldconfig -m /usr/local/lib/mysql > > ldconfig: /usr/local/lib/mysql: ignoring group-writable > > directory > > ===> Registering installation for > mysql-client-3.23.46 > > ===> SECURITY NOTE: > > This port has installed the following startup > scripts > > which may cause > > network services to be started at boot time. > > /usr/local/etc/rc.d/00mysql-client.sh > > > > If there are vulnerabilities in these programs > there > > may be a security > > risk to the system. FreeBSD makes no guarantee > about > > the security of > > ports included in the Ports Collection. Please > type > > 'make deinstall' > > to deinstall the port if this is a concern. > > > > For more information, and contact details about > the > > security > > status of this software, see the following > webpage: > > http://www.mysql.com/ > > ===> Returning to build of mysql-server-3.23.46 > > ===> mysql-server-3.23.46 depends on file: > > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Mysql.pm > - > > not found > > ===> Verifying install for > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Mysql.pm > > in /usr/ports/databases/p5-Mysql > > ===> Extracting for p5-Mysql-modules-1.2216 > > >> Checksum OK for Msql-Mysql-modules-1.2216.tar.gz. > > ===> p5-Mysql-modules-1.2216 depends on file: > > /usr/local/lib/perl5/site_perl/5.005/Data/ShowTable.pm > - > > found > > ===> p5-Mysql-modules-1.2216 depends on file: > > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm > - > > found > > ===> p5-Mysql-modules-1.2216 depends on shared > library: > > mysqlclient.10 - not found > > ===> Verifying install for mysqlclient.10 in > > /usr/ports/databases/mysql323-client > > ===> Returning to build of p5-Mysql-modules-1.2216 > > Error: shared library "mysqlclient.10" does not exist > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/p5-Mysql. > > *** Error code 1 > > > > Stop in /shared/ports/databases/mysql323-server. > > *** Error code 1 > > > > Stop in /shared/ports/databases/mysql323-server. > > *** Error code 1 > > > > Stop in /shared/ports/databases/mysql323-server. > > bash-2.03# > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > > > > > > > > > > > > > > > > > > > NDABARASA MIKE > > *** CCNA(Cisco Certified Network Associate) *** > > *** CCAI(Cisco Certified Academy Instructor) *** > > National University of Rwanda > > COMPUTING CENTRE > > E-mail: mike@nur.ac.rw > > > > Voice: > > office (+250)530666 > > mobile (+250)08425269 > > > > ============================================================ > > Felix qui potuit rerum cognoscere causas > > *** &&& $$$ &&& *** > > Heureux celui qui comprend l'ultime raison des choses > > ============================================================ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-database" in the body of the > message > > > NDABARASA MIKE *** CCNA(Cisco Certified Network Associate) *** *** CCAI(Cisco Certified Academy Instructor) *** National University of Rwanda COMPUTING CENTRE E-mail: mike@nur.ac.rw Voice: office (+250)530666 mobile (+250)08425269 ============================================================ Felix qui potuit rerum cognoscere causas *** &&& $$$ &&& *** Heureux celui qui comprend l'ultime raison des choses ============================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message