Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 6:51 PM, Jeff Tipton wrote: On 03/12/2013 00:36, Greg Larkin wrote: On 3/11/13 6:21 PM, Jeff Tipton wrote: On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff Tipton wrote: On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found === Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I
Re: Error: shared library mysqlclient.18 does not exist
On 03/12/2013 17:03, Greg Larkin wrote: Hi Jeff, Good news and thanks for the update. The maia Makefile seems to imply that RAR support can be provided either by archivers/rar or archivers/unrar, and if so, those options should likely be exclusive. I found some problems related to detecting the MySQL dependencies in general, too. I'll create a PR to fix these issues. In the mean time, can you test whether maia does what you want with just the UNRAR option enabled? Thank you, Greg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m 5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Greg, Thank you very much, your really helped me. Ok, I think I will test Maia with RARed eicar; only it will still take some time until I finish the whole mailsystem. I'll report back as soon as I get to the point of testing. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Error: shared library mysqlclient.18 does not exist
Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
On 03/11/2013 20:00, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL A2sAn2+xMhPf4x5bnqt02b+hds1inMUj =nI5p -END PGP SIGNATURE- Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL A2sAn2+xMhPf4x5bnqt02b+hds1inMUj =nI5p -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk =drjz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
On 03/11/2013 20:31, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk =drjz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
On 11/03/2013 16:59, Jeff Tipton wrote: I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: One other thing to try: examine the output of 'ldconfig -r' -- you should see -libmysqlclient.18 somewhere in the listing. The default location the ports will install that library is /usr/local/lib/mysql/libmysqlclient.so.18 which, you'll notice is in a subdirectory of /usr/local/lib -- not on the default shared library search path. If it's been correctly installed however you should see /usr/local/lib/mysql amongst the search directories around the 2nd line of the ldconfig -r output. If not, you can run this: ldconfig -m /usr/local/lib/mysql You only need to do that once, and the system should remember it. Installing from the port or packages (old or pkgng style) should do that automatically. How did you install mysql-client? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER =3LRY -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
On 03/11/2013 21:00, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER =3LRY -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 3:34 PM, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30 Ok, here's a last ditch attempt to see exactly why the code in bsd.port.mk is failing to find that shlib on your
Re: Error: shared library mysqlclient.18 does not exist
On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8 +8sAn0oZBRgUlryNk21zzYZ0KMJYsGER =3LRY -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 5:42 PM, Jeff Tipton wrote: On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30 ___ freebsd-questions@freebsd.org
Re: Error: shared library mysqlclient.18 does not exist
On 03/12/2013 00:07, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 5:42 PM, Jeff Tipton wrote: On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail
Re: Error: shared library mysqlclient.18 does not exist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 6:21 PM, Jeff Tipton wrote: On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff Tipton wrote: On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server
Re: Error: shared library mysqlclient.18 does not exist
On 03/12/2013 00:36, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/11/13 6:21 PM, Jeff Tipton wrote: On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff Tipton wrote: On 03/11/2013 21:34, Jeff Tipton wrote: On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff Tipton wrote: On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff Tipton wrote: On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff Tipton wrote: Hi, I'm trying to set up security/maia, and this is the error message I get: Error: shared library mysqlclient.18 does not exist Of course, the library does exist :( # ls /usr/local/lib/mysql/ libmysqlclient.a libmysqlclient_r.a libmysqld.a libmysqlclient.so libmysqlclient_r.so libmysqlservices.a libmysqlclient.so.18 libmysqlclient_r.so.18 plugin I googled about this, and I found 3 things to try but none of that was helpful here: 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 /usr/local/lib/libmysqlclient.so.18 2. Check the root's umask and the directory permissions if they are correct, and they are: # umask 22 #ll /usr/local/lib |grep mysql lrwxr-xr-x 1 root wheel 41 Mar 11 16:25 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x 3 root wheel 512 Mar 11 16:22 mysql/ # ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Mar 11 16:22 libmysqlclient.so.18* lrwxr-xr-x 1 root wheel 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x 1 root wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r-- 1 root wheel 20019340 Mar 7 15:08 libmysqld.a -rw-r--r-- 1 root wheel 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x 2 root wheel 512 Mar 8 19:01 plugin/ 3. Update the ports tree. Ports tree is up to date. Could someone, please, suggest what I could try to solve this? Thanks, Jeff Hi Jeff, At what point do you receive the error message? Is it when you attempt to run the executable built by the port? If so, please run the ldd command against the executable and post the output back here. Thank you, Greg -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me Thank you, Greg, for the reply. I get the error message while compiling security/maia port. mysql client itself is working ok, I can connect to my database server. ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000) Hi Jeff, Can you post the relevant bits of build output where the error message shows up? If it happens during the configure phase of the port build, you'll also want to post the end of the config.log file found in the port work directory. Thank you, Greg I tried to run make several times, and previously some build depends were compiled. But now the work directory doesn't even get created, and the process stops immediately: /usr/ports/security/maia# make install clean === maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client === Returning to build of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not exist *** [lib-depends] Error code 1 Stop in /basejail/usr/ports/security/maia. /usr/ports/security/maia# Ok, it looks like something is messed up with your ldconfig search path. To confirm that, please run this command and post results back here: ldconfig -r| grep mysql Thank you, Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org # ldconfig -r| grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth 218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18 I installed both mysql client and server from ports. The versions are: mysql-client-5.5.30 mysql-server-5.5.30 ___ freebsd-questions@freebsd.org mailing list http