MySQL (prolly problems with openSSL?)
Quote:
The above output is without the --with-openssl compile-option. If I configure it with the --with-openssl option, it will give me less errors, but the 5 last lines are the same. I tried to add this to my makefile: {LIBS} = {LIBS} -ldl I'm pretty new to this kind of problems. C-compilers are installed and I'm trying to install MySQL 5.0.45 on a Debian 4.0R0 system. I hope someone know what I should do, Wim Mariën |
apt-get install mysql-client
|
Ok, that's possible. I'll try.
I only installed the client libraries... (libmysqlclient5, ...) //edit: the above output was without the --with-openssl option. This one is after I installed mysql-client, and I added --with-openssl to my configuration line: Quote:
|
If you want to see what is available;
apt-get update apt-cache search mysql if it prints out too much info apt-cache search mysql | less if it says less not found apt-get install less |
I know that commands, but I want to compile it by myself (I should have MySQL 4 and MySQL 5, it's for a testing box for my opensource game control panel)
|
Quote:
Another problem might be that the OpenSSL libraries are in "/usr/local/lib" instead of "/usr/lib". If so, you need to specify the extra directory when you run configure, as in "LOPTS=-L/usr/local/lib ./configure" In either case, the output of "configure", which should be in "config.log", will help us to better diagnose the problem. |
The package libssl-dev wasn't installed, so I installed it, however, I still get the make-error...
This is my config.log: http://s3.lottery-info.eu/config.log There are no errors in the output of the configure command. I also tried to add the LOPTS=-L/path/to/openssl/lib, but this wasn't working for me... Thanks alot, Wim Mariën |
Quote:
Quote:
|
Quote:
/usr/lib/i486-linux-gnu is an empty directory asswell... apt-get: libssl-dev is already the newest version. libssl0.9.8 is already the newest version. openssl is already the newest version. I will try to download openssl from their website and copy the libraries to /lib/i486-linux-gnu. Or do you have another suggestion? Wim Mariën //edit: done that, didn't work out! Last lines of my make command: Quote:
//edit2: It failed again. I'll try to reinstall the mysql-client-files, maybe some files where corrupt... (cause libmysqlclient.so will ALWAYS give an error!) |
Quote:
Quote:
Quote:
it fails. This command would succeed if it had "-ldl" in it, but you do not want to hack around to get that working. The best solution is to run "make distclean" and re-run "configure". |
it failed again :(
Quote:
Maybe I should search in it with dreamweaver (or another editor with a good search function), since it's only 30KiB? Or am I wrong? |
Quote:
|
huh? I don't know why I was telliing you it wasn't working.... It compiled indeed.... Prolly due my exams that I was confused or so, no Idea.
If you ever need a database David, just give me a call :-) Thanks for your help, you solved my problem :-) |
Quote:
|
All times are GMT -5. The time now is 02:32 AM. |