Re: mysql can't finf shared library

2003-11-17 Thread Ryan Merrick
Gary Kline wrote:
On Sun, Nov 16, 2003 at 05:31:08PM -0800, Ryan Merrick wrote:

Gary Kline wrote:

After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?

	thanks, people,

	gary


Hello,

I have been seeing this too. I originaly fixed it with
#mdconfig -m /usr/local/lib/mysql
The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths 
but rc never calls it. The default paths for ld-elf.so.conf are defined 
in #/etc/defaults/rc.conf. I just added mysql to the list.

There is a 2 year old pr on the man page problem...



	Hm, I tried this, in /etc/rc.conf.  I re-exec the script, 
	but it didn't seem to work.   Comments?  Care to show the
	mysql line you added?

	gary




agrep ldconfig /etc/defaults/rc.conf

ldconfig_paths=/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
/usr/local/lib/mysql

I use #kill 1  to single user mode and let init handle the reload.

-Ryan Merrick

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-17 Thread Uwe Doering
Gary Kline wrote:
After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?
Well, at least up to MySQL 3.23.58 a startup script 
'000.mysql-client.sh' gets installed under '/usr/local/etc/rc.d' which 
runs this command at boot time:

  /sbin/ldconfig -m /usr/local/lib/mysql

This is supposed to ensure that the system automatically knows where to 
look for the MySQL client libs.  It worked for me out of the box.  Did 
you delete this script, or is there any other reason why scripts under 
'/usr/local/etc/rc.d' don't get executed on your system?

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-17 Thread Gary Kline
On Mon, Nov 17, 2003 at 11:28:42AM +0100, Uwe Doering wrote:
 Gary Kline wrote:
  After upgrading to the latest mysql323-client and reinstalling
  my root password, here is what happens:
 
 mysqladmin -u root password 'fooobar1234'
 /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
 [EMAIL PROTECTED]:/etc# locate libmysql
 /usr/local/lib/mysql/libmysqlclient.a
 /usr/local/lib/mysql/libmysqlclient.so
 /usr/local/lib/mysql/libmysqlclient.so.10
 
  Anybody know what's going on here?  Is this a known bug?
 
 Well, at least up to MySQL 3.23.58 a startup script 
 '000.mysql-client.sh' gets installed under '/usr/local/etc/rc.d' which 
 runs this command at boot time:
 
   /sbin/ldconfig -m /usr/local/lib/mysql
 
 This is supposed to ensure that the system automatically knows where to 
 look for the MySQL client libs.  It worked for me out of the box.  Did 
 you delete this script, or is there any other reason why scripts under 
 '/usr/local/etc/rc.d' don't get executed on your system?
 

The problem was that I was missing part of mysql.  Initially 
I thought v323 was still the default (( for phpBB )); when I
looked at the dependencies I found that v40 is now required.
--Long story short, after rbuilding/reinstalling, mysql is
happy.

(now to upgrade to phpbb-2.0.6..)

thanks,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-16 Thread Scott W
Gary Kline wrote:

After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?

	thanks, people,

	gary

 

Try the following:
# export LD_LIBRARYPATH=$LD_LIBRARY_PATH:/usr/local/lib/mysql and then 
try it again.

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-16 Thread Mark
- Original Message - 
From: Gary Kline [EMAIL PROTECTED]
To: FreeBSD Mailing List [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 1:07 AM
Subject: mysql can't finf shared library

 After upgrading to the latest mysql323-client and reinstalling
 my root password, here is what happens:

 mysqladmin -u root password 'fooobar1234'
 /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
 [EMAIL PROTECTED]:/etc# locate libmysql
 /usr/local/lib/mysql/libmysqlclient.a
 /usr/local/lib/mysql/libmysqlclient.so
 /usr/local/lib/mysql/libmysqlclient.so.10

 Anybody know what's going on here?  Is this a known bug?

I am sure it is not the official method, but when I had this happening too,
I made the following symlink:

/usr/local/lib/libmysqlclient.so.10 - mysql/libmysqlclient.so.10

And that solved it for me.

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-16 Thread Ryan Merrick
Gary Kline wrote:
After upgrading to the latest mysql323-client and reinstalling
my root password, here is what happens:
mysqladmin -u root password 'fooobar1234'
/usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
[EMAIL PROTECTED]:/etc# locate libmysql
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
	Anybody know what's going on here?  Is this a known bug?

	thanks, people,

	gary


Hello,

I have been seeing this too. I originaly fixed it with
#mdconfig -m /usr/local/lib/mysql
The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths 
but rc never calls it. The default paths for ld-elf.so.conf are defined 
in #/etc/defaults/rc.conf. I just added mysql to the list.

There is a 2 year old pr on the man page problem...

-Ryan Merrick

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-16 Thread Gary Kline
On Mon, Nov 17, 2003 at 12:21:07AM +, Mark wrote:
 - Original Message - 
 From: Gary Kline [EMAIL PROTECTED]
 To: FreeBSD Mailing List [EMAIL PROTECTED]
 Sent: Monday, November 17, 2003 1:07 AM
 Subject: mysql can't finf shared library
 
  After upgrading to the latest mysql323-client and reinstalling
  my root password, here is what happens:
 
  mysqladmin -u root password 'fooobar1234'
  /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
  [EMAIL PROTECTED]:/etc# locate libmysql
  /usr/local/lib/mysql/libmysqlclient.a
  /usr/local/lib/mysql/libmysqlclient.so
  /usr/local/lib/mysql/libmysqlclient.so.10
 
  Anybody know what's going on here?  Is this a known bug?
 
 I am sure it is not the official method, but when I had this happening too,
 I made the following symlink:
 
 /usr/local/lib/libmysqlclient.so.10 - mysql/libmysqlclient.so.10
 

Yep; worked for me too; then just to make sure the libraries
really were loaded, this:

tao# /sbin/ldconfig -m /usr/local/lib/mysql

thanks, gentlemen.

gary
 
-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql can't finf shared library

2003-11-16 Thread Gary Kline
On Sun, Nov 16, 2003 at 05:31:08PM -0800, Ryan Merrick wrote:
 Gary Kline wrote:
  After upgrading to the latest mysql323-client and reinstalling
  my root password, here is what happens:
 
 
 mysqladmin -u root password 'fooobar1234'
 /usr/libexec/ld-elf.so.1: Shared object libmysqlclient.so.10 not found
 [EMAIL PROTECTED]:/etc# locate libmysql
 /usr/local/lib/mysql/libmysqlclient.a
 /usr/local/lib/mysql/libmysqlclient.so
 /usr/local/lib/mysql/libmysqlclient.so.10
 
  Anybody know what's going on here?  Is this a known bug?
 
  thanks, people,
 
  gary
 
 
 Hello,
 
 I have been seeing this too. I originaly fixed it with
 #mdconfig -m /usr/local/lib/mysql
 
 The LD config man page refeneced #/etc/ld-elf.so.conf for extra paths 
 but rc never calls it. The default paths for ld-elf.so.conf are defined 
 in #/etc/defaults/rc.conf. I just added mysql to the list.
 
 There is a 2 year old pr on the man page problem...
 


Hm, I tried this, in /etc/rc.conf.  I re-exec the script, 
but it didn't seem to work.   Comments?  Care to show the
mysql line you added?

gary


 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]