Am Di, den 07.06.2005 schrieb Jon Ingason um 21:49:
I am traying to install eGott on FC 2. I have following:
MySQL-shared-4.1.10-0 MySQL-client-4.1.10-0 MySQL-server-4.1.10-0 MySQL-shared-compat-4.1.10-0 MySQL-devel-4.1.10-0 httpd-2.0.51-2.9 id3lib-3.8.3-1
When I try to install egott-0.1-1.i386.rpm I get unresolved dependancy: libid3-3.8.so.0 needs by egott-0.1-1 libstdc++-libc6.2-2.so.3 needs by egott-0.1-1
This seems odd, so I try to compile eGott from the source:
Not odd, you just have to understand how RPM works. You have id3lib installed but obviously it does not provide the needed libid3-3.8.so.0, but certainly a different version. You can check yourself with "rpm -ql id3lib". Second, you don't have compat-libstdc++ installed. Learn to use the tools on board: yum provides libstdc++-libc6.2-2.so.3
OK my mistake. Installed compat-libstdc++. But how can I solve the problem with libid3-3.8.so.0? Should I install id3lib-3.8.0? I tryed to link libid3-3.8.so.0 to libid3-3.8.so.3.0.0, but that dos not help.
[jonsi@hobbe egott-0.1]$ ./configure --with-mysql=/usr --prefix=/usr checking for a BSD-compatible install... /usr/bin/install -c ... ... ... checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking for mysql_affected_rows in -lmysqlclient... no configure: error: "mysqlclient library is required"
This seems also odd or is it?
No, not at all. You have to tell configure where it can find libmysqlclient.so.
--Jon
Alexander