Date: Fri, 15 Mar 2002 12:16:15 -0600 (CST) From: "Scott T. Hildreth" <shildreth@emsphone.com> To: mike ndabarasa <freebsd@nur.ac.rw> Cc: freebsd-database@FreeBSD.ORG Subject: RE: Error: shared library "mysqlclient.10" does not exist Message-ID: <XFMail.020315121615.shildreth@emsphone.com> In-Reply-To: <web-2899685@pumba.nur.ac.rw>
next in thread | previous in thread | raw e-mail | index | archive | help
If you run a 'ldconfig -r', you should see
.
.
311:-lmysqlclient.6 => /usr/local/lib/mysql/libmysqlclient.so.6
312:-lmysqlclient.10 => /usr/local/lib/mysql/libmysqlclient.so.10
ldconfig will not see the library path until a reboot, or manually putting
it in with,
'ldconfig -m /usr/local/lib/mysql'
On 15-Mar-02 mike ndabarasa wrote:
>
>
> 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
----------------------------------
E-Mail: Scott T. Hildreth <shildreth@emsphone.com>
Date: 15-Mar-02
Time: 12:05:49
----------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020315121615.shildreth>
