MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old July 6th, 2000, 03:49 PM
Neelesh Neelesh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 Neelesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I just installed MYSQL 3.22.27 binary distribution on FREEBSD3.4 and when i give the command "bin/safe_mysqld &" it's saying that "mysqld daemon ended". And when i wanted to check whether the server is working by giving the command "bin/mysqladmin version" it's giving the error message "/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.6" not found". I checked my directories for the file "libmysqlclient.so.6" and it's located in usr/mysql/lib. I guess this some problem with linking. Can somebody help me!!

Regards,

Neel

Reply With Quote
  #2  
Old July 6th, 2000, 04:23 PM
JayTaph JayTaph is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 2 JayTaph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to JayTaph
Have you inserted the line "/usr/mysql/lib" into your ld.so.conf and executed ldconfig?


Reply With Quote
  #3  
Old July 6th, 2000, 04:34 PM
Neelesh Neelesh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 Neelesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello JayTaph,

Thanks for the reply. I believe "ld.so.conf" is available in the directory "etc" on linux systems. But i didn't find that file on my system(freeBSD 3.4). I have been trying very hard to locate that file.

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by JayTaph:
Have you inserted the line "/usr/mysql/lib" into your ld.so.conf and executed ldconfig?

[/quote]


Reply With Quote
  #4  
Old July 6th, 2000, 04:43 PM
JayTaph JayTaph is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 2 JayTaph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to JayTaph
Haven't got any experience with bsd-systems.. but looking on the intell-storage-system (don't laugh, i didn't buy it URL), it's located in /etc/rc.conf which has got a line named LDCONFIG_PATHS.. maybe add it on this line and run ldconfig.. That will probably solve your problem

Reply With Quote
  #5  
Old August 4th, 2000, 03:09 PM
mandy mandy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 16 mandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 22 sec
Reputation Power: 0
I am having EXACTLY the same problem, only on FreeBSD 3.2 with a binary.

Please post whether this worked or if you had to do some other tweaking?

Reply With Quote
  #6  
Old August 4th, 2000, 03:26 PM
Neelesh Neelesh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 Neelesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

The thing got fixed when i give the command
setenv LIBRARY_PATH = path/where/file/exists..
But this i had to do whenever i open new session, so later i copied that file into include directory into which it searches by default. With this the problem was fixed forever. If you still have the problem, i'll give you more detailed reply.

Neel

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mandy:
I am having EXACTLY the same problem, only on FreeBSD 3.2 with a binary.

Please post whether this worked or if you had to do some other tweaking?
[/quote]


Reply With Quote
  #7  
Old August 4th, 2000, 06:01 PM
mandy mandy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 16 mandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 22 sec
Reputation Power: 0
Well, no luck yet. I gather I'm using a different shell than you: mine is bash, so I tried setting the environment variable LIBRARY_PATH using:
LIBRARY_PATH=/path/to/file
then export LIBRARY_PATH
When I type "set" I see the change is in effect, but when I go back to try and start mysql I get the same error:

Starting mysqld daemon with databases from/usr/local/mysql/data
mysqld daemon ended

and then when I check the server with:
bin/mysqladmin version

I get:
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.6" not found

so, any ideas?


Reply With Quote
  #8  
Old August 4th, 2000, 06:05 PM
Neelesh Neelesh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 Neelesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Did you use "SET" to set the path??
Use SETENV instead, this will work


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mandy:
Well, no luck yet. I gather I'm using a different shell than you: mine is bash, so I tried setting the environment variable LIBRARY_PATH using:
LIBRARY_PATH=/path/to/file
then export LIBRARY_PATH
When I type "set" I see the change is in effect, but when I go back to try and start mysql I get the same error:

Starting mysqld daemon with databases from/usr/local/mysql/data
mysqld daemon ended

and then when I check the server with:
bin/mysqladmin version

I get:
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.6" not found

so, any ideas?

[/quote]


Reply With Quote
  #9  
Old August 7th, 2000, 10:23 AM
mandy mandy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 16 mandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 22 sec
Reputation Power: 0
setenv gives me "command not found"
that's why I said I think my shell is different from yours. I use bash. You must be using csh.
set is the command to see the variable settings for your shell environment under bash.

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Neelesh:
Did you use "SET" to set the path??
Use SETENV instead, this will work


[/quote]


Reply With Quote
  #10  
Old August 8th, 2000, 11:37 AM
Neelesh Neelesh is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 5 Neelesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Did you try copying the file libmysqlclient.so.6 into the default include library of your system?

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by mandy:
setenv gives me "command not found"
that's why I said I think my shell is different from yours. I use bash. You must be using csh.
set is the command to see the variable settings for your shell environment under bash.

[/quote]


Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Shared object "libmysqlclient.so.6" not found - URGENT!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway