How can I check to see which libraries/software I am using
Hello,
I have been pushed into the deep end of the pool and its time to swim or start looking for a new job. I just started a job as a LINUX System Admin with ZERO experience in LINUX administration. Sounds good right? Well I am hitting the learning curve at about 200mph...... They handed me a project to setup MYSQL cluster in a test enviroment as my first little test. OK so I am dealing with dependencies which right now seem like Chinese crossword puzzles to me. Part of the documentation for this install says I need: wxGTK2 Gtk+ >= 2.0 glibc ≥ 2.3.3 with TLS support (Thread Local Storage) If gcc 4.x is installed on your system, you may also require libstdc compatibility libraries for gcc 3.2.x or gcc 3.3.x. See that if gcc 4.x is installed blah blah blah. Well how can I see which versions of particular software/librries I am using? Thanks for any help, P. |
Which distro (version of Linux are you using)? Most distros (certainly at enterprise level) have a package manager of some sort. Take a look in the package manager of your system, find the application you're looking for, and it should tell you what version you're running.
Otherwise, you can try running the software from the command line with --version at the end: Code:
gcc --version Code:
361 pwc101@desktop:/tmp>gcc --version |
Ok
Thanks for answering me so quickly. I am using Debian Etch server so I did what you said and voila:
Code:
bubba:/home/pete/Desktop# gcc --version So it looks like I need to install libstdc compatibility libraries for gcc 3.2.x or gcc 3.3.x. But then I try and check for them and.... BOOM .....it blows up Code:
bubba:/home/pete/Desktop# libstdc --version Thanks for helping |
That's where you can use the package manager - it'll tell you which libraries are installed (these packages are usually called lib-something).
Incidentally, if you're using a Debian system, you probably don't want to install packages manually (like I think you're doing at the moment?). If you're using .tar.gz or .tar.bz2 files, they're the source files, and need to be compiled. This can be a pain (although often it's perfectly easy). Debian has overcome the source-compile method by providing repositories of precompiled binaries accessible through their package manager (apt). This will install the program you want to install (mysql?) and any dependencies it requires. I quickly googled "debian etch install mysql", and found this link: http://www.howtoforge.com/zabbix_net...ng_debian_etch, and it states: Quote:
Hope this helps. |
Hey Thanks a lot. LINUX may be a little tough in the beginning but user support is great!!
I used this How To and got everything working in about 30 minutes: http://www.howtoforge.com/loadbalanc...cluster_debian But if you look to see Falko used an older version of MYSQL-max now called MAXDB. In fact he used version 5.0 and the latest is 7.6. So if we are going to put this into production I need to get it working on 7.6 for which Debian has no packages yet. I am stuck in doing this the hardway and when its your first real project.....its real hard. Thanks again |
There is a 7.6 Debian package, but it's "experimental", so I'm not sure how safe it is. Perhaps it will provide you with the necessary dependencies as more stable packages, after which you can install the actual MAXDB package from source with relative ease? The link for the debian experimental package is: http://packages.debian.org/experimen...-server-7.6.00
Good luck! |
Thank you. I will report back to document my findings.
Pete |
All times are GMT -5. The time now is 04:52 AM. |