MySql problem

MySql problem

Post by Cheong--T » Mon, 19 Nov 2001 15:23:25



I try to install mysql on both solaris 7 and solaris 8 Sparc and
install.
But i am having problem on both methods:

1.-- compile the source
I download the soruce code: mysql-3.23.43.tar.gz
and compile it. the following are the message:

checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
checking for bison... bison -y
checking for pdftex... no
checking return type of sprintf... configure: error: can not run test
program while cross compiling

so if i type in MAKE
it will give:
Fatal error: No arguments to build

2. -- binary package
I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
and unzipped it.

the following is the error message:

# mysql
ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
directory
Killed

can anyone give me a hang?

thanks

TS

 
 
 

MySql problem

Post by Erik Max Franci » Mon, 19 Nov 2001 16:46:52



> # mysql
> ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> or directory
> Killed

Find what directory that library is in an add it to your
LD_LIBRARY_PATH.

--

 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.

 
 
 

MySql problem

Post by Philip Bro » Tue, 20 Nov 2001 05:45:58




>> # mysql
>> ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
>> or directory
>> Killed

>Find what directory that library is in an add it to your
>LD_LIBRARY_PATH.

better solution, since he has the source:
export LD_RUN_PATH
LD_RUN_PATH=/everything/you/need/here

for example,

LD_RUN_PATH=/usr/local/lib:/opt/sfw/lib:/usr/local/mysql/lib

Then run the compile, and if it doesnt use -R in the makefiles, it will
automatically have the equivalent -R option added to the link stage.

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

MySql problem

Post by Magnu » Tue, 20 Nov 2001 07:01:58



> I try to install mysql on both solaris 7 and solaris 8 Sparc and
> install.
> But i am having problem on both methods:

> 1.-- compile the source
> I download the soruce code: mysql-3.23.43.tar.gz
> and compile it. the following are the message:

> checking for objdir... .libs
> creating libtool
> updating cache ./config.cache
> loading cache ./config.cache
> checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> checking for bison... bison -y
> checking for pdftex... no
> checking return type of sprintf... configure: error: can not run test
> program while cross compiling

> so if i type in MAKE
> it will give:
> Fatal error: No arguments to build

> 2. -- binary package
> I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> and unzipped it.

> the following is the error message:

> # mysql
> ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> directory
> Killed

> can anyone give me a hang?

> thanks

> TS

Hi

I got the "cross compiling" error message when I was trying to compile
MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
which was then the latest, and built it and installed it as a native
compiler. Using that gcc-3.0.1, I didn't have any problems building
MySQL anymore.
Since then gcc-3.0.2 has been released. You may want to try that version.

Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:10:27


I tried both method.
I install the gcc3-0-1,
it can't compile Mysql,
when I MAKE it, it tells me that can't creat excutable files.

I tried to update the LD_LIBRARY_PATH
and doesn't work too.
what;s the difference of LD_LIBRARY_PATH and LD_RUN_PATH??

can anyone give me a hand?

thanks
TS



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:45:28


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:47:16


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:18:30




> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --

>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.


> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:19:25


Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Laws are silent in time of war.
> \__/ Cicero
>     Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
>  An Esperanto reference for English speakers.
Erik Max Francis wrote:

> Cheong--TS wrote:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file
> > or directory
> > Killed

> Find what directory that library is in an add it to your
> LD_LIBRARY_PATH.

> --
>  Erik Max Francis / m...@alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900

...

read more »

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:33:41


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:37:02


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:39:48


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

MySql problem

Post by Cheong--T » Tue, 20 Nov 2001 14:35:30


I tried both and doesn't work.

I installed gcc3-0-1
and it says can't create executalbe files

I edit the LD_LIBRARY_PATH
and doesn't work.
what;s the difference of LD_LIBRARY_PATH or
LD_RUN_PATH?

can anyone give me a hand?

thanks



> > I try to install mysql on both solaris 7 and solaris 8 Sparc and
> > install.
> > But i am having problem on both methods:

> > 1.-- compile the source
> > I download the soruce code: mysql-3.23.43.tar.gz
> > and compile it. the following are the message:

> > checking for objdir... .libs
> > creating libtool
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
> > checking for bison... bison -y
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling

> > so if i type in MAKE
> > it will give:
> > Fatal error: No arguments to build

> > 2. -- binary package
> > I download the package: mysql-3.22.25-solaris7-x86.pkg.gz
> > and unzipped it.

> > the following is the error message:

> > # mysql
> > ld.so.1: mysql: fatal: libmysqlclient.so.6: open failed: No such file or
> > directory
> > Killed

> > can anyone give me a hang?

> > thanks

> > TS

> Hi

> I got the "cross compiling" error message when I was trying to compile
> MySQL on x86 Solaris 8. The gcc-2.95 that is on the Solaris freeware CD
> seems to have been built as a cross compiler. I downloaded gcc-3.0.1,
> which was then the latest, and built it and installed it as a native
> compiler. Using that gcc-3.0.1, I didn't have any problems building
> MySQL anymore.
> Since then gcc-3.0.2 has been released. You may want to try that version.

> Magnus

 
 
 

1. PHP + MySQL problem

I just installed MySQL 3.22 and PHP 3.05 on a Redhat 5.2 system running
Apache 1.3. Both PHP and MySQL are working (I can create and update
databases from the mysql prompt, and web pages with simple PHP scripts
such as echo etc. are served correctly). Problem is, PHP does not seem
to be able to access MySQL - any mysql-related PHP function gets in
result an error message ("function unsupported or undefined"). I read
the FAQs, but was not able to solve the problem.

Do I need to compile PHP in order to enable its MySQL support? Does it
mean that I also have to compile Apache? I haven't done that, I just
installed the binaries from the rpm packages. Or could the problem be
due to errors in the configuration scripts? When installing PHP, rpm
didn't find the correct location of Apache so I had to tweak some
parameters by hand. Any help or info about similar experience will be
greatly appreciated.

Andrian

2. Can you use -bash in /etc/profile?

3. mysql problem

4. Title bar flicker fix for XTerm [setting title only on "cd"]

5. MySQL problems

6. Help needed: /etc/dialups and /etc/d_passwd

7. MySQL Problem

8. Linux setup program for the ZOOM ComStar modem ?

9. MySQL problem

10. Apache/PHP/MySQL Problem

11. mySQL problems

12. apache+php3+mysql-problem

13. mysql problem